mocks

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	mock.Mock
}

Container is an autogenerated mock type for the Container type

func (*Container) Build

func (_m *Container) Build(path string) (string, error)

Build provides a mock function with given fields: path

func (*Container) CreateNetwork

func (_m *Container) CreateNetwork(namespace []string) (string, error)

CreateNetwork provides a mock function with given fields: namespace

func (*Container) DeleteNetwork

func (_m *Container) DeleteNetwork(namespace []string) error

DeleteNetwork provides a mock function with given fields: namespace

func (*Container) DeleteVolume added in v0.5.0

func (_m *Container) DeleteVolume(name string) error

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

func (_m *Container) FindService(namespace []string) (swarm.Service, error)

FindService provides a mock function with given fields: namespace

func (*Container) ListServices

func (_m *Container) ListServices(labels ...string) ([]swarm.Service, error)

ListServices provides a mock function with given fields: labels

func (*Container) ListTasks

func (_m *Container) ListTasks(namespace []string) ([]swarm.Task, error)

ListTasks provides a mock function with given fields: namespace

func (*Container) Namespace

func (_m *Container) Namespace(ss []string) string

Namespace provides a mock function with given fields: ss

func (*Container) ServiceLogs

func (_m *Container) ServiceLogs(namespace []string) (io.ReadCloser, error)

ServiceLogs provides a mock function with given fields: namespace

func (*Container) SharedNetworkID

func (_m *Container) SharedNetworkID() (string, error)

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

func (_m *Container) StopService(namespace []string) error

StopService provides a mock function with given fields: namespace

func (*Container) TasksError

func (_m *Container) TasksError(namespace []string) ([]string, error)

TasksError provides a mock function with given fields: namespace

Jump to

Keyboard shortcuts

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