mocks

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor struct {
	mock.Mock
}

Executor is an autogenerated mock type for the Executor type

func (*Executor) CreateWorkflow added in v0.5.0

func (_m *Executor) CreateWorkflow(filePath string, name string) (string, error)

CreateWorkflow provides a mock function with given fields: filePath, name

func (*Executor) DeleteWorkflow added in v0.5.0

func (_m *Executor) DeleteWorkflow(id string) error

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

func (_m *Executor) ServiceByID(id string) (*coreapi.Service, error)

ServiceByID provides a mock function with given fields: id

func (*Executor) ServiceDelete

func (_m *Executor) ServiceDelete(deleteData bool, ids ...string) error

ServiceDelete provides a mock function with given fields: deleteData, ids

func (*Executor) ServiceDeleteAll

func (_m *Executor) ServiceDeleteAll(deleteData bool) error

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

func (_m *Executor) ServiceGenerateDocs(path string) error

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

func (_m *Executor) ServiceList() ([]*coreapi.Service, error)

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

func (_m *Executor) ServiceLogs(id string, dependencies ...string) ([]*provider.Log, func(), error)

ServiceLogs provides a mock function with given fields: id, dependencies

func (*Executor) ServiceStart

func (_m *Executor) ServiceStart(id string) error

ServiceStart provides a mock function with given fields: id

func (*Executor) ServiceStop

func (_m *Executor) ServiceStop(id string) error

ServiceStop provides a mock function with given fields: id

func (*Executor) ServiceValidate

func (_m *Executor) ServiceValidate(path string) (string, error)

ServiceValidate provides a mock function with given fields: path

func (*Executor) Start

func (_m *Executor) Start() error

Start provides a mock function with given fields:

func (*Executor) Status

func (_m *Executor) Status() (container.StatusType, error)

Status provides a mock function with given fields:

func (*Executor) Stop

func (_m *Executor) Stop() error

Stop provides a mock function with given fields:

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL