Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockCleanupClient
- func (m *MockCleanupClient) BuildCachePrune(ctx context.Context, opts build.CachePruneOptions) (*build.CachePruneReport, error)
- func (m *MockCleanupClient) Close() error
- func (m *MockCleanupClient) ContainerList(ctx context.Context, opts container.ListOptions) ([]container.Summary, error)
- func (m *MockCleanupClient) DiskUsage(ctx context.Context, opts dockertypes.DiskUsageOptions) (dockertypes.DiskUsage, error)
- func (m *MockCleanupClient) EXPECT() *MockCleanupClientMockRecorder
- func (m *MockCleanupClient) ImageList(ctx context.Context, opts image.ListOptions) ([]image.Summary, error)
- func (m *MockCleanupClient) ImageRemove(ctx context.Context, imageID string, opts image.RemoveOptions) ([]image.DeleteResponse, error)
- type MockCleanupClientMockRecorder
- func (mr *MockCleanupClientMockRecorder) BuildCachePrune(ctx, opts any) *gomock.Call
- func (mr *MockCleanupClientMockRecorder) Close() *gomock.Call
- func (mr *MockCleanupClientMockRecorder) ContainerList(ctx, opts any) *gomock.Call
- func (mr *MockCleanupClientMockRecorder) DiskUsage(ctx, opts any) *gomock.Call
- func (mr *MockCleanupClientMockRecorder) ImageList(ctx, opts any) *gomock.Call
- func (mr *MockCleanupClientMockRecorder) ImageRemove(ctx, imageID, opts any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCleanupClient ¶
type MockCleanupClient struct {
// contains filtered or unexported fields
}
MockCleanupClient is a mock of CleanupClient interface.
func NewMockCleanupClient ¶
func NewMockCleanupClient(ctrl *gomock.Controller) *MockCleanupClient
NewMockCleanupClient creates a new mock instance.
func (*MockCleanupClient) BuildCachePrune ¶
func (m *MockCleanupClient) BuildCachePrune(ctx context.Context, opts build.CachePruneOptions) (*build.CachePruneReport, error)
BuildCachePrune mocks base method.
func (*MockCleanupClient) Close ¶
func (m *MockCleanupClient) Close() error
Close mocks base method.
func (*MockCleanupClient) ContainerList ¶
func (m *MockCleanupClient) ContainerList(ctx context.Context, opts container.ListOptions) ([]container.Summary, error)
ContainerList mocks base method.
func (*MockCleanupClient) DiskUsage ¶
func (m *MockCleanupClient) DiskUsage(ctx context.Context, opts dockertypes.DiskUsageOptions) (dockertypes.DiskUsage, error)
DiskUsage mocks base method.
func (*MockCleanupClient) EXPECT ¶
func (m *MockCleanupClient) EXPECT() *MockCleanupClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCleanupClient) ImageList ¶
func (m *MockCleanupClient) ImageList(ctx context.Context, opts image.ListOptions) ([]image.Summary, error)
ImageList mocks base method.
func (*MockCleanupClient) ImageRemove ¶
func (m *MockCleanupClient) ImageRemove(ctx context.Context, imageID string, opts image.RemoveOptions) ([]image.DeleteResponse, error)
ImageRemove mocks base method.
type MockCleanupClientMockRecorder ¶
type MockCleanupClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCleanupClientMockRecorder is the mock recorder for MockCleanupClient.
func (*MockCleanupClientMockRecorder) BuildCachePrune ¶
func (mr *MockCleanupClientMockRecorder) BuildCachePrune(ctx, opts any) *gomock.Call
BuildCachePrune indicates an expected call of BuildCachePrune.
func (*MockCleanupClientMockRecorder) Close ¶
func (mr *MockCleanupClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockCleanupClientMockRecorder) ContainerList ¶
func (mr *MockCleanupClientMockRecorder) ContainerList(ctx, opts any) *gomock.Call
ContainerList indicates an expected call of ContainerList.
func (*MockCleanupClientMockRecorder) DiskUsage ¶
func (mr *MockCleanupClientMockRecorder) DiskUsage(ctx, opts any) *gomock.Call
DiskUsage indicates an expected call of DiskUsage.
func (*MockCleanupClientMockRecorder) ImageList ¶
func (mr *MockCleanupClientMockRecorder) ImageList(ctx, opts any) *gomock.Call
ImageList indicates an expected call of ImageList.
func (*MockCleanupClientMockRecorder) ImageRemove ¶
func (mr *MockCleanupClientMockRecorder) ImageRemove(ctx, imageID, opts any) *gomock.Call
ImageRemove indicates an expected call of ImageRemove.