mock

package
v1.107.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 11 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) EnsureAdditionalFiles

func (m *MockEnsurer) EnsureAdditionalFiles(ctx context.Context, gctx context0.GardenContext, new, old *[]v1alpha10.File) error

EnsureAdditionalFiles mocks base method.

func (*MockEnsurer) EnsureAdditionalProvisionFiles added in v1.85.0

func (m *MockEnsurer) EnsureAdditionalProvisionFiles(ctx context.Context, gctx context0.GardenContext, new, old *[]v1alpha10.File) error

EnsureAdditionalProvisionFiles mocks base method.

func (*MockEnsurer) EnsureAdditionalProvisionUnits added in v1.85.0

func (m *MockEnsurer) EnsureAdditionalProvisionUnits(ctx context.Context, gctx context0.GardenContext, new, old *[]v1alpha10.Unit) error

EnsureAdditionalProvisionUnits mocks base method.

func (*MockEnsurer) EnsureAdditionalUnits

func (m *MockEnsurer) EnsureAdditionalUnits(ctx context.Context, gctx context0.GardenContext, new, old *[]v1alpha10.Unit) error

EnsureAdditionalUnits mocks base method.

func (*MockEnsurer) EnsureCRIConfig added in v1.100.0

func (m *MockEnsurer) EnsureCRIConfig(ctx context.Context, gctx context0.GardenContext, new, old *v1alpha10.CRIConfig) error

EnsureCRIConfig mocks base method.

func (*MockEnsurer) EnsureClusterAutoscalerDeployment added in v1.48.0

func (m *MockEnsurer) EnsureClusterAutoscalerDeployment(ctx context.Context, gctx context0.GardenContext, new, old *v1.Deployment) error

EnsureClusterAutoscalerDeployment mocks base method.

func (*MockEnsurer) EnsureETCD

func (m *MockEnsurer) EnsureETCD(ctx context.Context, gctx context0.GardenContext, new, old *v1alpha1.Etcd) error

EnsureETCD mocks base method.

func (*MockEnsurer) EnsureKubeAPIServerDeployment

func (m *MockEnsurer) EnsureKubeAPIServerDeployment(ctx context.Context, gctx context0.GardenContext, new, old *v1.Deployment) error

EnsureKubeAPIServerDeployment mocks base method.

func (*MockEnsurer) EnsureKubeControllerManagerDeployment

func (m *MockEnsurer) EnsureKubeControllerManagerDeployment(ctx context.Context, gctx context0.GardenContext, new, old *v1.Deployment) error

EnsureKubeControllerManagerDeployment mocks base method.

func (*MockEnsurer) EnsureKubeSchedulerDeployment

func (m *MockEnsurer) EnsureKubeSchedulerDeployment(ctx context.Context, gctx context0.GardenContext, new, old *v1.Deployment) error

EnsureKubeSchedulerDeployment mocks base method.

func (*MockEnsurer) EnsureKubeletCloudProviderConfig

func (m *MockEnsurer) EnsureKubeletCloudProviderConfig(ctx context.Context, gctx context0.GardenContext, kubeletVersion *semver.Version, configContent *string, namespace string) error

EnsureKubeletCloudProviderConfig mocks base method.

func (*MockEnsurer) EnsureKubeletConfiguration

func (m *MockEnsurer) EnsureKubeletConfiguration(ctx context.Context, gctx context0.GardenContext, kubeletVersion *semver.Version, new, old *v1beta1.KubeletConfiguration) error

EnsureKubeletConfiguration mocks base method.

func (*MockEnsurer) EnsureKubeletServiceUnitOptions

func (m *MockEnsurer) EnsureKubeletServiceUnitOptions(ctx context.Context, gctx context0.GardenContext, kubeletVersion *semver.Version, new, old []*unit.UnitOption) ([]*unit.UnitOption, error)

EnsureKubeletServiceUnitOptions mocks base method.

