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

mock

package
v1.153.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2026 License: Apache-2.0 Imports: 6 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 MockActuator

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

MockActuator is a mock of Actuator interface.

func NewMockActuator

func NewMockActuator(ctrl *gomock.Controller) *MockActuator

NewMockActuator creates a new mock instance.

func (*MockActuator) Delete

func (m *MockActuator) Delete(arg0 context.Context, arg1 logr.Logger, arg2 *v1alpha1.ControlPlane, arg3 *controller.Cluster) error

Delete mocks base method.

func (*MockActuator) EXPECT

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

func (*MockActuator) ForceDelete added in v1.81.0

func (m *MockActuator) ForceDelete(arg0 context.Context, arg1 logr.Logger, arg2 *v1alpha1.ControlPlane, arg3 *controller.Cluster) error

ForceDelete mocks base method.

func (*MockActuator) Migrate

func (m *MockActuator) Migrate(arg0 context.Context, arg1 logr.Logger, arg2 *v1alpha1.ControlPlane, arg3 *controller.Cluster) error

Migrate mocks base method.

func (*MockActuator) Reconcile

func (m *MockActuator) Reconcile(arg0 context.Context, arg1 logr.Logger, arg2 *v1alpha1.ControlPlane, arg3 *controller.Cluster) (bool, error)

Reconcile mocks base method.

func (*MockActuator) Restore

func (m *MockActuator) Restore(arg0 context.Context, arg1 logr.Logger, arg2 *v1alpha1.ControlPlane, arg3 *controller.Cluster) (bool, error)

Restore mocks base method.

type MockActuatorMockRecorder

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

MockActuatorMockRecorder is the mock recorder for MockActuator.

func (*MockActuatorMockRecorder) Delete

func (mr *MockActuatorMockRecorder) Delete(arg0, arg1, arg2, arg3 any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockActuatorMockRecorder) ForceDelete added in v1.81.0

func (mr *MockActuatorMockRecorder) ForceDelete(arg0, arg1, arg2, arg3 any) *gomock.Call

ForceDelete indicates an expected call of ForceDelete.

func (*MockActuatorMockRecorder) Migrate

func (mr *MockActuatorMockRecorder) Migrate(arg0, arg1, arg2, arg3 any) *gomock.Call

Migrate indicates an expected call of Migrate.

func (*MockActuatorMockRecorder) Reconcile

func (mr *MockActuatorMockRecorder) Reconcile(arg0, arg1, arg2, arg3 any) *gomock.Call

Reconcile indicates an expected call of Reconcile.

func (*MockActuatorMockRecorder) Restore

func (mr *MockActuatorMockRecorder) Restore(arg0, arg1, arg2, arg3 any) *gomock.Call

Restore indicates an expected call of Restore.

Jump to

Keyboard shortcuts

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