Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockRegistry
- func (m *MockRegistry) Close() error
- func (m *MockRegistry) EXPECT() *MockRegistryMockRecorder
- func (m *MockRegistry) GetArchitectures(arg0, arg1 string) ([]string, error)
- func (m *MockRegistry) ImageRepoDetails() docker.ImageRepoDetails
- func (m *MockRegistry) Ping() error
- func (m *MockRegistry) RefreshAuth() error
- func (m *MockRegistry) ShouldRefreshAuth() (bool, time.Duration)
- func (m *MockRegistry) String() string
- func (m *MockRegistry) Tags(arg0 string) (tools.Versions, error)
- type MockRegistryMockRecorder
- func (mr *MockRegistryMockRecorder) Close() *gomock.Call
- func (mr *MockRegistryMockRecorder) GetArchitectures(arg0, arg1 any) *gomock.Call
- func (mr *MockRegistryMockRecorder) ImageRepoDetails() *gomock.Call
- func (mr *MockRegistryMockRecorder) Ping() *gomock.Call
- func (mr *MockRegistryMockRecorder) RefreshAuth() *gomock.Call
- func (mr *MockRegistryMockRecorder) ShouldRefreshAuth() *gomock.Call
- func (mr *MockRegistryMockRecorder) String() *gomock.Call
- func (mr *MockRegistryMockRecorder) Tags(arg0 any) *gomock.Call
- type MockRoundTripper
- type MockRoundTripperMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) EXPECT ¶
func (m *MockRegistry) EXPECT() *MockRegistryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRegistry) GetArchitectures ¶
func (m *MockRegistry) GetArchitectures(arg0, arg1 string) ([]string, error)
GetArchitectures mocks base method.
func (*MockRegistry) ImageRepoDetails ¶
func (m *MockRegistry) ImageRepoDetails() docker.ImageRepoDetails
ImageRepoDetails mocks base method.
func (*MockRegistry) RefreshAuth ¶
func (m *MockRegistry) RefreshAuth() error
RefreshAuth mocks base method.
func (*MockRegistry) ShouldRefreshAuth ¶
func (m *MockRegistry) ShouldRefreshAuth() (bool, time.Duration)
ShouldRefreshAuth mocks base method.
type MockRegistryMockRecorder ¶
type MockRegistryMockRecorder struct {
// contains filtered or unexported fields
}
MockRegistryMockRecorder is the mock recorder for MockRegistry.
func (*MockRegistryMockRecorder) Close ¶
func (mr *MockRegistryMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockRegistryMockRecorder) GetArchitectures ¶
func (mr *MockRegistryMockRecorder) GetArchitectures(arg0, arg1 any) *gomock.Call
GetArchitectures indicates an expected call of GetArchitectures.
func (*MockRegistryMockRecorder) ImageRepoDetails ¶
func (mr *MockRegistryMockRecorder) ImageRepoDetails() *gomock.Call
ImageRepoDetails indicates an expected call of ImageRepoDetails.
func (*MockRegistryMockRecorder) Ping ¶
func (mr *MockRegistryMockRecorder) Ping() *gomock.Call
Ping indicates an expected call of Ping.
func (*MockRegistryMockRecorder) RefreshAuth ¶
func (mr *MockRegistryMockRecorder) RefreshAuth() *gomock.Call
RefreshAuth indicates an expected call of RefreshAuth.
func (*MockRegistryMockRecorder) ShouldRefreshAuth ¶
func (mr *MockRegistryMockRecorder) ShouldRefreshAuth() *gomock.Call
ShouldRefreshAuth indicates an expected call of ShouldRefreshAuth.
func (*MockRegistryMockRecorder) String ¶
func (mr *MockRegistryMockRecorder) String() *gomock.Call
String indicates an expected call of String.
type MockRoundTripper ¶
type MockRoundTripper struct {
// contains filtered or unexported fields
}
MockRoundTripper is a mock of RoundTripper interface.
func NewMockRoundTripper ¶
func NewMockRoundTripper(ctrl *gomock.Controller) *MockRoundTripper
NewMockRoundTripper creates a new mock instance.
func (*MockRoundTripper) EXPECT ¶
func (m *MockRoundTripper) EXPECT() *MockRoundTripperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRoundTripperMockRecorder ¶
type MockRoundTripperMockRecorder struct {
// contains filtered or unexported fields
}
MockRoundTripperMockRecorder is the mock recorder for MockRoundTripper.