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

mock

package
v1.154.1 Latest Latest
Warning

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

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

Documentation

Overview

Package mock is a generated GoMock package.

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 AddToManager

type AddToManager interface {
	Do(context.Context, manager.Manager) error
}

AddToManager allows mocking controller's AddToManager functions.

type MockAddToManager

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

MockAddToManager is a mock of AddToManager interface.

func NewMockAddToManager

func NewMockAddToManager(ctrl *gomock.Controller) *MockAddToManager

NewMockAddToManager creates a new mock instance.

func (*MockAddToManager) Do

Do mocks base method.

func (*MockAddToManager) EXPECT

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

type MockAddToManagerMockRecorder

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

MockAddToManagerMockRecorder is the mock recorder for MockAddToManager.

func (*MockAddToManagerMockRecorder) Do

func (mr *MockAddToManagerMockRecorder) Do(arg0, arg1 any) *gomock.Call

Do indicates an expected call of Do.

type MockChartRendererFactory

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

MockChartRendererFactory is a mock of ChartRendererFactory interface.

func NewMockChartRendererFactory

func NewMockChartRendererFactory(ctrl *gomock.Controller) *MockChartRendererFactory

NewMockChartRendererFactory creates a new mock instance.

func (*MockChartRendererFactory) EXPECT

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

func (*MockChartRendererFactory) NewChartRendererForShoot

func (m *MockChartRendererFactory) NewChartRendererForShoot(arg0 string) (chartrenderer.Interface, error)

NewChartRendererForShoot mocks base method.

type MockChartRendererFactoryMockRecorder

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

MockChartRendererFactoryMockRecorder is the mock recorder for MockChartRendererFactory.

func (*MockChartRendererFactoryMockRecorder) NewChartRendererForShoot

func (mr *MockChartRendererFactoryMockRecorder) NewChartRendererForShoot(arg0 any) *gomock.Call

NewChartRendererForShoot indicates an expected call of NewChartRendererForShoot.

Jump to

Keyboard shortcuts

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