Documentation
¶
Overview ¶
Package ociartifactmock is a generated GoMock package.
Index ¶
- type MockImpl
- func (m *MockImpl) EXPECT() *MockImplMockRecorder
- func (m *MockImpl) GetBlob(arg0 context.Context, arg1 types.ImageSource, arg2 types.BlobInfo, ...) (io.ReadCloser, int64, error)
- func (m *MockImpl) GetManifest(arg0 context.Context, arg1 types.ImageSource, arg2 *digest.Digest) ([]byte, string, error)
- func (m *MockImpl) LayerInfos(arg0 manifest.Manifest) []manifest.LayerInfo
- func (m *MockImpl) ManifestConfigInfo(arg0 manifest.Manifest) types.BlobInfo
- func (m *MockImpl) ManifestFromBlob(arg0 []byte, arg1 string) (manifest.Manifest, error)
- func (m *MockImpl) MkdirAll(arg0 string, arg1 fs.FileMode) error
- func (m *MockImpl) NewImageSource(arg0 context.Context, arg1 types.ImageReference, arg2 *types.SystemContext) (types.ImageSource, error)
- func (m *MockImpl) NewReference(arg0 reference.Named) (types.ImageReference, error)
- func (m *MockImpl) ParseNormalizedNamed(arg0 string) (reference.Named, error)
- func (m *MockImpl) ReadAll(arg0 io.Reader) ([]byte, error)
- func (m *MockImpl) ReadDir(arg0 string) ([]fs.DirEntry, error)
- func (m *MockImpl) ReadFile(arg0 string) ([]byte, error)
- func (m *MockImpl) RemoveAll(arg0 string) error
- func (m *MockImpl) WriteFile(arg0 string, arg1 []byte, arg2 fs.FileMode) error
- type MockImplMockRecorder
- func (mr *MockImplMockRecorder) GetBlob(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockImplMockRecorder) GetManifest(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockImplMockRecorder) LayerInfos(arg0 interface{}) *gomock.Call
- func (mr *MockImplMockRecorder) ManifestConfigInfo(arg0 interface{}) *gomock.Call
- func (mr *MockImplMockRecorder) ManifestFromBlob(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImplMockRecorder) MkdirAll(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImplMockRecorder) NewImageSource(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockImplMockRecorder) NewReference(arg0 interface{}) *gomock.Call
- func (mr *MockImplMockRecorder) ParseNormalizedNamed(arg0 interface{}) *gomock.Call
- func (mr *MockImplMockRecorder) ReadAll(arg0 interface{}) *gomock.Call
- func (mr *MockImplMockRecorder) ReadDir(arg0 interface{}) *gomock.Call
- func (mr *MockImplMockRecorder) ReadFile(arg0 interface{}) *gomock.Call
- func (mr *MockImplMockRecorder) RemoveAll(arg0 interface{}) *gomock.Call
- func (mr *MockImplMockRecorder) WriteFile(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockImpl ¶
type MockImpl struct {
// contains filtered or unexported fields
}
MockImpl is a mock of Impl interface.
func NewMockImpl ¶
func NewMockImpl(ctrl *gomock.Controller) *MockImpl
NewMockImpl creates a new mock instance.
func (*MockImpl) EXPECT ¶
func (m *MockImpl) EXPECT() *MockImplMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockImpl) GetBlob ¶
func (m *MockImpl) GetBlob(arg0 context.Context, arg1 types.ImageSource, arg2 types.BlobInfo, arg3 types.BlobInfoCache) (io.ReadCloser, int64, error)
GetBlob mocks base method.
func (*MockImpl) GetManifest ¶
func (m *MockImpl) GetManifest(arg0 context.Context, arg1 types.ImageSource, arg2 *digest.Digest) ([]byte, string, error)
GetManifest mocks base method.
func (*MockImpl) LayerInfos ¶
LayerInfos mocks base method.
func (*MockImpl) ManifestConfigInfo ¶
ManifestConfigInfo mocks base method.
func (*MockImpl) ManifestFromBlob ¶
ManifestFromBlob mocks base method.
func (*MockImpl) NewImageSource ¶
func (m *MockImpl) NewImageSource(arg0 context.Context, arg1 types.ImageReference, arg2 *types.SystemContext) (types.ImageSource, error)
NewImageSource mocks base method.
func (*MockImpl) NewReference ¶
NewReference mocks base method.
func (*MockImpl) ParseNormalizedNamed ¶
ParseNormalizedNamed mocks base method.
type MockImplMockRecorder ¶
type MockImplMockRecorder struct {
// contains filtered or unexported fields
}
MockImplMockRecorder is the mock recorder for MockImpl.
func (*MockImplMockRecorder) GetBlob ¶
func (mr *MockImplMockRecorder) GetBlob(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetBlob indicates an expected call of GetBlob.
func (*MockImplMockRecorder) GetManifest ¶
func (mr *MockImplMockRecorder) GetManifest(arg0, arg1, arg2 interface{}) *gomock.Call
GetManifest indicates an expected call of GetManifest.
func (*MockImplMockRecorder) LayerInfos ¶
func (mr *MockImplMockRecorder) LayerInfos(arg0 interface{}) *gomock.Call
LayerInfos indicates an expected call of LayerInfos.
func (*MockImplMockRecorder) ManifestConfigInfo ¶
func (mr *MockImplMockRecorder) ManifestConfigInfo(arg0 interface{}) *gomock.Call
ManifestConfigInfo indicates an expected call of ManifestConfigInfo.
func (*MockImplMockRecorder) ManifestFromBlob ¶
func (mr *MockImplMockRecorder) ManifestFromBlob(arg0, arg1 interface{}) *gomock.Call
ManifestFromBlob indicates an expected call of ManifestFromBlob.
func (*MockImplMockRecorder) MkdirAll ¶
func (mr *MockImplMockRecorder) MkdirAll(arg0, arg1 interface{}) *gomock.Call
MkdirAll indicates an expected call of MkdirAll.
func (*MockImplMockRecorder) NewImageSource ¶
func (mr *MockImplMockRecorder) NewImageSource(arg0, arg1, arg2 interface{}) *gomock.Call
NewImageSource indicates an expected call of NewImageSource.
func (*MockImplMockRecorder) NewReference ¶
func (mr *MockImplMockRecorder) NewReference(arg0 interface{}) *gomock.Call
NewReference indicates an expected call of NewReference.
func (*MockImplMockRecorder) ParseNormalizedNamed ¶
func (mr *MockImplMockRecorder) ParseNormalizedNamed(arg0 interface{}) *gomock.Call
ParseNormalizedNamed indicates an expected call of ParseNormalizedNamed.
func (*MockImplMockRecorder) ReadAll ¶
func (mr *MockImplMockRecorder) ReadAll(arg0 interface{}) *gomock.Call
ReadAll indicates an expected call of ReadAll.
func (*MockImplMockRecorder) ReadDir ¶
func (mr *MockImplMockRecorder) ReadDir(arg0 interface{}) *gomock.Call
ReadDir indicates an expected call of ReadDir.
func (*MockImplMockRecorder) ReadFile ¶
func (mr *MockImplMockRecorder) ReadFile(arg0 interface{}) *gomock.Call
ReadFile indicates an expected call of ReadFile.
func (*MockImplMockRecorder) RemoveAll ¶
func (mr *MockImplMockRecorder) RemoveAll(arg0 interface{}) *gomock.Call
RemoveAll indicates an expected call of RemoveAll.
func (*MockImplMockRecorder) WriteFile ¶
func (mr *MockImplMockRecorder) WriteFile(arg0, arg1, arg2 interface{}) *gomock.Call
WriteFile indicates an expected call of WriteFile.