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

mock

package
v1.151.3 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: 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 MockInterface

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

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) Deploy

func (m *MockInterface) Deploy(ctx context.Context) error

Deploy mocks base method.

func (*MockInterface) Destroy

func (m *MockInterface) Destroy(ctx context.Context) error

Destroy mocks base method.

func (*MockInterface) EXPECT

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

func (*MockInterface) Get added in v1.117.0

Get mocks base method.

func (*MockInterface) Migrate

func (m *MockInterface) Migrate(ctx context.Context) error

Migrate mocks base method.

func (*MockInterface) Restore

func (m *MockInterface) Restore(ctx context.Context, shootState *v1beta1.ShootState) error

Restore mocks base method.

func (*MockInterface) SetPodCIDRs

func (m *MockInterface) SetPodCIDRs(arg0 []net.IPNet)

SetPodCIDRs mocks base method.

func (*MockInterface) SetServiceCIDRs

func (m *MockInterface) SetServiceCIDRs(arg0 []net.IPNet)

SetServiceCIDRs mocks base method.

func (*MockInterface) Wait

func (m *MockInterface) Wait(ctx context.Context) error

Wait mocks base method.

func (*MockInterface) WaitCleanup

func (m *MockInterface) WaitCleanup(ctx context.Context) error

WaitCleanup mocks base method.

func (*MockInterface) WaitMigrate

func (m *MockInterface) WaitMigrate(ctx context.Context) error

WaitMigrate mocks base method.

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) Deploy

func (mr *MockInterfaceMockRecorder) Deploy(ctx any) *gomock.Call

Deploy indicates an expected call of Deploy.

func (*MockInterfaceMockRecorder) Destroy

func (mr *MockInterfaceMockRecorder) Destroy(ctx any) *gomock.Call

Destroy indicates an expected call of Destroy.

func (*MockInterfaceMockRecorder) Get added in v1.117.0

func (mr *MockInterfaceMockRecorder) Get(ctx any) *gomock.Call

Get indicates an expected call of Get.

func (*MockInterfaceMockRecorder) Migrate

func (mr *MockInterfaceMockRecorder) Migrate(ctx any) *gomock.Call

Migrate indicates an expected call of Migrate.

func (*MockInterfaceMockRecorder) Restore

func (mr *MockInterfaceMockRecorder) Restore(ctx, shootState any) *gomock.Call

Restore indicates an expected call of Restore.

func (*MockInterfaceMockRecorder) SetPodCIDRs

func (mr *MockInterfaceMockRecorder) SetPodCIDRs(arg0 any) *gomock.Call

SetPodCIDRs indicates an expected call of SetPodCIDRs.

func (*MockInterfaceMockRecorder) SetServiceCIDRs

func (mr *MockInterfaceMockRecorder) SetServiceCIDRs(arg0 any) *gomock.Call

SetServiceCIDRs indicates an expected call of SetServiceCIDRs.

func (*MockInterfaceMockRecorder) Wait

func (mr *MockInterfaceMockRecorder) Wait(ctx any) *gomock.Call

Wait indicates an expected call of Wait.

func (*MockInterfaceMockRecorder) WaitCleanup

func (mr *MockInterfaceMockRecorder) WaitCleanup(ctx any) *gomock.Call

WaitCleanup indicates an expected call of WaitCleanup.

func (*MockInterfaceMockRecorder) WaitMigrate

func (mr *MockInterfaceMockRecorder) WaitMigrate(ctx any) *gomock.Call

WaitMigrate indicates an expected call of WaitMigrate.

Jump to

Keyboard shortcuts

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