mock

package
v1.101.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 7 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(arg0 context.Context) error

Deploy mocks base method.

func (*MockInterface) Destroy

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

Destroy mocks base method.

func (*MockInterface) EXPECT

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

func (*MockInterface) GetAutoscalingReplicas

func (m *MockInterface) GetAutoscalingReplicas() *int32

GetAutoscalingReplicas mocks base method.

func (*MockInterface) GetValues

func (m *MockInterface) GetValues() apiserver0.Values

GetValues mocks base method.

func (*MockInterface) SetAutoscalingAPIServerResources

func (m *MockInterface) SetAutoscalingAPIServerResources(arg0 v1.ResourceRequirements)

SetAutoscalingAPIServerResources mocks base method.

func (*MockInterface) SetAutoscalingReplicas

func (m *MockInterface) SetAutoscalingReplicas(arg0 *int32)

SetAutoscalingReplicas mocks base method.

func (*MockInterface) SetETCDEncryptionConfig

func (m *MockInterface) SetETCDEncryptionConfig(arg0 apiserver.ETCDEncryptionConfig)

SetETCDEncryptionConfig mocks base method.

func (*MockInterface) SetExternalHostname

func (m *MockInterface) SetExternalHostname(arg0 string)

SetExternalHostname mocks base method.

func (*MockInterface) SetExternalServer

func (m *MockInterface) SetExternalServer(arg0 string)

SetExternalServer mocks base method.

func (*MockInterface) SetNodeNetworkCIDRs added in v1.99.0

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

SetNodeNetworkCIDRs mocks base method.

func (*MockInterface) SetPodNetworkCIDRs added in v1.99.0

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

SetPodNetworkCIDRs mocks base method.

func (*MockInterface) SetSNIConfig

func (m *MockInterface) SetSNIConfig(arg0 apiserver0.SNIConfig)

SetSNIConfig mocks base method.

func (*MockInterface) SetServerCertificateConfig

func (m *MockInterface) SetServerCertificateConfig(arg0 apiserver0.ServerCertificateConfig)

SetServerCertificateConfig mocks base method.

func (*MockInterface) SetServiceAccountConfig

func (m *MockInterface) SetServiceAccountConfig(arg0 apiserver0.ServiceAccountConfig)

SetServiceAccountConfig mocks base method.

func (*MockInterface) SetServiceNetworkCIDRs added in v1.99.0

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

SetServiceNetworkCIDRs mocks base method.

func (*MockInterface) Wait

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

Wait mocks base method.

func (*MockInterface) WaitCleanup

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

WaitCleanup 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(arg0 any) *gomock.Call

Deploy indicates an expected call of Deploy.

func (*MockInterfaceMockRecorder) Destroy

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

Destroy indicates an expected call of Destroy.

func (*MockInterfaceMockRecorder) GetAutoscalingReplicas

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

GetAutoscalingReplicas indicates an expected call of GetAutoscalingReplicas.

func (*MockInterfaceMockRecorder) GetValues

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

GetValues indicates an expected call of GetValues.

func (*MockInterfaceMockRecorder) SetAutoscalingAPIServerResources

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

SetAutoscalingAPIServerResources indicates an expected call of SetAutoscalingAPIServerResources.

func (*MockInterfaceMockRecorder) SetAutoscalingReplicas

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

SetAutoscalingReplicas indicates an expected call of SetAutoscalingReplicas.

func (*MockInterfaceMockRecorder) SetETCDEncryptionConfig

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

SetETCDEncryptionConfig indicates an expected call of SetETCDEncryptionConfig.

func (*MockInterfaceMockRecorder) SetExternalHostname

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

SetExternalHostname indicates an expected call of SetExternalHostname.

func (*MockInterfaceMockRecorder) SetExternalServer

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

SetExternalServer indicates an expected call of SetExternalServer.

func (*MockInterfaceMockRecorder) SetNodeNetworkCIDRs added in v1.99.0

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

SetNodeNetworkCIDRs indicates an expected call of SetNodeNetworkCIDRs.

func (*MockInterfaceMockRecorder) SetPodNetworkCIDRs added in v1.99.0

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

SetPodNetworkCIDRs indicates an expected call of SetPodNetworkCIDRs.

func (*MockInterfaceMockRecorder) SetSNIConfig

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

SetSNIConfig indicates an expected call of SetSNIConfig.

func (*MockInterfaceMockRecorder) SetServerCertificateConfig

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

SetServerCertificateConfig indicates an expected call of SetServerCertificateConfig.

func (*MockInterfaceMockRecorder) SetServiceAccountConfig

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

SetServiceAccountConfig indicates an expected call of SetServiceAccountConfig.

func (*MockInterfaceMockRecorder) SetServiceNetworkCIDRs added in v1.99.0

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

SetServiceNetworkCIDRs indicates an expected call of SetServiceNetworkCIDRs.

func (*MockInterfaceMockRecorder) Wait

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

Wait indicates an expected call of Wait.

func (*MockInterfaceMockRecorder) WaitCleanup

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

WaitCleanup indicates an expected call of WaitCleanup.

Jump to

Keyboard shortcuts

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