Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockContainerLoginBuildPusher
- func (m *MockContainerLoginBuildPusher) Build(ctx context.Context, args *dockerengine.BuildArguments, w io.Writer) error
- func (m *MockContainerLoginBuildPusher) EXPECT() *MockContainerLoginBuildPusherMockRecorder
- func (m *MockContainerLoginBuildPusher) IsEcrCredentialHelperEnabled(uri string) bool
- func (m *MockContainerLoginBuildPusher) Login(uri, username, password string) error
- func (m *MockContainerLoginBuildPusher) Push(ctx context.Context, uri string, w io.Writer, tags ...string) (string, error)
- type MockContainerLoginBuildPusherMockRecorder
- func (mr *MockContainerLoginBuildPusherMockRecorder) Build(ctx, args, w interface{}) *gomock.Call
- func (mr *MockContainerLoginBuildPusherMockRecorder) IsEcrCredentialHelperEnabled(uri interface{}) *gomock.Call
- func (mr *MockContainerLoginBuildPusherMockRecorder) Login(uri, username, password interface{}) *gomock.Call
- func (mr *MockContainerLoginBuildPusherMockRecorder) Push(ctx, uri, w interface{}, tags ...interface{}) *gomock.Call
- type MockRegistry
- type MockRegistryMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockContainerLoginBuildPusher ¶
type MockContainerLoginBuildPusher struct {
// contains filtered or unexported fields
}
MockContainerLoginBuildPusher is a mock of ContainerLoginBuildPusher interface.
func NewMockContainerLoginBuildPusher ¶
func NewMockContainerLoginBuildPusher(ctrl *gomock.Controller) *MockContainerLoginBuildPusher
NewMockContainerLoginBuildPusher creates a new mock instance.
func (*MockContainerLoginBuildPusher) Build ¶
func (m *MockContainerLoginBuildPusher) Build(ctx context.Context, args *dockerengine.BuildArguments, w io.Writer) error
Build mocks base method.
func (*MockContainerLoginBuildPusher) EXPECT ¶
func (m *MockContainerLoginBuildPusher) EXPECT() *MockContainerLoginBuildPusherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockContainerLoginBuildPusher) IsEcrCredentialHelperEnabled ¶ added in v1.8.0
func (m *MockContainerLoginBuildPusher) IsEcrCredentialHelperEnabled(uri string) bool
IsEcrCredentialHelperEnabled mocks base method.
func (*MockContainerLoginBuildPusher) Login ¶
func (m *MockContainerLoginBuildPusher) Login(uri, username, password string) error
Login mocks base method.
type MockContainerLoginBuildPusherMockRecorder ¶
type MockContainerLoginBuildPusherMockRecorder struct {
// contains filtered or unexported fields
}
MockContainerLoginBuildPusherMockRecorder is the mock recorder for MockContainerLoginBuildPusher.
func (*MockContainerLoginBuildPusherMockRecorder) Build ¶
func (mr *MockContainerLoginBuildPusherMockRecorder) Build(ctx, args, w interface{}) *gomock.Call
Build indicates an expected call of Build.
func (*MockContainerLoginBuildPusherMockRecorder) IsEcrCredentialHelperEnabled ¶ added in v1.8.0
func (mr *MockContainerLoginBuildPusherMockRecorder) IsEcrCredentialHelperEnabled(uri interface{}) *gomock.Call
IsEcrCredentialHelperEnabled indicates an expected call of IsEcrCredentialHelperEnabled.
func (*MockContainerLoginBuildPusherMockRecorder) Login ¶
func (mr *MockContainerLoginBuildPusherMockRecorder) Login(uri, username, password interface{}) *gomock.Call
Login indicates an expected call of Login.
func (*MockContainerLoginBuildPusherMockRecorder) Push ¶
func (mr *MockContainerLoginBuildPusherMockRecorder) Push(ctx, uri, w interface{}, tags ...interface{}) *gomock.Call
Push indicates an expected call of Push.
type MockRegistry ¶
type MockRegistry struct {
// contains filtered or unexported fields
}
MockRegistry is a mock of Registry interface.
func NewMockRegistry ¶
func NewMockRegistry(ctrl *gomock.Controller) *MockRegistry
NewMockRegistry creates a new mock instance.
func (*MockRegistry) Auth ¶
func (m *MockRegistry) Auth() (string, string, error)
Auth mocks base method.
func (*MockRegistry) EXPECT ¶
func (m *MockRegistry) EXPECT() *MockRegistryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRegistry) RepositoryURI ¶
func (m *MockRegistry) RepositoryURI(name string) (string, error)
RepositoryURI mocks base method.
type MockRegistryMockRecorder ¶
type MockRegistryMockRecorder struct {
// contains filtered or unexported fields
}
MockRegistryMockRecorder is the mock recorder for MockRegistry.
func (*MockRegistryMockRecorder) Auth ¶
func (mr *MockRegistryMockRecorder) Auth() *gomock.Call
Auth indicates an expected call of Auth.
func (*MockRegistryMockRecorder) RepositoryURI ¶
func (mr *MockRegistryMockRecorder) RepositoryURI(name interface{}) *gomock.Call
RepositoryURI indicates an expected call of RepositoryURI.