func (*MockEnsurer) EnsureKubernetesGeneralConfiguration

func (m *MockEnsurer) EnsureKubernetesGeneralConfiguration(ctx context.Context, gctx context0.GardenContext, new, old *string) error

EnsureKubernetesGeneralConfiguration mocks base method.

func (*MockEnsurer) EnsureMachineControllerManagerDeployment added in v1.73.0

func (m *MockEnsurer) EnsureMachineControllerManagerDeployment(ctx context.Context, gctx context0.GardenContext, new, old *v1.Deployment) error

EnsureMachineControllerManagerDeployment mocks base method.

func (*MockEnsurer) EnsureMachineControllerManagerVPA added in v1.73.0

func (m *MockEnsurer) EnsureMachineControllerManagerVPA(ctx context.Context, gctx context0.GardenContext, new, old *v10.VerticalPodAutoscaler) error

EnsureMachineControllerManagerVPA mocks base method.

func (*MockEnsurer) EnsureVPNSeedServerDeployment added in v1.30.0

func (m *MockEnsurer) EnsureVPNSeedServerDeployment(ctx context.Context, gctx context0.GardenContext, new, old *v1.Deployment) error

EnsureVPNSeedServerDeployment mocks base method.

func (*MockEnsurer) ShouldProvisionKubeletCloudProviderConfig

func (m *MockEnsurer) ShouldProvisionKubeletCloudProviderConfig(ctx context.Context, gctx context0.GardenContext, kubeletVersion *semver.Version) bool

ShouldProvisionKubeletCloudProviderConfig mocks base method.

type MockEnsurerMockRecorder

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

MockEnsurerMockRecorder is the mock recorder for MockEnsurer.

func (*MockEnsurerMockRecorder) EnsureAdditionalFiles

func (mr *MockEnsurerMockRecorder) EnsureAdditionalFiles(ctx, gctx, new, old any) *gomock.Call

EnsureAdditionalFiles indicates an expected call of EnsureAdditionalFiles.

func (*MockEnsurerMockRecorder) EnsureAdditionalProvisionFiles added in v1.85.0

func (mr *MockEnsurerMockRecorder) EnsureAdditionalProvisionFiles(ctx, gctx, new, old any) *gomock.Call

EnsureAdditionalProvisionFiles indicates an expected call of EnsureAdditionalProvisionFiles.

func (*MockEnsurerMockRecorder) EnsureAdditionalProvisionUnits added in v1.85.0

func (mr *MockEnsurerMockRecorder) EnsureAdditionalProvisionUnits(ctx, gctx, new, old any) *gomock.Call

EnsureAdditionalProvisionUnits indicates an expected call of EnsureAdditionalProvisionUnits.

func (*MockEnsurerMockRecorder) EnsureAdditionalUnits

func (mr *MockEnsurerMockRecorder) EnsureAdditionalUnits(ctx, gctx, new, old any) *gomock.Call

EnsureAdditionalUnits indicates an expected call of EnsureAdditionalUnits.

func (*MockEnsurerMockRecorder) EnsureCRIConfig added in v1.100.0

func (mr *MockEnsurerMockRecorder) EnsureCRIConfig(ctx, gctx, new, old any) *gomock.Call

EnsureCRIConfig indicates an expected call of EnsureCRIConfig.

func (*MockEnsurerMockRecorder) EnsureClusterAutoscalerDeployment added in v1.48.0

func (mr *MockEnsurerMockRecorder) EnsureClusterAutoscalerDeployment(ctx, gctx, new, old any) *gomock.Call

EnsureClusterAutoscalerDeployment indicates an expected call of EnsureClusterAutoscalerDeployment.

func (*MockEnsurerMockRecorder) EnsureETCD

func (mr *MockEnsurerMockRecorder) EnsureETCD(ctx, gctx, new, old any) *gomock.Call

EnsureETCD indicates an expected call of EnsureETCD.

