mocks

package
v0.0.0-...-11b4610 Latest Latest
Warning

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

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

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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) CopyFrom

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

CopyFrom mocks base method

func (*MockContainer) CopyTo

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

CopyTo mocks base method

func (*MockContainer) EXPECT

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

func (*MockContainer) ExtractTo

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

ExtractTo mocks base method

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) Start

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

Start 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) CopyFrom

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

CopyFrom indicates an expected call of CopyFrom

func (*MockContainerMockRecorder) CopyTo

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

CopyTo indicates an expected call of CopyTo

func (*MockContainerMockRecorder) ExtractTo

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

ExtractTo indicates an expected call of ExtractTo

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) Start

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

Start indicates an expected call of Start

type MockEngine

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

MockEngine is a mock of forgeEngine 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 string, arg1 *container.Config, arg2 *container.HostConfig) (forge.Container, error)

NewContainer 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, arg1, arg2 interface{}) *gomock.Call

NewContainer indicates an expected call of NewContainer

type MockImage

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

MockImage is a mock of forgeImage interface

func NewMockImage

func NewMockImage(ctrl *gomock.Controller) *MockImage

NewMockImage creates a new mock instance

func (*MockImage) Build

func (m *MockImage) Build(arg0 string, arg1 engine.Stream) <-chan engine.Progress

Build mocks base method

func (*MockImage) EXPECT

func (m *MockImage) EXPECT() *MockImageMockRecorder

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

func (*MockImage) Pull

func (m *MockImage) Pull(arg0 string) <-chan engine.Progress

Pull mocks base method

type MockImageMockRecorder

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

MockImageMockRecorder is the mock recorder for MockImage

func (*MockImageMockRecorder) Build

func (mr *MockImageMockRecorder) Build(arg0, arg1 interface{}) *gomock.Call

Build indicates an expected call of Build

func (*MockImageMockRecorder) Pull

func (mr *MockImageMockRecorder) Pull(arg0 interface{}) *gomock.Call

Pull indicates an expected call of Pull

type MockLoader

type MockLoader struct {
	Err      error
	Out      *gbytes.Buffer
	Progress chan engine.Progress
}

func NewMockLoader

func NewMockLoader() *MockLoader

func (*MockLoader) Loading

func (m *MockLoader) Loading(message string, progress <-chan engine.Progress) error

type MockVersioner

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

MockVersioner is a mock of versioner interface

func NewMockVersioner

func NewMockVersioner(ctrl *gomock.Controller) *MockVersioner

NewMockVersioner creates a new mock instance

func (*MockVersioner) Build

func (m *MockVersioner) Build(arg0, arg1 string) (string, error)

Build mocks base method

func (*MockVersioner) EXPECT

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

type MockVersionerMockRecorder

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

MockVersionerMockRecorder is the mock recorder for MockVersioner

func (*MockVersionerMockRecorder) Build

func (mr *MockVersionerMockRecorder) Build(arg0, arg1 interface{}) *gomock.Call

Build indicates an expected call of Build

Jump to

Keyboard shortcuts

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