Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) AddManifest(ref *oci.Reference, manifest *v1.Descriptor) error
- func (m *MockInterface) DeleteReference(ref *oci.Reference) (*cache.CacheRefSummary, error)
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) FetchReference(ref *oci.Reference) (*cache.CacheRefSummary, error)
- func (m *MockInterface) Ingester() content.Ingester
- func (m *MockInterface) ListReferences() ([]*cache.CacheRefSummary, error)
- func (m *MockInterface) ProvideIngester() content0.ProvideIngester
- func (m *MockInterface) Provider() content.Provider
- func (m_2 *MockInterface) StoreReference(ref *oci.Reference, m *model.Model) (*cache.CacheRefSummary, error)
- func (m *MockInterface) TagReference(ref, target *oci.Reference) error
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) AddManifest(ref, manifest interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) DeleteReference(ref interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) FetchReference(ref interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Ingester() *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListReferences() *gomock.Call
- func (mr *MockInterfaceMockRecorder) ProvideIngester() *gomock.Call
- func (mr *MockInterfaceMockRecorder) Provider() *gomock.Call
- func (mr *MockInterfaceMockRecorder) StoreReference(ref, m interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) TagReference(ref, target interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance
func (*MockInterface) AddManifest ¶
func (m *MockInterface) AddManifest(ref *oci.Reference, manifest *v1.Descriptor) error
AddManifest mocks base method
func (*MockInterface) DeleteReference ¶
func (m *MockInterface) DeleteReference(ref *oci.Reference) (*cache.CacheRefSummary, error)
DeleteReference mocks base method
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockInterface) FetchReference ¶
func (m *MockInterface) FetchReference(ref *oci.Reference) (*cache.CacheRefSummary, error)
FetchReference mocks base method
func (*MockInterface) Ingester ¶
func (m *MockInterface) Ingester() content.Ingester
Ingester mocks base method
func (*MockInterface) ListReferences ¶
func (m *MockInterface) ListReferences() ([]*cache.CacheRefSummary, error)
ListReferences mocks base method
func (*MockInterface) ProvideIngester ¶
func (m *MockInterface) ProvideIngester() content0.ProvideIngester
ProvideIngester mocks base method
func (*MockInterface) Provider ¶
func (m *MockInterface) Provider() content.Provider
Provider mocks base method
func (*MockInterface) StoreReference ¶
func (m_2 *MockInterface) StoreReference(ref *oci.Reference, m *model.Model) (*cache.CacheRefSummary, error)
StoreReference mocks base method
func (*MockInterface) TagReference ¶
func (m *MockInterface) TagReference(ref, target *oci.Reference) error
TagReference mocks base method
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface
func (*MockInterfaceMockRecorder) AddManifest ¶
func (mr *MockInterfaceMockRecorder) AddManifest(ref, manifest interface{}) *gomock.Call
AddManifest indicates an expected call of AddManifest
func (*MockInterfaceMockRecorder) DeleteReference ¶
func (mr *MockInterfaceMockRecorder) DeleteReference(ref interface{}) *gomock.Call
DeleteReference indicates an expected call of DeleteReference
func (*MockInterfaceMockRecorder) FetchReference ¶
func (mr *MockInterfaceMockRecorder) FetchReference(ref interface{}) *gomock.Call
FetchReference indicates an expected call of FetchReference
func (*MockInterfaceMockRecorder) Ingester ¶
func (mr *MockInterfaceMockRecorder) Ingester() *gomock.Call
Ingester indicates an expected call of Ingester
func (*MockInterfaceMockRecorder) ListReferences ¶
func (mr *MockInterfaceMockRecorder) ListReferences() *gomock.Call
ListReferences indicates an expected call of ListReferences
func (*MockInterfaceMockRecorder) ProvideIngester ¶
func (mr *MockInterfaceMockRecorder) ProvideIngester() *gomock.Call
ProvideIngester indicates an expected call of ProvideIngester
func (*MockInterfaceMockRecorder) Provider ¶
func (mr *MockInterfaceMockRecorder) Provider() *gomock.Call
Provider indicates an expected call of Provider
func (*MockInterfaceMockRecorder) StoreReference ¶
func (mr *MockInterfaceMockRecorder) StoreReference(ref, m interface{}) *gomock.Call
StoreReference indicates an expected call of StoreReference
func (*MockInterfaceMockRecorder) TagReference ¶
func (mr *MockInterfaceMockRecorder) TagReference(ref, target interface{}) *gomock.Call
TagReference indicates an expected call of TagReference