github.com/didip/deis@v1.4.1/deisctl/backend/backend.go (about)

     1  package backend
     2  
     3  import "sync"
     4  
     5  // Backend interface is used to interact with the cluster control plane
     6  type Backend interface {
     7  	Create([]string, *sync.WaitGroup, chan string, chan error)
     8  	Destroy([]string, *sync.WaitGroup, chan string, chan error)
     9  	Start([]string, *sync.WaitGroup, chan string, chan error)
    10  	Stop([]string, *sync.WaitGroup, chan string, chan error)
    11  	Scale(string, int, *sync.WaitGroup, chan string, chan error)
    12  	ListUnits() error
    13  	ListUnitFiles() error
    14  	Status(string) error
    15  	Journal(string) error
    16  }