testmock

package
v0.13.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2021 License: Apache-2.0 Imports: 10 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.

Package testmock is a generated GoMock package.

Package testmock is a generated GoMock package.

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, arg1 env.ActionType) 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.

func (*MockBuildEnv) WithPlatform

func (m *MockBuildEnv) WithPlatform(arg0 string) ([]string, error)

WithPlatform 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, arg1 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.

func (*MockBuildEnvMockRecorder) WithPlatform

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

WithPlatform indicates an expected call of WithPlatform.

type MockBuildpack added in v0.10.0

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

MockBuildpack is a mock of Buildpack interface.

func NewMockBuildpack added in v0.10.0

func NewMockBuildpack(ctrl *gomock.Controller) *MockBuildpack

NewMockBuildpack creates a new mock instance.

func (*MockBuildpack) Build added in v0.10.0

Build mocks base method.

func (*MockBuildpack) ConfigFile added in v0.11.0

func (m *MockBuildpack) ConfigFile() *buildpack.Descriptor

ConfigFile mocks base method.

func (*MockBuildpack) Detect added in v0.11.0

Detect mocks base method.

func (*MockBuildpack) EXPECT added in v0.10.0

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

type MockBuildpackMockRecorder added in v0.10.0

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

MockBuildpackMockRecorder is the mock recorder for MockBuildpack.

func (*MockBuildpackMockRecorder) Build added in v0.10.0

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

Build indicates an expected call of Build.

func (*MockBuildpackMockRecorder) ConfigFile added in v0.11.0

func (mr *MockBuildpackMockRecorder) ConfigFile() *gomock.Call

ConfigFile indicates an expected call of ConfigFile.

func (*MockBuildpackMockRecorder) Detect added in v0.11.0

func (mr *MockBuildpackMockRecorder) Detect(arg0, arg1 interface{}) *gomock.Call

Detect indicates an expected call of Detect.

type MockBuildpackStore added in v0.10.0

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

MockBuildpackStore is a mock of BuildpackStore interface.

func NewMockBuildpackStore added in v0.10.0

func NewMockBuildpackStore(ctrl *gomock.Controller) *MockBuildpackStore

NewMockBuildpackStore creates a new mock instance.

func (*MockBuildpackStore) EXPECT added in v0.10.0

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

func (*MockBuildpackStore) Lookup added in v0.10.0

func (m *MockBuildpackStore) Lookup(arg0, arg1 string) (buildpack.Buildpack, error)

Lookup mocks base method.

type MockBuildpackStoreMockRecorder added in v0.10.0

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

MockBuildpackStoreMockRecorder is the mock recorder for MockBuildpackStore.

func (*MockBuildpackStoreMockRecorder) Lookup added in v0.10.0

func (mr *MockBuildpackStoreMockRecorder) Lookup(arg0, arg1 interface{}) *gomock.Call

Lookup indicates an expected call of Lookup.

type MockLayerFactory added in v0.8.1

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

MockLayerFactory is a mock of LayerFactory interface.

func NewMockLayerFactory added in v0.8.1

func NewMockLayerFactory(ctrl *gomock.Controller) *MockLayerFactory

NewMockLayerFactory creates a new mock instance.

func (*MockLayerFactory) DirLayer added in v0.8.1

func (m *MockLayerFactory) DirLayer(arg0, arg1 string) (layers.Layer, error)

DirLayer mocks base method.

func (*MockLayerFactory) EXPECT added in v0.8.1

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

func (*MockLayerFactory) LauncherLayer added in v0.9.0

func (m *MockLayerFactory) LauncherLayer(arg0 string) (layers.Layer, error)

LauncherLayer mocks base method.

func (*MockLayerFactory) ProcessTypesLayer added in v0.9.0

func (m *MockLayerFactory) ProcessTypesLayer(arg0 launch.Metadata) (layers.Layer, error)

ProcessTypesLayer mocks base method.

