Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Executor ¶
type Executor interface {
RootExecutor
ServiceExecutor
WorkflowExecutor
}
Executor is an interface that keeps all commands interfaces.
type RootExecutor ¶
type RootExecutor interface {
Start() error
Stop() error
Status() (container.StatusType, error)
Logs() (io.ReadCloser, error)
}
RootExecutor is an interface that handles core commands.
type ServiceExecutor ¶
type ServiceExecutor interface {
ServiceByID(id string) (*coreapi.Service, error)
ServiceDeleteAll(deleteData bool) error
ServiceDelete(deleteData bool, ids ...string) error
ServiceDeploy(path string, statuses chan provider.DeployStatus) (id string, validationError, err error)
ServiceListenEvents(id, eventFilter string) (chan *coreapi.EventData, chan error, error)
ServiceListenResults(id, taskFilter, outputFilter string, tagFilters []string) (chan *coreapi.ResultData, chan error, error)
ServiceLogs(id string, dependencies ...string) (logs []*provider.Log, closer func(), err error)
ServiceExecuteTask(id, taskKey, inputData string, tags []string) error
ServiceStart(id string) error
ServiceStop(id string) error
ServiceValidate(path string) (string, error)
ServiceGenerateDocs(path string) error
ServiceList() ([]*coreapi.Service, error)
ServiceInitTemplateList() ([]*servicetemplate.Template, error)
ServiceInitDownloadTemplate(t *servicetemplate.Template, dst string) error
}
ServiceExecutor is an interface that handles services commands.
Source Files
¶
- commands.go
- custom_flags.go
- logs.go
- root.go
- service_delete.go
- service_deploy.go
- service_detail.go
- service_dev.go
- service_docs.go
- service_execute.go
- service_init.go
- service_list.go
- service_logs.go
- service_root.go
- service_start.go
- service_stop.go
- service_validate.go
- start.go
- status.go
- stop.go
- workflow_create.go
- workflow_delete.go
- workflow_root.go
Click to show internal directories.
Click to hide internal directories.