mock_ociclient

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_ociclient is a generated GoMock package.

Index

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) Fetch

func (m *MockClient) Fetch(arg0 context.Context, arg1 string, arg2 v1.Descriptor, arg3 io.Writer) error

Fetch mocks base method.

func (*MockClient) GetManifest

func (m *MockClient) GetManifest(arg0 context.Context, arg1 string) (*v1.Manifest, error)

GetManifest mocks base method.

func (*MockClient) GetOCIArtifact

func (m *MockClient) GetOCIArtifact(arg0 context.Context, arg1 string) (*oci.Artifact, error)

GetOCIArtifact mocks base method.

func (*MockClient) GetRawManifest

func (m *MockClient) GetRawManifest(arg0 context.Context, arg1 string) (v1.Descriptor, []byte, error)

GetRawManifest mocks base method.

func (*MockClient) PushBlob

func (m *MockClient) PushBlob(arg0 context.Context, arg1 string, arg2 v1.Descriptor, arg3 ...ociclient.PushOption) error

PushBlob mocks base method.

func (*MockClient) PushManifest

func (m *MockClient) PushManifest(arg0 context.Context, arg1 string, arg2 *v1.Manifest, arg3 ...ociclient.PushOption) error

PushManifest mocks base method.

func (*MockClient) PushOCIArtifact

func (m *MockClient) PushOCIArtifact(arg0 context.Context, arg1 string, arg2 *oci.Artifact, arg3 ...ociclient.PushOption) error

PushOCIArtifact mocks base method.

func (*MockClient) PushRawManifest

func (m *MockClient) PushRawManifest(arg0 context.Context, arg1 string, arg2 v1.Descriptor, arg3 []byte, arg4 ...ociclient.PushOption) error

PushRawManifest mocks base method.

func (*MockClient) Resolve

func (m *MockClient) Resolve(arg0 context.Context, arg1 string) (string, v1.Descriptor, error)

Resolve mocks base method.

type MockClientMockRecorder

type MockClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) Fetch

func (mr *MockClientMockRecorder) Fetch(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Fetch indicates an expected call of Fetch.

func (*MockClientMockRecorder) GetManifest

func (mr *MockClientMockRecorder) GetManifest(arg0, arg1 interface{}) *gomock.Call

GetManifest indicates an expected call of GetManifest.

func (*MockClientMockRecorder) GetOCIArtifact

func (mr *MockClientMockRecorder) GetOCIArtifact(arg0, arg1 interface{}) *gomock.Call

GetOCIArtifact indicates an expected call of GetOCIArtifact.

func (*MockClientMockRecorder) GetRawManifest

func (mr *MockClientMockRecorder) GetRawManifest(arg0, arg1 interface{}) *gomock.Call

GetRawManifest indicates an expected call of GetRawManifest.

func (*MockClientMockRecorder) PushBlob

func (mr *MockClientMockRecorder) PushBlob(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

PushBlob indicates an expected call of PushBlob.

func (*MockClientMockRecorder) PushManifest

func (mr *MockClientMockRecorder) PushManifest(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

PushManifest indicates an expected call of PushManifest.

func (*MockClientMockRecorder) PushOCIArtifact

func (mr *MockClientMockRecorder) PushOCIArtifact(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

PushOCIArtifact indicates an expected call of PushOCIArtifact.

func (*MockClientMockRecorder) PushRawManifest

func (mr *MockClientMockRecorder) PushRawManifest(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call

PushRawManifest indicates an expected call of PushRawManifest.

func (*MockClientMockRecorder) Resolve

func (mr *MockClientMockRecorder) Resolve(arg0, arg1 interface{}) *gomock.Call

Resolve indicates an expected call of Resolve.

Jump to

Keyboard shortcuts

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