github.com/greenboxal/deis@v1.12.1/deisctl/backend/backend.go (about) 1 package backend 2 3 import ( 4 "io" 5 "sync" 6 ) 7 8 // Backend interface is used to interact with the cluster control plane 9 type Backend interface { 10 Create([]string, *sync.WaitGroup, io.Writer, io.Writer) 11 Destroy([]string, *sync.WaitGroup, io.Writer, io.Writer) 12 Start([]string, *sync.WaitGroup, io.Writer, io.Writer) 13 Stop([]string, *sync.WaitGroup, io.Writer, io.Writer) 14 Scale(string, int, *sync.WaitGroup, io.Writer, io.Writer) 15 RollingRestart(string, *sync.WaitGroup, io.Writer, io.Writer) 16 SSH(string) error 17 SSHExec(string, string) error 18 Dock(string, []string) error 19 ListMachines() error 20 ListUnits() error 21 ListUnitFiles() error 22 Status(string) error 23 Journal(string) error 24 }