Documentation ¶
Overview ¶
Package mocks_image is a generated GoMock package.
Package mocks_image is a generated GoMock package.
Index ¶
- type MockService
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) Inspect(arg0 context.Context, arg1 string) (*dockercompat.Image, error)
- func (m *MockService) List(arg0 context.Context) ([]types0.ImageSummary, error)
- func (m *MockService) Load(arg0 context.Context, arg1 io.Reader, arg2 io.Writer, arg3 bool) error
- func (m *MockService) Pull(arg0 context.Context, arg1, arg2, arg3 string, arg4 *types.AuthConfig, ...) error
- func (m *MockService) Push(arg0 context.Context, arg1, arg2 string, arg3 *types.AuthConfig, ...) (*types0.PushResult, error)
- func (m *MockService) Remove(arg0 context.Context, arg1 string, arg2 bool) ([]string, []string, error)
- func (m *MockService) Tag(arg0 context.Context, arg1, arg2, arg3 string) error
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) Inspect(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) List(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Load(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Pull(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Push(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Remove(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Tag(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockStore
- func (m *MockStore) Create(arg0 context.Context, arg1 images.Image) (images.Image, error)
- func (m *MockStore) Delete(arg0 context.Context, arg1 string, arg2 ...images.DeleteOpt) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) Get(arg0 context.Context, arg1 string) (images.Image, error)
- func (m *MockStore) List(arg0 context.Context, arg1 ...string) ([]images.Image, error)
- func (m *MockStore) Update(arg0 context.Context, arg1 images.Image, arg2 ...string) (images.Image, error)
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Delete(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) List(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface.
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance.
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockService) Inspect ¶
func (m *MockService) Inspect(arg0 context.Context, arg1 string) (*dockercompat.Image, error)
Inspect mocks base method.
func (*MockService) List ¶
func (m *MockService) List(arg0 context.Context) ([]types0.ImageSummary, error)
List mocks base method.
func (*MockService) Pull ¶
func (m *MockService) Pull(arg0 context.Context, arg1, arg2, arg3 string, arg4 *types.AuthConfig, arg5 io.Writer) error
Pull mocks base method.
func (*MockService) Push ¶
func (m *MockService) Push(arg0 context.Context, arg1, arg2 string, arg3 *types.AuthConfig, arg4 io.Writer) (*types0.PushResult, error)
Push mocks base method.
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService.
func (*MockServiceMockRecorder) Inspect ¶
func (mr *MockServiceMockRecorder) Inspect(arg0, arg1 interface{}) *gomock.Call
Inspect indicates an expected call of Inspect.
func (*MockServiceMockRecorder) List ¶
func (mr *MockServiceMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockServiceMockRecorder) Load ¶
func (mr *MockServiceMockRecorder) Load(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Load indicates an expected call of Load.
func (*MockServiceMockRecorder) Pull ¶
func (mr *MockServiceMockRecorder) Pull(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
Pull indicates an expected call of Pull.
func (*MockServiceMockRecorder) Push ¶
func (mr *MockServiceMockRecorder) Push(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Push indicates an expected call of Push.
func (*MockServiceMockRecorder) Remove ¶
func (mr *MockServiceMockRecorder) Remove(arg0, arg1, arg2 interface{}) *gomock.Call
Remove indicates an expected call of Remove.
func (*MockServiceMockRecorder) Tag ¶
func (mr *MockServiceMockRecorder) Tag(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Tag indicates an expected call of Tag.
type MockStore ¶
type MockStore struct {
// contains filtered or unexported fields
}
MockStore is a mock of Store interface.
func NewMockStore ¶
func NewMockStore(ctrl *gomock.Controller) *MockStore
NewMockStore creates a new mock instance.
func (*MockStore) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore.
func (*MockStoreMockRecorder) Create ¶
func (mr *MockStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockStoreMockRecorder) Delete ¶
func (mr *MockStoreMockRecorder) Delete(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockStoreMockRecorder) Get ¶
func (mr *MockStoreMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockStoreMockRecorder) List ¶
func (mr *MockStoreMockRecorder) List(arg0 interface{}, arg1 ...interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockStoreMockRecorder) Update ¶
func (mr *MockStoreMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Update indicates an expected call of Update.