Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockDockerClient
- func (m *MockDockerClient) EXPECT() *MockDockerClientMockRecorder
- func (m *MockDockerClient) LoadFromFile(ctx context.Context, filepath string) error
- func (m *MockDockerClient) PullImage(ctx context.Context, image string) error
- func (m *MockDockerClient) SaveToFile(ctx context.Context, filepath string, images ...string) error
- type MockDockerClientMockRecorder
- type MockImageDestination
- type MockImageDestinationMockRecorder
- type MockImageDiskLoader
- type MockImageDiskLoaderMockRecorder
- type MockImageDiskWriter
- type MockImageDiskWriterMockRecorder
- type MockImagePuller
- type MockImagePullerMockRecorder
- type MockImageSource
- type MockImageSourceMockRecorder
- type MockImageTaggerPusher
- type MockImageTaggerPusherMockRecorder
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 ¶
func (m *MockDockerClient) EXPECT() *MockDockerClientMockRecorder
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 ¶
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 ¶
func (m *MockImageDestination) EXPECT() *MockImageDestinationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (m *MockImageDiskLoader) EXPECT() *MockImageDiskLoaderMockRecorder
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 ¶
func (m *MockImageDiskWriter) EXPECT() *MockImageDiskWriterMockRecorder
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 ¶
func (m *MockImagePuller) EXPECT() *MockImagePullerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (m *MockImageSource) EXPECT() *MockImageSourceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (m *MockImageTaggerPusher) EXPECT() *MockImageTaggerPusherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.