func (*MockLayerFactory) SliceLayers added in v0.8.1

func (m *MockLayerFactory) SliceLayers(arg0 string, arg1 []layers.Slice) ([]layers.Layer, error)

SliceLayers mocks base method.

type MockLayerFactoryMockRecorder added in v0.8.1

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

MockLayerFactoryMockRecorder is the mock recorder for MockLayerFactory.

func (*MockLayerFactoryMockRecorder) DirLayer added in v0.8.1

func (mr *MockLayerFactoryMockRecorder) DirLayer(arg0, arg1 interface{}) *gomock.Call

DirLayer indicates an expected call of DirLayer.

func (*MockLayerFactoryMockRecorder) LauncherLayer added in v0.9.0

func (mr *MockLayerFactoryMockRecorder) LauncherLayer(arg0 interface{}) *gomock.Call

LauncherLayer indicates an expected call of LauncherLayer.

func (*MockLayerFactoryMockRecorder) ProcessTypesLayer added in v0.9.0

func (mr *MockLayerFactoryMockRecorder) ProcessTypesLayer(arg0 interface{}) *gomock.Call

ProcessTypesLayer indicates an expected call of ProcessTypesLayer.

func (*MockLayerFactoryMockRecorder) SliceLayers added in v0.8.1

func (mr *MockLayerFactoryMockRecorder) SliceLayers(arg0, arg1 interface{}) *gomock.Call

SliceLayers indicates an expected call of SliceLayers.

type MockLayerMetadataRestorer added in v0.12.0

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

MockLayerMetadataRestorer is a mock of LayerMetadataRestorer interface.

func NewMockLayerMetadataRestorer added in v0.12.0

func NewMockLayerMetadataRestorer(ctrl *gomock.Controller) *MockLayerMetadataRestorer

NewMockLayerMetadataRestorer creates a new mock instance.

func (*MockLayerMetadataRestorer) EXPECT added in v0.12.0

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

func (*MockLayerMetadataRestorer) Restore added in v0.12.0

Restore mocks base method.

type MockLayerMetadataRestorerMockRecorder added in v0.12.0

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

MockLayerMetadataRestorerMockRecorder is the mock recorder for MockLayerMetadataRestorer.

func (*MockLayerMetadataRestorerMockRecorder) Restore added in v0.12.0

func (mr *MockLayerMetadataRestorerMockRecorder) Restore(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Restore indicates an expected call of Restore.

type MockPlatform added in v0.12.0

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

MockPlatform is a mock of Platform interface.

func NewMockPlatform added in v0.12.0

func NewMockPlatform(ctrl *gomock.Controller) *MockPlatform

NewMockPlatform creates a new mock instance.

func (*MockPlatform) API added in v0.12.0

func (m *MockPlatform) API() string

API mocks base method.

func (*MockPlatform) EXPECT added in v0.12.0

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

type MockPlatformMockRecorder added in v0.12.0

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

MockPlatformMockRecorder is the mock recorder for MockPlatform.

func (*MockPlatformMockRecorder) API added in v0.12.0

API indicates an expected call of API.

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

type MockResolver added in v0.11.0

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

MockResolver is a mock of Resolver interface.

func NewMockResolver added in v0.11.0

func NewMockResolver(ctrl *gomock.Controller) *MockResolver

NewMockResolver creates a new mock instance.

func (*MockResolver) EXPECT added in v0.11.0

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

func (*MockResolver) Resolve added in v0.11.0

Resolve mocks base method.

type MockResolverMockRecorder added in v0.11.0

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

MockResolverMockRecorder is the mock recorder for MockResolver.

func (*MockResolverMockRecorder) Resolve added in v0.11.0

func (mr *MockResolverMockRecorder) Resolve(arg0, arg1 interface{}) *gomock.Call

Resolve indicates an expected call of Resolve.

Jump to

Keyboard shortcuts

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