mocks

package
v0.0.0-...-64e6891 Latest Latest
Warning

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

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

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Buffer

type Buffer interface {
	io.ReadWriter
	Len() int
}

type MockBuffer

type MockBuffer struct {
	Buffer
	CloseErr error
	ResetErr error
	// contains filtered or unexported fields
}

func NewMockBuffer

func NewMockBuffer(contents string) *MockBuffer

func (*MockBuffer) Close

func (m *MockBuffer) Close() error

func (*MockBuffer) Reset

func (m *MockBuffer) Reset() error

func (*MockBuffer) Result

func (m *MockBuffer) Result() string

type MockContainer

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

MockContainer is a mock of Container interface

func NewMockContainer

func NewMockContainer(ctrl *gomock.Controller) *MockContainer

NewMockContainer creates a new mock instance

func (*MockContainer) Background

func (m *MockContainer) Background() error

Background mocks base method

func (*MockContainer) Close

func (m *MockContainer) Close() error

Close mocks base method

func (*MockContainer) CloseAfterStream

func (m *MockContainer) CloseAfterStream(arg0 *engine.Stream) error

CloseAfterStream mocks base method

func (*MockContainer) Commit

func (m *MockContainer) Commit(arg0 string) (string, error)

Commit mocks base method

func (*MockContainer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockContainer) HealthCheck

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

HealthCheck mocks base method

func (*MockContainer) ID

func (m *MockContainer) ID() string

ID mocks base method

func (*MockContainer) Mkdir

func (m *MockContainer) Mkdir(arg0 string) error

Mkdir mocks base method

func (*MockContainer) Shell

func (m *MockContainer) Shell(arg0 engine.TTY, arg1 ...string) error

Shell mocks base method

func (*MockContainer) Start

func (m *MockContainer) Start(arg0 string, arg1 io.Writer, arg2 <-chan time.Time) (int64, error)

Start mocks base method

func (*MockContainer) StreamFileFrom

func (m *MockContainer) StreamFileFrom(arg0 string) (engine.Stream, error)

StreamFileFrom mocks base method

func (*MockContainer) StreamFileTo

func (m *MockContainer) StreamFileTo(arg0 engine.Stream, arg1 string) error

StreamFileTo mocks base method

func (*MockContainer) StreamTarFrom

func (m *MockContainer) StreamTarFrom(arg0 string) (engine.Stream, error)

StreamTarFrom mocks base method

func (*MockContainer) StreamTarTo

func (m *MockContainer) StreamTarTo(arg0 engine.Stream, arg1 string) error

StreamTarTo mocks base method

func (*MockContainer) UploadTarTo

func (m *MockContainer) UploadTarTo(arg0 io.Reader, arg1 string) error

UploadTarTo mocks base method

type MockContainerMockRecorder

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

MockContainerMockRecorder is the mock recorder for MockContainer

func (*MockContainerMockRecorder) Background

func (mr *MockContainerMockRecorder) Background() *gomock.Call

Background indicates an expected call of Background

func (*MockContainerMockRecorder) Close

func (mr *MockContainerMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockContainerMockRecorder) CloseAfterStream

func (mr *MockContainerMockRecorder) CloseAfterStream(arg0 interface{}) *gomock.Call

CloseAfterStream indicates an expected call of CloseAfterStream

func (*MockContainerMockRecorder) Commit

func (mr *MockContainerMockRecorder) Commit(arg0 interface{}) *gomock.Call

Commit indicates an expected call of Commit

func (*MockContainerMockRecorder) HealthCheck

func (mr *MockContainerMockRecorder) HealthCheck() *gomock.Call

HealthCheck indicates an expected call of HealthCheck

func (*MockContainerMockRecorder) ID

ID indicates an expected call of ID

func (*MockContainerMockRecorder) Mkdir

func (mr *MockContainerMockRecorder) Mkdir(arg0 interface{}) *gomock.Call

Mkdir indicates an expected call of Mkdir

func (*MockContainerMockRecorder) Shell

func (mr *MockContainerMockRecorder) Shell(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Shell indicates an expected call of Shell

func (*MockContainerMockRecorder) Start

func (mr *MockContainerMockRecorder) Start(arg0, arg1, arg2 interface{}) *gomock.Call

Start indicates an expected call of Start

func (*MockContainerMockRecorder) StreamFileFrom

func (mr *MockContainerMockRecorder) StreamFileFrom(arg0 interface{}) *gomock.Call

StreamFileFrom indicates an expected call of StreamFileFrom

func (*MockContainerMockRecorder) StreamFileTo

func (mr *MockContainerMockRecorder) StreamFileTo(arg0, arg1 interface{}) *gomock.Call

StreamFileTo indicates an expected call of StreamFileTo

func (*MockContainerMockRecorder) StreamTarFrom

func (mr *MockContainerMockRecorder) StreamTarFrom(arg0 interface{}) *gomock.Call

StreamTarFrom indicates an expected call of StreamTarFrom

func (*MockContainerMockRecorder) StreamTarTo

func (mr *MockContainerMockRecorder) StreamTarTo(arg0, arg1 interface{}) *gomock.Call

StreamTarTo indicates an expected call of StreamTarTo

func (*MockContainerMockRecorder) UploadTarTo

func (mr *MockContainerMockRecorder) UploadTarTo(arg0, arg1 interface{}) *gomock.Call

UploadTarTo indicates an expected call of UploadTarTo

type MockEngine

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

MockEngine is a mock of Engine interface

func NewMockEngine

func NewMockEngine(ctrl *gomock.Controller) *MockEngine

NewMockEngine creates a new mock instance

func (*MockEngine) EXPECT

func (m *MockEngine) EXPECT() *MockEngineMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockEngine) NewContainer

func (m *MockEngine) NewContainer(arg0 *engine.ContainerConfig) (engine.Container, error)

NewContainer mocks base method

func (*MockEngine) NewImage

func (m *MockEngine) NewImage() engine.Image

NewImage mocks base method

type MockEngineMockRecorder

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

MockEngineMockRecorder is the mock recorder for MockEngine

func (*MockEngineMockRecorder) NewContainer

func (mr *MockEngineMockRecorder) NewContainer(arg0 interface{}) *gomock.Call

NewContainer indicates an expected call of NewContainer

func (*MockEngineMockRecorder) NewImage

func (mr *MockEngineMockRecorder) NewImage() *gomock.Call

NewImage indicates an expected call of NewImage

Jump to

Keyboard shortcuts

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