Documentation ¶
Overview ¶
Package mocktagclient is a generated GoMock package.
Package mocktagclient is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) DuplicatePut(arg0 string, arg1 core.Digest, arg2 time.Duration) error
- func (m *MockClient) DuplicateReplicate(arg0 string, arg1 core.Digest, arg2 core.DigestList, arg3 time.Duration) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Get(arg0 string) (core.Digest, error)
- func (m *MockClient) Has(arg0 string) (bool, error)
- func (m *MockClient) List(arg0 string) ([]string, error)
- func (m *MockClient) ListRepository(arg0 string) ([]string, error)
- func (m *MockClient) ListRepositoryWithPagination(arg0 string, arg1 tagclient.ListFilter) (tagmodels.ListResponse, error)
- func (m *MockClient) ListWithPagination(arg0 string, arg1 tagclient.ListFilter) (tagmodels.ListResponse, error)
- func (m *MockClient) Origin() (string, error)
- func (m *MockClient) Put(arg0 string, arg1 core.Digest) error
- func (m *MockClient) PutAndReplicate(arg0 string, arg1 core.Digest) error
- func (m *MockClient) Replicate(arg0 string) error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) DuplicatePut(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DuplicateReplicate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Has(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) List(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListRepository(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListRepositoryWithPagination(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListWithPagination(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Origin() *gomock.Call
- func (mr *MockClientMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) PutAndReplicate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Replicate(arg0 interface{}) *gomock.Call
- type MockProvider
- type MockProviderMockRecorder
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) DuplicatePut ¶
DuplicatePut mocks base method
func (*MockClient) DuplicateReplicate ¶
func (m *MockClient) DuplicateReplicate(arg0 string, arg1 core.Digest, arg2 core.DigestList, arg3 time.Duration) error
DuplicateReplicate 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) Get ¶
func (m *MockClient) Get(arg0 string) (core.Digest, error)
Get mocks base method
func (*MockClient) List ¶
func (m *MockClient) List(arg0 string) ([]string, error)
List mocks base method
func (*MockClient) ListRepository ¶
func (m *MockClient) ListRepository(arg0 string) ([]string, error)
ListRepository mocks base method
func (*MockClient) ListRepositoryWithPagination ¶ added in v0.1.3
func (m *MockClient) ListRepositoryWithPagination(arg0 string, arg1 tagclient.ListFilter) (tagmodels.ListResponse, error)
ListRepositoryWithPagination mocks base method
func (*MockClient) ListWithPagination ¶ added in v0.1.3
func (m *MockClient) ListWithPagination(arg0 string, arg1 tagclient.ListFilter) (tagmodels.ListResponse, error)
ListWithPagination mocks base method
func (*MockClient) Put ¶
func (m *MockClient) Put(arg0 string, arg1 core.Digest) error
Put mocks base method
func (*MockClient) PutAndReplicate ¶
func (m *MockClient) PutAndReplicate(arg0 string, arg1 core.Digest) error
PutAndReplicate mocks base method
func (*MockClient) Replicate ¶
func (m *MockClient) Replicate(arg0 string) error
Replicate mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) DuplicatePut ¶
func (mr *MockClientMockRecorder) DuplicatePut(arg0, arg1, arg2 interface{}) *gomock.Call
DuplicatePut indicates an expected call of DuplicatePut
func (*MockClientMockRecorder) DuplicateReplicate ¶
func (mr *MockClientMockRecorder) DuplicateReplicate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
DuplicateReplicate indicates an expected call of DuplicateReplicate
func (*MockClientMockRecorder) Get ¶
func (mr *MockClientMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockClientMockRecorder) Has ¶
func (mr *MockClientMockRecorder) Has(arg0 interface{}) *gomock.Call
Has indicates an expected call of Has
func (*MockClientMockRecorder) List ¶
func (mr *MockClientMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List
func (*MockClientMockRecorder) ListRepository ¶
func (mr *MockClientMockRecorder) ListRepository(arg0 interface{}) *gomock.Call
ListRepository indicates an expected call of ListRepository
func (*MockClientMockRecorder) ListRepositoryWithPagination ¶ added in v0.1.3
func (mr *MockClientMockRecorder) ListRepositoryWithPagination(arg0, arg1 interface{}) *gomock.Call
ListRepositoryWithPagination indicates an expected call of ListRepositoryWithPagination
func (*MockClientMockRecorder) ListWithPagination ¶ added in v0.1.3
func (mr *MockClientMockRecorder) ListWithPagination(arg0, arg1 interface{}) *gomock.Call
ListWithPagination indicates an expected call of ListWithPagination
func (*MockClientMockRecorder) Origin ¶
func (mr *MockClientMockRecorder) Origin() *gomock.Call
Origin indicates an expected call of Origin
func (*MockClientMockRecorder) Put ¶
func (mr *MockClientMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call
Put indicates an expected call of Put
func (*MockClientMockRecorder) PutAndReplicate ¶
func (mr *MockClientMockRecorder) PutAndReplicate(arg0, arg1 interface{}) *gomock.Call
PutAndReplicate indicates an expected call of PutAndReplicate
func (*MockClientMockRecorder) Replicate ¶
func (mr *MockClientMockRecorder) Replicate(arg0 interface{}) *gomock.Call
Replicate indicates an expected call of Replicate
type MockProvider ¶
type MockProvider struct {
// contains filtered or unexported fields
}
MockProvider is a mock of Provider interface
func NewMockProvider ¶
func NewMockProvider(ctrl *gomock.Controller) *MockProvider
NewMockProvider creates a new mock instance
func (*MockProvider) EXPECT ¶
func (m *MockProvider) EXPECT() *MockProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockProviderMockRecorder ¶
type MockProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockProviderMockRecorder is the mock recorder for MockProvider
func (*MockProviderMockRecorder) Provide ¶
func (mr *MockProviderMockRecorder) Provide(arg0 interface{}) *gomock.Call
Provide indicates an expected call of Provide