Documentation ¶
Index ¶
- type Container
- func (_m *Container) Build(path string) (string, error)
- func (_m *Container) CreateNetwork(namespace string) (string, error)
- func (_m *Container) DeleteNetwork(namespace string) error
- func (_m *Container) DeleteVolume(name string) error
- func (_m *Container) FindContainer(namespace string) (types.ContainerJSON, error)
- func (_m *Container) FindNetwork(namespace string) (types.NetworkResource, error)
- func (_m *Container) FindService(namespace string) (swarm.Service, error)
- func (_m *Container) ListServices(labels ...string) ([]swarm.Service, error)
- func (_m *Container) ListTasks(namespace string) ([]swarm.Task, error)
- func (_m *Container) Namespace(namespace string) string
- func (_m *Container) SharedNetworkID() (string, error)
- func (_m *Container) StartService(options container.ServiceOptions) (string, error)
- func (_m *Container) Status(namespace string) (container.StatusType, error)
- func (_m *Container) StopService(namespace string) error
- func (_m *Container) TasksError(namespace string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
Container is an autogenerated mock type for the Container type
func (*Container) CreateNetwork ¶
CreateNetwork provides a mock function with given fields: namespace
func (*Container) DeleteNetwork ¶
DeleteNetwork provides a mock function with given fields: namespace
func (*Container) DeleteVolume ¶ added in v0.5.0
DeleteVolume provides a mock function with given fields: name
func (*Container) FindContainer ¶
func (_m *Container) FindContainer(namespace string) (types.ContainerJSON, error)
FindContainer provides a mock function with given fields: namespace
func (*Container) FindNetwork ¶
func (_m *Container) FindNetwork(namespace string) (types.NetworkResource, error)
FindNetwork provides a mock function with given fields: namespace
func (*Container) FindService ¶
FindService provides a mock function with given fields: namespace
func (*Container) ListServices ¶
ListServices provides a mock function with given fields: labels
func (*Container) SharedNetworkID ¶
SharedNetworkID provides a mock function with given fields:
func (*Container) StartService ¶
func (_m *Container) StartService(options container.ServiceOptions) (string, error)
StartService provides a mock function with given fields: options
func (*Container) Status ¶
func (_m *Container) Status(namespace string) (container.StatusType, error)
Status provides a mock function with given fields: namespace
func (*Container) StopService ¶
StopService provides a mock function with given fields: namespace