func (*MockEnsurerMockRecorder) EnsureKubeAPIServerDeployment

func (mr *MockEnsurerMockRecorder) EnsureKubeAPIServerDeployment(ctx, gctx, new, old any) *gomock.Call

EnsureKubeAPIServerDeployment indicates an expected call of EnsureKubeAPIServerDeployment.

func (*MockEnsurerMockRecorder) EnsureKubeControllerManagerDeployment

func (mr *MockEnsurerMockRecorder) EnsureKubeControllerManagerDeployment(ctx, gctx, new, old any) *gomock.Call

EnsureKubeControllerManagerDeployment indicates an expected call of EnsureKubeControllerManagerDeployment.

func (*MockEnsurerMockRecorder) EnsureKubeSchedulerDeployment

func (mr *MockEnsurerMockRecorder) EnsureKubeSchedulerDeployment(ctx, gctx, new, old any) *gomock.Call

EnsureKubeSchedulerDeployment indicates an expected call of EnsureKubeSchedulerDeployment.

func (*MockEnsurerMockRecorder) EnsureKubeletCloudProviderConfig

func (mr *MockEnsurerMockRecorder) EnsureKubeletCloudProviderConfig(ctx, gctx, kubeletVersion, configContent, namespace any) *gomock.Call

EnsureKubeletCloudProviderConfig indicates an expected call of EnsureKubeletCloudProviderConfig.

func (*MockEnsurerMockRecorder) EnsureKubeletConfiguration

func (mr *MockEnsurerMockRecorder) EnsureKubeletConfiguration(ctx, gctx, kubeletVersion, new, old any) *gomock.Call

EnsureKubeletConfiguration indicates an expected call of EnsureKubeletConfiguration.

func (*MockEnsurerMockRecorder) EnsureKubeletServiceUnitOptions

func (mr *MockEnsurerMockRecorder) EnsureKubeletServiceUnitOptions(ctx, gctx, kubeletVersion, new, old any) *gomock.Call

EnsureKubeletServiceUnitOptions indicates an expected call of EnsureKubeletServiceUnitOptions.

func (*MockEnsurerMockRecorder) EnsureKubernetesGeneralConfiguration

func (mr *MockEnsurerMockRecorder) EnsureKubernetesGeneralConfiguration(ctx, gctx, new, old any) *gomock.Call

EnsureKubernetesGeneralConfiguration indicates an expected call of EnsureKubernetesGeneralConfiguration.

func (*MockEnsurerMockRecorder) EnsureMachineControllerManagerDeployment added in v1.73.0

func (mr *MockEnsurerMockRecorder) EnsureMachineControllerManagerDeployment(ctx, gctx, new, old any) *gomock.Call

EnsureMachineControllerManagerDeployment indicates an expected call of EnsureMachineControllerManagerDeployment.

func (*MockEnsurerMockRecorder) EnsureMachineControllerManagerVPA added in v1.73.0

func (mr *MockEnsurerMockRecorder) EnsureMachineControllerManagerVPA(ctx, gctx, new, old any) *gomock.Call

EnsureMachineControllerManagerVPA indicates an expected call of EnsureMachineControllerManagerVPA.

func (*MockEnsurerMockRecorder) EnsureVPNSeedServerDeployment added in v1.30.0

func (mr *MockEnsurerMockRecorder) EnsureVPNSeedServerDeployment(ctx, gctx, new, old any) *gomock.Call

EnsureVPNSeedServerDeployment indicates an expected call of EnsureVPNSeedServerDeployment.

func (*MockEnsurerMockRecorder) ShouldProvisionKubeletCloudProviderConfig

func (mr *MockEnsurerMockRecorder) ShouldProvisionKubeletCloudProviderConfig(ctx, gctx, kubeletVersion any) *gomock.Call

ShouldProvisionKubeletCloudProviderConfig indicates an expected call of ShouldProvisionKubeletCloudProviderConfig.

Jump to

Keyboard shortcuts

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