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

mock

package
v1.151.2 Latest Latest
Warning

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

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

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEnsurer

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

MockEnsurer is a mock of Ensurer interface.

func NewMockEnsurer

func NewMockEnsurer(ctrl *gomock.Controller) *MockEnsurer

NewMockEnsurer creates a new mock instance.

func (*MockEnsurer) EXPECT

func (m *MockEnsurer) EXPECT() *MockEnsurerMockRecorder

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

func (*MockEnsurer) EnsureCloudProviderSecret

func (m *MockEnsurer) EnsureCloudProviderSecret(ctx context.Context, gctx context0.GardenContext, newSecret, oldSecret *v1.Secret) error

EnsureCloudProviderSecret mocks base method.

type MockEnsurerMockRecorder

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

MockEnsurerMockRecorder is the mock recorder for MockEnsurer.

func (*MockEnsurerMockRecorder) EnsureCloudProviderSecret

func (mr *MockEnsurerMockRecorder) EnsureCloudProviderSecret(ctx, gctx, newSecret, oldSecret any) *gomock.Call

EnsureCloudProviderSecret indicates an expected call of EnsureCloudProviderSecret.

Jump to

Keyboard shortcuts

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