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

worker

package
v1.153.2 Latest Latest
Warning

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

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

Documentation

Overview

Package worker 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.118.0

func (m *MockInterface) Get(arg0 context.Context) (*v1alpha1.Worker, error)

Get mocks base method.

func (*MockInterface) MachineDeployments

func (m *MockInterface) MachineDeployments() []v1alpha1.MachineDeployment

MachineDeployments 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) SetInfrastructureProviderStatus

func (m *MockInterface) SetInfrastructureProviderStatus(arg0 *runtime.RawExtension)

SetInfrastructureProviderStatus mocks base method.

func (*MockInterface) SetSSHPublicKey

func (m *MockInterface) SetSSHPublicKey(arg0 []byte)

SetSSHPublicKey mocks base method.

func (*MockInterface) SetWorkerPoolNameToOperatingSystemConfigsMap added in v1.97.0

func (m *MockInterface) SetWorkerPoolNameToOperatingSystemConfigsMap(arg0 map[string]*operatingsystemconfig.OperatingSystemConfigs)

SetWorkerPoolNameToOperatingSystemConfigsMap 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.

func (*MockInterface) WaitUntilWorkerStatusMachineDeploymentsUpdated

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

WaitUntilWorkerStatusMachineDeploymentsUpdated 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.118.0

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

Get indicates an expected call of Get.

func (*MockInterfaceMockRecorder) MachineDeployments

func (mr *MockInterfaceMockRecorder) MachineDeployments() *gomock.Call

MachineDeployments indicates an expected call of MachineDeployments.

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) SetInfrastructureProviderStatus

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

SetInfrastructureProviderStatus indicates an expected call of SetInfrastructureProviderStatus.

func (*MockInterfaceMockRecorder) SetSSHPublicKey

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

SetSSHPublicKey indicates an expected call of SetSSHPublicKey.

func (*MockInterfaceMockRecorder) SetWorkerPoolNameToOperatingSystemConfigsMap added in v1.97.0

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

SetWorkerPoolNameToOperatingSystemConfigsMap indicates an expected call of SetWorkerPoolNameToOperatingSystemConfigsMap.

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.

func (*MockInterfaceMockRecorder) WaitUntilWorkerStatusMachineDeploymentsUpdated

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

WaitUntilWorkerStatusMachineDeploymentsUpdated indicates an expected call of WaitUntilWorkerStatusMachineDeploymentsUpdated.

Jump to

Keyboard shortcuts

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