mock

package
Version: v1.50.1 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more 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(arg0 context.Context, arg1 context0.GardenContext, arg2, arg3 *[]v1alpha10.File) error

EnsureAdditionalFiles mocks base method.

func (*MockEnsurer) EnsureAdditionalUnits

func (m *MockEnsurer) EnsureAdditionalUnits(arg0 context.Context, arg1 context0.GardenContext, arg2, arg3 *[]v1alpha10.Unit) error

EnsureAdditionalUnits mocks base method.

func (*MockEnsurer) EnsureClusterAutoscalerDeployment added in v1.48.0

func (m *MockEnsurer) EnsureClusterAutoscalerDeployment(arg0 context.Context, arg1 context0.GardenContext, arg2, arg3 *v1.Deployment) error

EnsureClusterAutoscalerDeployment mocks base method.

func (*MockEnsurer) EnsureETCD

func (m *MockEnsurer) EnsureETCD(arg0 context.Context, arg1 context0.GardenContext, arg2, arg3 *v1alpha1.Etcd) error

EnsureETCD mocks base method.

func (*MockEnsurer) EnsureKubeAPIServerDeployment

func (m *MockEnsurer) EnsureKubeAPIServerDeployment(arg0 context.Context, arg1 context0.GardenContext, arg2, arg3 *v1.Deployment) error

EnsureKubeAPIServerDeployment mocks base method.

func (*MockEnsurer) EnsureKubeAPIServerService

func (m *MockEnsurer) EnsureKubeAPIServerService(arg0 context.Context, arg1 context0.GardenContext, arg2, arg3 *v10.Service) error

EnsureKubeAPIServerService mocks base method.

func (*MockEnsurer) EnsureKubeControllerManagerDeployment

func (m *MockEnsurer) EnsureKubeControllerManagerDeployment(arg0 context.Context, arg1 context0.GardenContext, arg2, arg3 *v1.Deployment) error

EnsureKubeControllerManagerDeployment mocks base method.

func (*MockEnsurer) EnsureKubeSchedulerDeployment

func (m *MockEnsurer) EnsureKubeSchedulerDeployment(arg0 context.Context, arg1 context0.GardenContext, arg2, arg3 *v1.Deployment) error

EnsureKubeSchedulerDeployment mocks base method.

func (*MockEnsurer) EnsureKubeletCloudProviderConfig

func (m *MockEnsurer) EnsureKubeletCloudProviderConfig(arg0 context.Context, arg1 context0.GardenContext, arg2 *semver.Version, arg3 *string, arg4 string) error

EnsureKubeletCloudProviderConfig mocks base method.

func (*MockEnsurer) EnsureKubeletConfiguration

func (m *MockEnsurer) EnsureKubeletConfiguration(arg0 context.Context, arg1 context0.GardenContext, arg2 *semver.Version, arg3, arg4 *v1beta1.KubeletConfiguration) error

EnsureKubeletConfiguration mocks base method.

func (*MockEnsurer) EnsureKubeletServiceUnitOptions

func (m *MockEnsurer) EnsureKubeletServiceUnitOptions(arg0 context.Context, arg1 context0.GardenContext, arg2 *semver.Version, arg3, arg4 []*unit.UnitOption) ([]*unit.UnitOption, error)

EnsureKubeletServiceUnitOptions mocks base method.

func (*MockEnsurer) EnsureKubernetesGeneralConfiguration

func (m *MockEnsurer) EnsureKubernetesGeneralConfiguration(arg0 context.Context, arg1 context0.GardenContext, arg2, arg3 *string) error

EnsureKubernetesGeneralConfiguration mocks base method.

func (*MockEnsurer) EnsureVPNSeedServerDeployment added in v1.30.0

func (m *MockEnsurer) EnsureVPNSeedServerDeployment(arg0 context.Context, arg1 context0.GardenContext, arg2, arg3 *v1.Deployment) error

EnsureVPNSeedServerDeployment mocks base method.

func (*MockEnsurer) ShouldProvisionKubeletCloudProviderConfig

