mocks

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockContainer

type MockContainer struct {
	// contains filtered or unexported fields
}

Mock of Container interface

func NewMockContainer

func NewMockContainer(ctrl *gomock.Controller) *MockContainer

func (*MockContainer) Background added in v0.14.0

func (_m *MockContainer) Background() error

func (*MockContainer) Close

func (_m *MockContainer) Close() error

func (*MockContainer) CloseAfterStream

func (_m *MockContainer) CloseAfterStream(_param0 *engine.Stream) error

func (*MockContainer) Commit

func (_m *MockContainer) Commit(_param0 string) (string, error)

func (*MockContainer) CopyFrom

func (_m *MockContainer) CopyFrom(_param0 string) (engine.Stream, error)

func (*MockContainer) CopyTo

func (_m *MockContainer) CopyTo(_param0 engine.Stream, _param1 string) error

func (*MockContainer) EXPECT

func (_m *MockContainer) EXPECT() *_MockContainerRecorder

func (*MockContainer) ExtractTo

func (_m *MockContainer) ExtractTo(_param0 io.Reader, _param1 string) error

func (*MockContainer) HealthCheck added in v0.14.0

func (_m *MockContainer) HealthCheck() <-chan string

func (*MockContainer) ID added in v0.14.0

func (_m *MockContainer) ID() string

func (*MockContainer) Start

func (_m *MockContainer) Start(_param0 string, _param1 io.Writer, _param2 <-chan time.Time) (int64, error)

type MockEngine

type MockEngine struct {
	// contains filtered or unexported fields
}

Mock of Engine interface

func NewMockEngine

func NewMockEngine(ctrl *gomock.Controller) *MockEngine

func (*MockEngine) EXPECT

func (_m *MockEngine) EXPECT() *_MockEngineRecorder

func (*MockEngine) NewContainer

func (_m *MockEngine) NewContainer(_param0 *container.Config, _param1 *container.HostConfig) (local.Container, error)

type MockImage

type MockImage struct {
	// contains filtered or unexported fields
}

Mock of Image interface

func NewMockImage

func NewMockImage(ctrl *gomock.Controller) *MockImage

func (*MockImage) Build

func (_m *MockImage) Build(_param0 string, _param1 engine.Stream) <-chan ui.Progress

func (*MockImage) EXPECT

func (_m *MockImage) EXPECT() *_MockImageRecorder

func (*MockImage) Pull

func (_m *MockImage) Pull(_param0 string) <-chan ui.Progress

type MockVersioner

type MockVersioner struct {
	// contains filtered or unexported fields
}

Mock of Versioner interface

func NewMockVersioner

func NewMockVersioner(ctrl *gomock.Controller) *MockVersioner

func (*MockVersioner) Build

func (_m *MockVersioner) Build(_param0 string, _param1 string) (string, error)

func (*MockVersioner) EXPECT

func (_m *MockVersioner) EXPECT() *_MockVersionerRecorder

Jump to

Keyboard shortcuts

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