Documentation ¶
Overview ¶
Package mock_docker is a generated GoMock package.
Package mock_docker is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Build(options types.ImageBuildOptions) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Login(auth registry.AuthConfig) error
- func (m *MockClient) Pull(refStr string, options types.ImagePullOptions) error
- func (m *MockClient) Push(image string, options types.ImagePushOptions) error
- func (m *MockClient) Tag(source, target string) error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Build(options interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Login(auth interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Pull(refStr, options interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Push(image, options interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Tag(source, target interface{}) *gomock.Call
- type MockService
- func (m *MockService) Build(dockerfile string, tags ...string) error
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) Login(auth string) error
- func (m *MockService) Pull(imageRefURL, registryAuth string) error
- func (m *MockService) Push(imageRefURL, registryAuth string) error
- func (m *MockService) Tag(src, dest string) error
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) Build(dockerfile interface{}, tags ...interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Login(auth interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Pull(imageRefURL, registryAuth interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Push(imageRefURL, registryAuth interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Tag(src, dest interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) Build ¶
func (m *MockClient) Build(options types.ImageBuildOptions) error
Build mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) Login ¶
func (m *MockClient) Login(auth registry.AuthConfig) error
Login mocks base method.
func (*MockClient) Pull ¶
func (m *MockClient) Pull(refStr string, options types.ImagePullOptions) error
Pull mocks base method.
func (*MockClient) Push ¶
func (m *MockClient) Push(image string, options types.ImagePushOptions) error
Push mocks base method.
func (*MockClient) Tag ¶
func (m *MockClient) Tag(source, target string) error
Tag mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) Build ¶
func (mr *MockClientMockRecorder) Build(options interface{}) *gomock.Call
Build indicates an expected call of Build.
func (*MockClientMockRecorder) Login ¶
func (mr *MockClientMockRecorder) Login(auth interface{}) *gomock.Call
Login indicates an expected call of Login.
func (*MockClientMockRecorder) Pull ¶
func (mr *MockClientMockRecorder) Pull(refStr, options interface{}) *gomock.Call
Pull indicates an expected call of Pull.
func (*MockClientMockRecorder) Push ¶
func (mr *MockClientMockRecorder) Push(image, options interface{}) *gomock.Call
Push indicates an expected call of Push.
func (*MockClientMockRecorder) Tag ¶
func (mr *MockClientMockRecorder) Tag(source, target interface{}) *gomock.Call
Tag indicates an expected call of Tag.
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) Build ¶
func (m *MockService) Build(dockerfile string, tags ...string) error
Build mocks base method.
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockService) Pull ¶
func (m *MockService) Pull(imageRefURL, registryAuth string) error
Pull mocks base method.
func (*MockService) Push ¶
func (m *MockService) Push(imageRefURL, registryAuth string) error
Push mocks base method.
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService.
func (*MockServiceMockRecorder) Build ¶
func (mr *MockServiceMockRecorder) Build(dockerfile interface{}, tags ...interface{}) *gomock.Call
Build indicates an expected call of Build.
func (*MockServiceMockRecorder) Login ¶
func (mr *MockServiceMockRecorder) Login(auth interface{}) *gomock.Call
Login indicates an expected call of Login.
func (*MockServiceMockRecorder) Pull ¶
func (mr *MockServiceMockRecorder) Pull(imageRefURL, registryAuth interface{}) *gomock.Call
Pull indicates an expected call of Pull.
func (*MockServiceMockRecorder) Push ¶
func (mr *MockServiceMockRecorder) Push(imageRefURL, registryAuth interface{}) *gomock.Call
Push indicates an expected call of Push.
func (*MockServiceMockRecorder) Tag ¶
func (mr *MockServiceMockRecorder) Tag(src, dest interface{}) *gomock.Call
Tag indicates an expected call of Tag.