mocks

package
v0.0.51 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPluginPackager

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

MockPluginPackager is a mock of PluginPackager interface.

func NewMockPluginPackager

func NewMockPluginPackager(ctrl *gomock.Controller) *MockPluginPackager

NewMockPluginPackager creates a new mock instance.

func (*MockPluginPackager) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPluginPackager) Package

Package mocks base method.

type MockPluginPackagerMockRecorder

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

MockPluginPackagerMockRecorder is the mock recorder for MockPluginPackager.

func (*MockPluginPackagerMockRecorder) Package

func (mr *MockPluginPackagerMockRecorder) Package(ctx, pluginDir, opts any) *gomock.Call

Package indicates an expected call of Package.

type MockRegistryClient

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

MockRegistryClient is a mock of RegistryClient interface.

func NewMockRegistryClient

func NewMockRegistryClient(ctrl *gomock.Controller) *MockRegistryClient

NewMockRegistryClient creates a new mock instance.

func (*MockRegistryClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRegistryClient) Pull

func (m *MockRegistryClient) Pull(ctx context.Context, store *plugins.Store, ref string) (digest.Digest, error)

Pull mocks base method.

func (*MockRegistryClient) Push

func (m *MockRegistryClient) Push(ctx context.Context, store *plugins.Store, manifestDigest digest.Digest, ref string) error

Push mocks base method.

type MockRegistryClientMockRecorder

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

MockRegistryClientMockRecorder is the mock recorder for MockRegistryClient.

func (*MockRegistryClientMockRecorder) Pull

func (mr *MockRegistryClientMockRecorder) Pull(ctx, store, ref any) *gomock.Call

Pull indicates an expected call of Pull.

func (*MockRegistryClientMockRecorder) Push

func (mr *MockRegistryClientMockRecorder) Push(ctx, store, manifestDigest, ref any) *gomock.Call

Push indicates an expected call of Push.

Jump to

Keyboard shortcuts

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