mocks

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMockAPIServer added in v0.3.4

func NewMockAPIServer() *httptest.Server

NewMockAPIServer returns a mocked docker api server that responds to some fixed requests used in the test suite.

Types

type FilterableContainer

type FilterableContainer struct {
	mock.Mock
}

FilterableContainer is an autogenerated mock type for the FilterableContainer type

func (*FilterableContainer) Enabled

func (_m *FilterableContainer) Enabled() (bool, bool)

Enabled provides a mock function with given fields:

func (*FilterableContainer) IsWatchtower

func (_m *FilterableContainer) IsWatchtower() bool

IsWatchtower provides a mock function with given fields:

func (*FilterableContainer) Name

func (_m *FilterableContainer) Name() string

Name 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