func (m *MockEnsurer) ShouldProvisionKubeletCloudProviderConfig(arg0 context.Context, arg1 context0.GardenContext, arg2 *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(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

EnsureAdditionalFiles indicates an expected call of EnsureAdditionalFiles.

func (*MockEnsurerMockRecorder) EnsureAdditionalUnits

func (mr *MockEnsurerMockRecorder) EnsureAdditionalUnits(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

EnsureAdditionalUnits indicates an expected call of EnsureAdditionalUnits.

func (*MockEnsurerMockRecorder) EnsureClusterAutoscalerDeployment added in v1.48.0

func (mr *MockEnsurerMockRecorder) EnsureClusterAutoscalerDeployment(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

EnsureClusterAutoscalerDeployment indicates an expected call of EnsureClusterAutoscalerDeployment.

func (*MockEnsurerMockRecorder) EnsureETCD

func (mr *MockEnsurerMockRecorder) EnsureETCD(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

EnsureETCD indicates an expected call of EnsureETCD.

func (*MockEnsurerMockRecorder) EnsureKubeAPIServerDeployment

func (mr *MockEnsurerMockRecorder) EnsureKubeAPIServerDeployment(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

EnsureKubeAPIServerDeployment indicates an expected call of EnsureKubeAPIServerDeployment.

func (*MockEnsurerMockRecorder) EnsureKubeAPIServerService

func (mr *MockEnsurerMockRecorder) EnsureKubeAPIServerService(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

EnsureKubeAPIServerService indicates an expected call of EnsureKubeAPIServerService.

func (*MockEnsurerMockRecorder) EnsureKubeControllerManagerDeployment

func (mr *MockEnsurerMockRecorder) EnsureKubeControllerManagerDeployment(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

EnsureKubeControllerManagerDeployment indicates an expected call of EnsureKubeControllerManagerDeployment.

func (*MockEnsurerMockRecorder) EnsureKubeSchedulerDeployment

func (mr *MockEnsurerMockRecorder) EnsureKubeSchedulerDeployment(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

EnsureKubeSchedulerDeployment indicates an expected call of EnsureKubeSchedulerDeployment.

func (*MockEnsurerMockRecorder) EnsureKubeletCloudProviderConfig

func (mr *MockEnsurerMockRecorder) EnsureKubeletCloudProviderConfig(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

EnsureKubeletCloudProviderConfig indicates an expected call of EnsureKubeletCloudProviderConfig.

func (*MockEnsurerMockRecorder) EnsureKubeletConfiguration

func (mr *MockEnsurerMockRecorder) EnsureKubeletConfiguration(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

EnsureKubeletConfiguration indicates an expected call of EnsureKubeletConfiguration.

func (*MockEnsurerMockRecorder) EnsureKubeletServiceUnitOptions

func (mr *MockEnsurerMockRecorder) EnsureKubeletServiceUnitOptions(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

EnsureKubeletServiceUnitOptions indicates an expected call of EnsureKubeletServiceUnitOptions.

func (*MockEnsurerMockRecorder) EnsureKubernetesGeneralConfiguration

func (mr *MockEnsurerMockRecorder) EnsureKubernetesGeneralConfiguration(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

EnsureKubernetesGeneralConfiguration indicates an expected call of EnsureKubernetesGeneralConfiguration.

func (*MockEnsurerMockRecorder) EnsureVPNSeedServerDeployment added in v1.30.0

func (mr *MockEnsurerMockRecorder) EnsureVPNSeedServerDeployment(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

EnsureVPNSeedServerDeployment indicates an expected call of EnsureVPNSeedServerDeployment.

func (*MockEnsurerMockRecorder) ShouldProvisionKubeletCloudProviderConfig

func (mr *MockEnsurerMockRecorder) ShouldProvisionKubeletCloudProviderConfig(arg0, arg1, arg2 interface{}) *gomock.Call

ShouldProvisionKubeletCloudProviderConfig indicates an expected call of ShouldProvisionKubeletCloudProviderConfig.

Source Files

Jump to

Keyboard shortcuts

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