Help us shape the future of Go! Take the 2026 Go Developer Survey

mocks

package
v0.0.57 Latest Latest
Warning

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

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

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