mocks

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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 MockDockerClient

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

MockDockerClient is a mock of DockerClient interface.

func NewMockDockerClient

func NewMockDockerClient(ctrl *gomock.Controller) *MockDockerClient

NewMockDockerClient creates a new mock instance.

func (*MockDockerClient) EXPECT

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

func (*MockDockerClient) LoadFromFile

func (m *MockDockerClient) LoadFromFile(ctx context.Context, filepath string) error

LoadFromFile mocks base method.

func (*MockDockerClient) PullImage

func (m *MockDockerClient) PullImage(ctx context.Context, image string) error

PullImage mocks base method.

func (*MockDockerClient) SaveToFile

func (m *MockDockerClient) SaveToFile(ctx context.Context, filepath string, images ...string) error

SaveToFile mocks base method.

type MockDockerClientMockRecorder

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

MockDockerClientMockRecorder is the mock recorder for MockDockerClient.

func (*MockDockerClientMockRecorder) LoadFromFile

func (mr *MockDockerClientMockRecorder) LoadFromFile(ctx, filepath interface{}) *gomock.Call

LoadFromFile indicates an expected call of LoadFromFile.

func (*MockDockerClientMockRecorder) PullImage

func (mr *MockDockerClientMockRecorder) PullImage(ctx, image interface{}) *gomock.Call

PullImage indicates an expected call of PullImage.

func (*MockDockerClientMockRecorder) SaveToFile

func (mr *MockDockerClientMockRecorder) SaveToFile(ctx, filepath interface{}, images ...interface{}) *gomock.Call

SaveToFile indicates an expected call of SaveToFile.

type MockImageDestination

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

MockImageDestination is a mock of ImageDestination interface.

func NewMockImageDestination

func NewMockImageDestination(ctrl *gomock.Controller) *MockImageDestination

NewMockImageDestination creates a new mock instance.

func (*MockImageDestination) EXPECT

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

func (*MockImageDestination) Write

func (m *MockImageDestination) Write(ctx context.Context, images ...string) error

Write mocks base method.

type MockImageDestinationMockRecorder

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

MockImageDestinationMockRecorder is the mock recorder for MockImageDestination.

func (*MockImageDestinationMockRecorder) Write

func (mr *MockImageDestinationMockRecorder) Write(ctx interface{}, images ...interface{}) *gomock.Call

Write indicates an expected call of Write.

type MockImageDiskLoader

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

MockImageDiskLoader is a mock of ImageDiskLoader interface.

func NewMockImageDiskLoader

func NewMockImageDiskLoader(ctrl *gomock.Controller) *MockImageDiskLoader

NewMockImageDiskLoader creates a new mock instance.

func (*MockImageDiskLoader) EXPECT

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

func (*MockImageDiskLoader) LoadFromFile

func (m *MockImageDiskLoader) LoadFromFile(ctx context.Context, filepath string) error

LoadFromFile mocks base method.

type MockImageDiskLoaderMockRecorder

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

MockImageDiskLoaderMockRecorder is the mock recorder for MockImageDiskLoader.

func (*MockImageDiskLoaderMockRecorder) LoadFromFile

func (mr *MockImageDiskLoaderMockRecorder) LoadFromFile(ctx, filepath interface{}) *gomock.Call

LoadFromFile indicates an expected call of LoadFromFile.

type MockImageDiskWriter

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

MockImageDiskWriter is a mock of ImageDiskWriter interface.

func NewMockImageDiskWriter

func NewMockImageDiskWriter(ctrl *gomock.Controller) *MockImageDiskWriter

NewMockImageDiskWriter creates a new mock instance.

func (*MockImageDiskWriter) EXPECT

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

func (*MockImageDiskWriter) SaveToFile

func (m *MockImageDiskWriter) SaveToFile(ctx context.Context, filepath string, images ...string) error

SaveToFile mocks base method.

type MockImageDiskWriterMockRecorder

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

MockImageDiskWriterMockRecorder is the mock recorder for MockImageDiskWriter.

func (*MockImageDiskWriterMockRecorder) SaveToFile

func (mr *MockImageDiskWriterMockRecorder) SaveToFile(ctx, filepath interface{}, images ...interface{}) *gomock.Call

SaveToFile indicates an expected call of SaveToFile.

type MockImagePuller

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

MockImagePuller is a mock of ImagePuller interface.

func NewMockImagePuller

func NewMockImagePuller(ctrl *gomock.Controller) *MockImagePuller

NewMockImagePuller creates a new mock instance.

func (*MockImagePuller) EXPECT

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

func (*MockImagePuller) PullImage

func (m *MockImagePuller) PullImage(ctx context.Context, image string) error

PullImage mocks base method.

type MockImagePullerMockRecorder

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

MockImagePullerMockRecorder is the mock recorder for MockImagePuller.

func (*MockImagePullerMockRecorder) PullImage

func (mr *MockImagePullerMockRecorder) PullImage(ctx, image interface{}) *gomock.Call

PullImage indicates an expected call of PullImage.

type MockImageSource

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

MockImageSource is a mock of ImageSource interface.

func NewMockImageSource

func NewMockImageSource(ctrl *gomock.Controller) *MockImageSource

NewMockImageSource creates a new mock instance.

func (*MockImageSource) EXPECT

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

func (*MockImageSource) Load

func (m *MockImageSource) Load(ctx context.Context, images ...string) error

Load mocks base method.

type MockImageSourceMockRecorder

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

MockImageSourceMockRecorder is the mock recorder for MockImageSource.

func (*MockImageSourceMockRecorder) Load

func (mr *MockImageSourceMockRecorder) Load(ctx interface{}, images ...interface{}) *gomock.Call

Load indicates an expected call of Load.

type MockImageTaggerPusher

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

MockImageTaggerPusher is a mock of ImageTaggerPusher interface.

func NewMockImageTaggerPusher

func NewMockImageTaggerPusher(ctrl *gomock.Controller) *MockImageTaggerPusher

NewMockImageTaggerPusher creates a new mock instance.

func (*MockImageTaggerPusher) EXPECT

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

func (*MockImageTaggerPusher) PushImage

func (m *MockImageTaggerPusher) PushImage(ctx context.Context, image, endpoint string) error

PushImage mocks base method.

func (*MockImageTaggerPusher) TagImage

func (m *MockImageTaggerPusher) TagImage(ctx context.Context, image, endpoint string) error

TagImage mocks base method.

type MockImageTaggerPusherMockRecorder

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

MockImageTaggerPusherMockRecorder is the mock recorder for MockImageTaggerPusher.

func (*MockImageTaggerPusherMockRecorder) PushImage

func (mr *MockImageTaggerPusherMockRecorder) PushImage(ctx, image, endpoint interface{}) *gomock.Call

PushImage indicates an expected call of PushImage.

func (*MockImageTaggerPusherMockRecorder) TagImage

func (mr *MockImageTaggerPusherMockRecorder) TagImage(ctx, image, endpoint interface{}) *gomock.Call

TagImage indicates an expected call of TagImage.

Jump to

Keyboard shortcuts

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