Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppStart ¶
type AppStart struct { CommonCommand Application *entities.Application User *entities.User // contains filtered or unexported fields }
AppStart - starts app
func NewAppStartCommand ¶
NewAppStartCommand creates app start command
type AppStop ¶
type AppStop struct { CommonCommand Application *entities.Application User *entities.User // contains filtered or unexported fields }
AppStop - stops app
func NewAppStopCommand ¶
NewAppStopCommand creates app start command
type CommonCommand ¶
type CommonCommand struct {
// contains filtered or unexported fields
}
CommonCommand common fields
type FrontendUpdate ¶
type FrontendUpdate struct {
CommonCommand
}
FrontendUpdate command to update frontends
type NodeList ¶
type NodeList struct { CommonCommand OnlyAvailable bool // contains filtered or unexported fields }
NodeList returns node list
func NewNodeListCommand ¶
NewNodeListCommand create command
type ServiceDelete ¶
type ServiceDelete struct { CommonCommand User *entities.User ServiceID string // contains filtered or unexported fields }
ServiceDelete deleted service
func NewServiceDeleteCommand ¶
func NewServiceDeleteCommand(command ServiceDelete) (ServiceDelete, chan entities.Service, chan error)
NewServiceDeleteCommand create command
type ServiceInspect ¶
type ServiceInspect struct { CommonCommand User *entities.User ServiceID string // contains filtered or unexported fields }
ServiceInspect returns services list
func NewServiceInspectCommand ¶
func NewServiceInspectCommand(command ServiceInspect) (ServiceInspect, chan entities.Service, chan error)
NewServiceInspectCommand inspects service
type ServiceList ¶
type ServiceList struct { CommonCommand User *entities.User ApplicationID string WithStatuses bool WithVolumeSizes bool // contains filtered or unexported fields }
ServiceList returns services list
func NewServiceListCommand ¶
func NewServiceListCommand(command ServiceList) (ServiceList, chan []entities.Service, chan error)
NewServiceListCommand create command
type ServiceLogs ¶
type ServiceLogs struct { CommonCommand User *entities.User ServiceID string // contains filtered or unexported fields }
ServiceLogs returns service logs
func NewServiceLogsCommand ¶
func NewServiceLogsCommand(command ServiceLogs) (ServiceLogs, chan []string, chan error)
NewServiceLogsCommand created service start command
type ServiceStart ¶
type ServiceStart struct { CommonCommand User *entities.User Service entities.Service // contains filtered or unexported fields }
ServiceStart starts service
func NewServiceStartCommand ¶
func NewServiceStartCommand(command ServiceStart) (ServiceStart, chan entities.Job, chan error)
NewServiceStartCommand created service start command
type ServiceStop ¶
type ServiceStop struct { CommonCommand User *entities.User Service entities.Service // contains filtered or unexported fields }
ServiceStop stops service
func NewServiceStopCommand ¶
func NewServiceStopCommand(command ServiceStop) (ServiceStop, chan entities.Job, chan error)
NewServiceStopCommand created service start command