Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) AlertingRules() (map[string]string, error)
- func (m *MockInterface) Deploy(arg0 context.Context) error
- func (m *MockInterface) Destroy(arg0 context.Context) error
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) GetAutoscalingReplicas() *int32
- func (m *MockInterface) GetValues() kubeapiserver.Values
- func (m *MockInterface) ScrapeConfigs() ([]string, error)
- func (m *MockInterface) SetAutoscalingAPIServerResources(arg0 v1.ResourceRequirements)
- func (m *MockInterface) SetAutoscalingReplicas(arg0 *int32)
- func (m *MockInterface) SetETCDEncryptionConfig(arg0 kubeapiserver.ETCDEncryptionConfig)
- func (m *MockInterface) SetExternalHostname(arg0 string)
- func (m *MockInterface) SetExternalServer(arg0 string)
- func (m *MockInterface) SetSNIConfig(arg0 kubeapiserver.SNIConfig)
- func (m *MockInterface) SetServerCertificateConfig(arg0 kubeapiserver.ServerCertificateConfig)
- func (m *MockInterface) SetServiceAccountConfig(arg0 kubeapiserver.ServiceAccountConfig)
- func (m *MockInterface) Wait(arg0 context.Context) error
- func (m *MockInterface) WaitCleanup(arg0 context.Context) error
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) AlertingRules() *gomock.Call
- func (mr *MockInterfaceMockRecorder) Deploy(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Destroy(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetAutoscalingReplicas() *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetValues() *gomock.Call
- func (mr *MockInterfaceMockRecorder) ScrapeConfigs() *gomock.Call
- func (mr *MockInterfaceMockRecorder) SetAutoscalingAPIServerResources(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) SetAutoscalingReplicas(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) SetETCDEncryptionConfig(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) SetExternalHostname(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) SetExternalServer(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) SetSNIConfig(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) SetServerCertificateConfig(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) SetServiceAccountConfig(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Wait(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) WaitCleanup(arg0 interface{}) *gomock.Call
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) AlertingRules ¶ added in v1.33.0
func (m *MockInterface) AlertingRules() (map[string]string, error)
AlertingRules mocks base method.
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 ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) GetAutoscalingReplicas ¶ added in v1.39.1
func (m *MockInterface) GetAutoscalingReplicas() *int32
GetAutoscalingReplicas mocks base method.
func (*MockInterface) GetValues ¶
func (m *MockInterface) GetValues() kubeapiserver.Values
GetValues mocks base method.
func (*MockInterface) ScrapeConfigs ¶ added in v1.33.0
func (m *MockInterface) ScrapeConfigs() ([]string, error)
ScrapeConfigs mocks base method.
func (*MockInterface) SetAutoscalingAPIServerResources ¶ added in v1.33.0
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 ¶ added in v1.48.0
func (m *MockInterface) SetETCDEncryptionConfig(arg0 kubeapiserver.ETCDEncryptionConfig)
SetETCDEncryptionConfig mocks base method.
func (*MockInterface) SetExternalHostname ¶ added in v1.33.0
func (m *MockInterface) SetExternalHostname(arg0 string)
SetExternalHostname mocks base method.
func (*MockInterface) SetExternalServer ¶ added in v1.43.0
func (m *MockInterface) SetExternalServer(arg0 string)
SetExternalServer mocks base method.
func (*MockInterface) SetSNIConfig ¶ added in v1.33.0
func (m *MockInterface) SetSNIConfig(arg0 kubeapiserver.SNIConfig)
SetSNIConfig mocks base method.
func (*MockInterface) SetServerCertificateConfig ¶ added in v1.44.0
func (m *MockInterface) SetServerCertificateConfig(arg0 kubeapiserver.ServerCertificateConfig)
SetServerCertificateConfig mocks base method.
func (*MockInterface) SetServiceAccountConfig ¶ added in v1.33.0
func (m *MockInterface) SetServiceAccountConfig(arg0 kubeapiserver.ServiceAccountConfig)
SetServiceAccountConfig 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) AlertingRules ¶ added in v1.33.0
func (mr *MockInterfaceMockRecorder) AlertingRules() *gomock.Call
AlertingRules indicates an expected call of AlertingRules.
func (*MockInterfaceMockRecorder) Deploy ¶
func (mr *MockInterfaceMockRecorder) Deploy(arg0 interface{}) *gomock.Call
Deploy indicates an expected call of Deploy.
func (*MockInterfaceMockRecorder) Destroy ¶
func (mr *MockInterfaceMockRecorder) Destroy(arg0 interface{}) *gomock.Call
Destroy indicates an expected call of Destroy.
func (*MockInterfaceMockRecorder) GetAutoscalingReplicas ¶ added in v1.39.1
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) ScrapeConfigs ¶ added in v1.33.0
func (mr *MockInterfaceMockRecorder) ScrapeConfigs() *gomock.Call
ScrapeConfigs indicates an expected call of ScrapeConfigs.
func (*MockInterfaceMockRecorder) SetAutoscalingAPIServerResources ¶ added in v1.33.0
func (mr *MockInterfaceMockRecorder) SetAutoscalingAPIServerResources(arg0 interface{}) *gomock.Call
SetAutoscalingAPIServerResources indicates an expected call of SetAutoscalingAPIServerResources.
func (*MockInterfaceMockRecorder) SetAutoscalingReplicas ¶
func (mr *MockInterfaceMockRecorder) SetAutoscalingReplicas(arg0 interface{}) *gomock.Call
SetAutoscalingReplicas indicates an expected call of SetAutoscalingReplicas.
func (*MockInterfaceMockRecorder) SetETCDEncryptionConfig ¶ added in v1.48.0
func (mr *MockInterfaceMockRecorder) SetETCDEncryptionConfig(arg0 interface{}) *gomock.Call
SetETCDEncryptionConfig indicates an expected call of SetETCDEncryptionConfig.
func (*MockInterfaceMockRecorder) SetExternalHostname ¶ added in v1.33.0
func (mr *MockInterfaceMockRecorder) SetExternalHostname(arg0 interface{}) *gomock.Call
SetExternalHostname indicates an expected call of SetExternalHostname.
func (*MockInterfaceMockRecorder) SetExternalServer ¶ added in v1.43.0
func (mr *MockInterfaceMockRecorder) SetExternalServer(arg0 interface{}) *gomock.Call
SetExternalServer indicates an expected call of SetExternalServer.
func (*MockInterfaceMockRecorder) SetSNIConfig ¶ added in v1.33.0
func (mr *MockInterfaceMockRecorder) SetSNIConfig(arg0 interface{}) *gomock.Call
SetSNIConfig indicates an expected call of SetSNIConfig.
func (*MockInterfaceMockRecorder) SetServerCertificateConfig ¶ added in v1.44.0
func (mr *MockInterfaceMockRecorder) SetServerCertificateConfig(arg0 interface{}) *gomock.Call
SetServerCertificateConfig indicates an expected call of SetServerCertificateConfig.
func (*MockInterfaceMockRecorder) SetServiceAccountConfig ¶ added in v1.33.0
func (mr *MockInterfaceMockRecorder) SetServiceAccountConfig(arg0 interface{}) *gomock.Call
SetServiceAccountConfig indicates an expected call of SetServiceAccountConfig.
func (*MockInterfaceMockRecorder) Wait ¶
func (mr *MockInterfaceMockRecorder) Wait(arg0 interface{}) *gomock.Call
Wait indicates an expected call of Wait.
func (*MockInterfaceMockRecorder) WaitCleanup ¶
func (mr *MockInterfaceMockRecorder) WaitCleanup(arg0 interface{}) *gomock.Call
WaitCleanup indicates an expected call of WaitCleanup.