Documentation
¶
Overview ¶
Package mockregistry is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Pull(arg0 string) (*image.DistributionManifest, error)
- func (m *MockClient) PullImageConfig(arg0 image.Digest) (os.FileInfo, error)
- func (m *MockClient) PullLayer(arg0 image.Digest) (os.FileInfo, error)
- func (m *MockClient) PullManifest(arg0 string) (*image.DistributionManifest, error)
- func (m *MockClient) Push(arg0 string) error
- func (m *MockClient) PushImageConfig(arg0 image.Digest) error
- func (m *MockClient) PushLayer(arg0 image.Digest) error
- func (m *MockClient) PushManifest(arg0 string, arg1 *image.DistributionManifest) error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Pull(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) PullImageConfig(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) PullLayer(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) PullManifest(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Push(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) PushImageConfig(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) PushLayer(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) PushManifest(arg0, arg1 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) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) Pull ¶
func (m *MockClient) Pull(arg0 string) (*image.DistributionManifest, error)
Pull mocks base method
func (*MockClient) PullImageConfig ¶
PullImageConfig mocks base method
func (*MockClient) PullManifest ¶
func (m *MockClient) PullManifest(arg0 string) (*image.DistributionManifest, error)
PullManifest mocks base method
func (*MockClient) PushImageConfig ¶
func (m *MockClient) PushImageConfig(arg0 image.Digest) error
PushImageConfig mocks base method
func (*MockClient) PushLayer ¶
func (m *MockClient) PushLayer(arg0 image.Digest) error
PushLayer mocks base method
func (*MockClient) PushManifest ¶
func (m *MockClient) PushManifest(arg0 string, arg1 *image.DistributionManifest) error
PushManifest mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) Pull ¶
func (mr *MockClientMockRecorder) Pull(arg0 interface{}) *gomock.Call
Pull indicates an expected call of Pull
func (*MockClientMockRecorder) PullImageConfig ¶
func (mr *MockClientMockRecorder) PullImageConfig(arg0 interface{}) *gomock.Call
PullImageConfig indicates an expected call of PullImageConfig
func (*MockClientMockRecorder) PullLayer ¶
func (mr *MockClientMockRecorder) PullLayer(arg0 interface{}) *gomock.Call
PullLayer indicates an expected call of PullLayer
func (*MockClientMockRecorder) PullManifest ¶
func (mr *MockClientMockRecorder) PullManifest(arg0 interface{}) *gomock.Call
PullManifest indicates an expected call of PullManifest
func (*MockClientMockRecorder) Push ¶
func (mr *MockClientMockRecorder) Push(arg0 interface{}) *gomock.Call
Push indicates an expected call of Push
func (*MockClientMockRecorder) PushImageConfig ¶
func (mr *MockClientMockRecorder) PushImageConfig(arg0 interface{}) *gomock.Call
PushImageConfig indicates an expected call of PushImageConfig
func (*MockClientMockRecorder) PushLayer ¶
func (mr *MockClientMockRecorder) PushLayer(arg0 interface{}) *gomock.Call
PushLayer indicates an expected call of PushLayer
func (*MockClientMockRecorder) PushManifest ¶
func (mr *MockClientMockRecorder) PushManifest(arg0, arg1 interface{}) *gomock.Call
PushManifest indicates an expected call of PushManifest