Documentation
¶
Index ¶
- type Executor
- func (_m *Executor) CreateWorkflow(filePath string, name string) (string, error)
- func (_m *Executor) DeleteWorkflow(id string) error
- func (_m *Executor) Logs() (io.ReadCloser, error)
- func (_m *Executor) ServiceByID(id string) (*coreapi.Service, error)
- func (_m *Executor) ServiceDelete(deleteData bool, ids ...string) error
- func (_m *Executor) ServiceDeleteAll(deleteData bool) error
- func (_m *Executor) ServiceDeploy(path string, statuses chan provider.DeployStatus) (string, error, error)
- func (_m *Executor) ServiceExecuteTask(id string, taskKey string, inputData string, tags []string) error
- func (_m *Executor) ServiceGenerateDocs(path string) error
- func (_m *Executor) ServiceInitDownloadTemplate(t *servicetemplate.Template, dst string) error
- func (_m *Executor) ServiceInitTemplateList() ([]*servicetemplate.Template, error)
- func (_m *Executor) ServiceList() ([]*coreapi.Service, error)
- func (_m *Executor) ServiceListenEvents(id string, eventFilter string) (chan *coreapi.EventData, chan error, error)
- func (_m *Executor) ServiceListenResults(id string, taskFilter string, outputFilter string, tagFilters []string) (chan *coreapi.ResultData, chan error, error)
- func (_m *Executor) ServiceLogs(id string, dependencies ...string) ([]*provider.Log, func(), error)
- func (_m *Executor) ServiceStart(id string) error
- func (_m *Executor) ServiceStop(id string) error
- func (_m *Executor) ServiceValidate(path string) (string, error)
- func (_m *Executor) Start() error
- func (_m *Executor) Status() (container.StatusType, error)
- func (_m *Executor) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
Executor is an autogenerated mock type for the Executor type
func (*Executor) CreateWorkflow ¶ added in v0.5.0
CreateWorkflow provides a mock function with given fields: filePath, name
func (*Executor) DeleteWorkflow ¶ added in v0.5.0
DeleteWorkflow provides a mock function with given fields: id
func (*Executor) Logs ¶
func (_m *Executor) Logs() (io.ReadCloser, error)
Logs provides a mock function with given fields:
func (*Executor) ServiceByID ¶
ServiceByID provides a mock function with given fields: id
func (*Executor) ServiceDelete ¶
ServiceDelete provides a mock function with given fields: deleteData, ids
func (*Executor) ServiceDeleteAll ¶
ServiceDeleteAll provides a mock function with given fields: deleteData
func (*Executor) ServiceDeploy ¶
func (_m *Executor) ServiceDeploy(path string, statuses chan provider.DeployStatus) (string, error, error)
ServiceDeploy provides a mock function with given fields: path, statuses
func (*Executor) ServiceExecuteTask ¶
func (_m *Executor) ServiceExecuteTask(id string, taskKey string, inputData string, tags []string) error
ServiceExecuteTask provides a mock function with given fields: id, taskKey, inputData, tags
func (*Executor) ServiceGenerateDocs ¶
ServiceGenerateDocs provides a mock function with given fields: path
func (*Executor) ServiceInitDownloadTemplate ¶
func (_m *Executor) ServiceInitDownloadTemplate(t *servicetemplate.Template, dst string) error
ServiceInitDownloadTemplate provides a mock function with given fields: t, dst
func (*Executor) ServiceInitTemplateList ¶
func (_m *Executor) ServiceInitTemplateList() ([]*servicetemplate.Template, error)
ServiceInitTemplateList provides a mock function with given fields:
func (*Executor) ServiceList ¶
ServiceList provides a mock function with given fields:
func (*Executor) ServiceListenEvents ¶
func (_m *Executor) ServiceListenEvents(id string, eventFilter string) (chan *coreapi.EventData, chan error, error)
ServiceListenEvents provides a mock function with given fields: id, eventFilter
func (*Executor) ServiceListenResults ¶
func (_m *Executor) ServiceListenResults(id string, taskFilter string, outputFilter string, tagFilters []string) (chan *coreapi.ResultData, chan error, error)
ServiceListenResults provides a mock function with given fields: id, taskFilter, outputFilter, tagFilters
func (*Executor) ServiceLogs ¶
ServiceLogs provides a mock function with given fields: id, dependencies
func (*Executor) ServiceStart ¶
ServiceStart provides a mock function with given fields: id
func (*Executor) ServiceStop ¶
ServiceStop provides a mock function with given fields: id
func (*Executor) ServiceValidate ¶
ServiceValidate provides a mock function with given fields: path