ociartifactmock

package
v1.30.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package ociartifactmock is a generated GoMock package.

Index

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

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

func (m *MockImpl) LayerInfos(arg0 manifest.Manifest) []manifest.LayerInfo

LayerInfos mocks base method.

func (*MockImpl) ManifestConfigInfo

func (m *MockImpl) ManifestConfigInfo(arg0 manifest.Manifest) types.BlobInfo

ManifestConfigInfo mocks base method.

func (*MockImpl) ManifestFromBlob

func (m *MockImpl) ManifestFromBlob(arg0 []byte, arg1 string) (manifest.Manifest, error)

ManifestFromBlob mocks base method.

func (*MockImpl) MkdirAll

func (m *MockImpl) MkdirAll(arg0 string, arg1 fs.FileMode) error

MkdirAll 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

func (m *MockImpl) NewReference(arg0 reference.Named) (types.ImageReference, error)

NewReference mocks base method.

func (*MockImpl) ParseNormalizedNamed

func (m *MockImpl) ParseNormalizedNamed(arg0 string) (reference.Named, error)

ParseNormalizedNamed mocks base method.

func (*MockImpl) ReadAll

func (m *MockImpl) ReadAll(arg0 io.Reader) ([]byte, error)

ReadAll mocks base method.

func (*MockImpl) ReadDir

func (m *MockImpl) ReadDir(arg0 string) ([]fs.DirEntry, error)

ReadDir mocks base method.

func (*MockImpl) ReadFile

func (m *MockImpl) ReadFile(arg0 string) ([]byte, error)

ReadFile mocks base method.

func (*MockImpl) RemoveAll

func (m *MockImpl) RemoveAll(arg0 string) error

RemoveAll mocks base method.

func (*MockImpl) WriteFile

func (m *MockImpl) WriteFile(arg0 string, arg1 []byte, arg2 fs.FileMode) error

WriteFile 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL