testmock

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

Package testmock is a generated GoMock package.

Package testmock is a generated GoMock package.

Package testmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBuildEnv

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

MockBuildEnv is a mock of BuildEnv interface

func NewMockBuildEnv

func NewMockBuildEnv(ctrl *gomock.Controller) *MockBuildEnv

NewMockBuildEnv creates a new mock instance

func (*MockBuildEnv) AddEnvDir

func (m *MockBuildEnv) AddEnvDir(arg0 string) error

AddEnvDir mocks base method

func (*MockBuildEnv) AddRootDir

func (m *MockBuildEnv) AddRootDir(arg0 string) error

AddRootDir mocks base method

func (*MockBuildEnv) EXPECT

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

func (*MockBuildEnv) List

func (m *MockBuildEnv) List() []string

List mocks base method

type MockBuildEnvMockRecorder

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

MockBuildEnvMockRecorder is the mock recorder for MockBuildEnv

func (*MockBuildEnvMockRecorder) AddEnvDir

func (mr *MockBuildEnvMockRecorder) AddEnvDir(arg0 interface{}) *gomock.Call

AddEnvDir indicates an expected call of AddEnvDir

func (*MockBuildEnvMockRecorder) AddRootDir

func (mr *MockBuildEnvMockRecorder) AddRootDir(arg0 interface{}) *gomock.Call

AddRootDir indicates an expected call of AddRootDir

func (*MockBuildEnvMockRecorder) List

func (mr *MockBuildEnvMockRecorder) List() *gomock.Call

List indicates an expected call of List

type MockImage

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

MockImage is a mock of Image interface

func NewMockImage

func NewMockImage(ctrl *gomock.Controller) *MockImage

NewMockImage creates a new mock instance

func (*MockImage) AddLayer

func (m *MockImage) AddLayer(arg0 string) error

AddLayer mocks base method

func (*MockImage) Delete

func (m *MockImage) Delete() error

Delete mocks base method

func (*MockImage) Digest

func (m *MockImage) Digest() (string, error)

Digest 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) Env

func (m *MockImage) Env(arg0 string) (string, error)

Env mocks base method

func (*MockImage) Found

func (m *MockImage) Found() (bool, error)

Found mocks base method

func (*MockImage) GetLayer

func (m *MockImage) GetLayer(arg0 string) (io.ReadCloser, error)

GetLayer mocks base method

func (*MockImage) Label

func (m *MockImage) Label(arg0 string) (string, error)

Label mocks base method

func (*MockImage) Name

func (m *MockImage) Name() string

Name mocks base method

func (*MockImage) Rebase

func (m *MockImage) Rebase(arg0 string, arg1 image.Image) error

Rebase mocks base method

func (*MockImage) Rename

func (m *MockImage) Rename(arg0 string)

Rename mocks base method

func (*MockImage) ReuseLayer

func (m *MockImage) ReuseLayer(arg0 string) error

ReuseLayer mocks base method

func (*MockImage) Save

func (m *MockImage) Save() (string, error)

Save mocks base method

func (*MockImage) SetCmd

func (m *MockImage) SetCmd(arg0 ...string) error

SetCmd mocks base method

func (*MockImage) SetEntrypoint

func (m *MockImage) SetEntrypoint(arg0 ...string) error

SetEntrypoint mocks base method

func (*MockImage) SetEnv

func (m *MockImage) SetEnv(arg0, arg1 string) error

SetEnv mocks base method

func (*MockImage) SetLabel

func (m *MockImage) SetLabel(arg0, arg1 string) error

SetLabel mocks base method

func (*MockImage) TopLayer

func (m *MockImage) TopLayer() (string, error)

TopLayer mocks base method

type MockImageMockRecorder

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

MockImageMockRecorder is the mock recorder for MockImage

func (*MockImageMockRecorder) AddLayer

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

AddLayer indicates an expected call of AddLayer

func (*MockImageMockRecorder) Delete

func (mr *MockImageMockRecorder) Delete() *gomock.Call

Delete indicates an expected call of Delete

func (*MockImageMockRecorder) Digest

func (mr *MockImageMockRecorder) Digest() *gomock.Call

Digest indicates an expected call of Digest

func (*MockImageMockRecorder) Env

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

Env indicates an expected call of Env

func (*MockImageMockRecorder) Found

func (mr *MockImageMockRecorder) Found() *gomock.Call

Found indicates an expected call of Found

func (*MockImageMockRecorder) GetLayer

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

GetLayer indicates an expected call of GetLayer

func (*MockImageMockRecorder) Label

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

Label indicates an expected call of Label

func (*MockImageMockRecorder) Name

func (mr *MockImageMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name

func (*MockImageMockRecorder) Rebase

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

Rebase indicates an expected call of Rebase

func (*MockImageMockRecorder) Rename

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

Rename indicates an expected call of Rename

func (*MockImageMockRecorder) ReuseLayer

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

ReuseLayer indicates an expected call of ReuseLayer

func (*MockImageMockRecorder) Save

func (mr *MockImageMockRecorder) Save() *gomock.Call

Save indicates an expected call of Save

func (*MockImageMockRecorder) SetCmd

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

SetCmd indicates an expected call of SetCmd

func (*MockImageMockRecorder) SetEntrypoint

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

SetEntrypoint indicates an expected call of SetEntrypoint

func (*MockImageMockRecorder) SetEnv

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

SetEnv indicates an expected call of SetEnv

func (*MockImageMockRecorder) SetLabel

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

SetLabel indicates an expected call of SetLabel

func (*MockImageMockRecorder) TopLayer

func (mr *MockImageMockRecorder) TopLayer() *gomock.Call

TopLayer indicates an expected call of TopLayer

type MockReference

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

MockReference is a mock of Reference interface

func NewMockReference

func NewMockReference(ctrl *gomock.Controller) *MockReference

NewMockReference creates a new mock instance

func (*MockReference) Context

func (m *MockReference) Context() name.Repository

Context mocks base method

func (*MockReference) EXPECT

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

func (*MockReference) Identifier

func (m *MockReference) Identifier() string

Identifier mocks base method

func (*MockReference) Name

func (m *MockReference) Name() string

Name mocks base method

func (*MockReference) Scope

func (m *MockReference) Scope(arg0 string) string

Scope mocks base method

func (*MockReference) String

func (m *MockReference) String() string

String mocks base method

type MockReferenceMockRecorder

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

MockReferenceMockRecorder is the mock recorder for MockReference

func (*MockReferenceMockRecorder) Context

func (mr *MockReferenceMockRecorder) Context() *gomock.Call

Context indicates an expected call of Context

func (*MockReferenceMockRecorder) Identifier

func (mr *MockReferenceMockRecorder) Identifier() *gomock.Call

Identifier indicates an expected call of Identifier

func (*MockReferenceMockRecorder) Name

Name indicates an expected call of Name

func (*MockReferenceMockRecorder) Scope

func (mr *MockReferenceMockRecorder) Scope(arg0 interface{}) *gomock.Call

Scope indicates an expected call of Scope

func (*MockReferenceMockRecorder) String

func (mr *MockReferenceMockRecorder) String() *gomock.Call

String indicates an expected call of String

Jump to

Keyboard shortcuts

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