Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockKubeControllerManager
- func (m *MockKubeControllerManager) AlertingRules() (map[string]string, error)
- func (m *MockKubeControllerManager) Deploy(arg0 context.Context) error
- func (m *MockKubeControllerManager) Destroy(arg0 context.Context) error
- func (m *MockKubeControllerManager) EXPECT() *MockKubeControllerManagerMockRecorder
- func (m *MockKubeControllerManager) ScrapeConfigs() ([]string, error)
- func (m *MockKubeControllerManager) SetReplicaCount(arg0 int32)
- func (m *MockKubeControllerManager) SetSecrets(arg0 kubecontrollermanager.Secrets)
- func (m *MockKubeControllerManager) SetShootClient(arg0 client.Client)
- func (m *MockKubeControllerManager) Wait(arg0 context.Context) error
- func (m *MockKubeControllerManager) WaitCleanup(arg0 context.Context) error
- func (m *MockKubeControllerManager) WaitForControllerToBeActive(arg0 context.Context) error
- type MockKubeControllerManagerMockRecorder
- func (mr *MockKubeControllerManagerMockRecorder) AlertingRules() *gomock.Call
- func (mr *MockKubeControllerManagerMockRecorder) Deploy(arg0 interface{}) *gomock.Call
- func (mr *MockKubeControllerManagerMockRecorder) Destroy(arg0 interface{}) *gomock.Call
- func (mr *MockKubeControllerManagerMockRecorder) ScrapeConfigs() *gomock.Call
- func (mr *MockKubeControllerManagerMockRecorder) SetReplicaCount(arg0 interface{}) *gomock.Call
- func (mr *MockKubeControllerManagerMockRecorder) SetSecrets(arg0 interface{}) *gomock.Call
- func (mr *MockKubeControllerManagerMockRecorder) SetShootClient(arg0 interface{}) *gomock.Call
- func (mr *MockKubeControllerManagerMockRecorder) Wait(arg0 interface{}) *gomock.Call
- func (mr *MockKubeControllerManagerMockRecorder) WaitCleanup(arg0 interface{}) *gomock.Call
- func (mr *MockKubeControllerManagerMockRecorder) WaitForControllerToBeActive(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockKubeControllerManager ¶
type MockKubeControllerManager struct {
// contains filtered or unexported fields
}
MockKubeControllerManager is a mock of KubeControllerManager interface.
func NewMockKubeControllerManager ¶
func NewMockKubeControllerManager(ctrl *gomock.Controller) *MockKubeControllerManager
NewMockKubeControllerManager creates a new mock instance.
func (*MockKubeControllerManager) AlertingRules ¶
func (m *MockKubeControllerManager) AlertingRules() (map[string]string, error)
AlertingRules mocks base method.
func (*MockKubeControllerManager) Deploy ¶
func (m *MockKubeControllerManager) Deploy(arg0 context.Context) error
Deploy mocks base method.
func (*MockKubeControllerManager) Destroy ¶
func (m *MockKubeControllerManager) Destroy(arg0 context.Context) error
Destroy mocks base method.
func (*MockKubeControllerManager) EXPECT ¶
func (m *MockKubeControllerManager) EXPECT() *MockKubeControllerManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockKubeControllerManager) ScrapeConfigs ¶
func (m *MockKubeControllerManager) ScrapeConfigs() ([]string, error)
ScrapeConfigs mocks base method.
func (*MockKubeControllerManager) SetReplicaCount ¶
func (m *MockKubeControllerManager) SetReplicaCount(arg0 int32)
SetReplicaCount mocks base method.
func (*MockKubeControllerManager) SetSecrets ¶
func (m *MockKubeControllerManager) SetSecrets(arg0 kubecontrollermanager.Secrets)
SetSecrets mocks base method.
func (*MockKubeControllerManager) SetShootClient ¶
func (m *MockKubeControllerManager) SetShootClient(arg0 client.Client)
SetShootClient mocks base method.
func (*MockKubeControllerManager) Wait ¶
func (m *MockKubeControllerManager) Wait(arg0 context.Context) error
Wait mocks base method.
func (*MockKubeControllerManager) WaitCleanup ¶
func (m *MockKubeControllerManager) WaitCleanup(arg0 context.Context) error
WaitCleanup mocks base method.
func (*MockKubeControllerManager) WaitForControllerToBeActive ¶
func (m *MockKubeControllerManager) WaitForControllerToBeActive(arg0 context.Context) error
WaitForControllerToBeActive mocks base method.
type MockKubeControllerManagerMockRecorder ¶
type MockKubeControllerManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockKubeControllerManagerMockRecorder is the mock recorder for MockKubeControllerManager.
func (*MockKubeControllerManagerMockRecorder) AlertingRules ¶
func (mr *MockKubeControllerManagerMockRecorder) AlertingRules() *gomock.Call
AlertingRules indicates an expected call of AlertingRules.
func (*MockKubeControllerManagerMockRecorder) Deploy ¶
func (mr *MockKubeControllerManagerMockRecorder) Deploy(arg0 interface{}) *gomock.Call
Deploy indicates an expected call of Deploy.
func (*MockKubeControllerManagerMockRecorder) Destroy ¶
func (mr *MockKubeControllerManagerMockRecorder) Destroy(arg0 interface{}) *gomock.Call
Destroy indicates an expected call of Destroy.
func (*MockKubeControllerManagerMockRecorder) ScrapeConfigs ¶
func (mr *MockKubeControllerManagerMockRecorder) ScrapeConfigs() *gomock.Call
ScrapeConfigs indicates an expected call of ScrapeConfigs.
func (*MockKubeControllerManagerMockRecorder) SetReplicaCount ¶
func (mr *MockKubeControllerManagerMockRecorder) SetReplicaCount(arg0 interface{}) *gomock.Call
SetReplicaCount indicates an expected call of SetReplicaCount.
func (*MockKubeControllerManagerMockRecorder) SetSecrets ¶
func (mr *MockKubeControllerManagerMockRecorder) SetSecrets(arg0 interface{}) *gomock.Call
SetSecrets indicates an expected call of SetSecrets.
func (*MockKubeControllerManagerMockRecorder) SetShootClient ¶
func (mr *MockKubeControllerManagerMockRecorder) SetShootClient(arg0 interface{}) *gomock.Call
SetShootClient indicates an expected call of SetShootClient.
func (*MockKubeControllerManagerMockRecorder) Wait ¶
func (mr *MockKubeControllerManagerMockRecorder) Wait(arg0 interface{}) *gomock.Call
Wait indicates an expected call of Wait.
func (*MockKubeControllerManagerMockRecorder) WaitCleanup ¶
func (mr *MockKubeControllerManagerMockRecorder) WaitCleanup(arg0 interface{}) *gomock.Call
WaitCleanup indicates an expected call of WaitCleanup.
func (*MockKubeControllerManagerMockRecorder) WaitForControllerToBeActive ¶
func (mr *MockKubeControllerManagerMockRecorder) WaitForControllerToBeActive(arg0 interface{}) *gomock.Call
WaitForControllerToBeActive indicates an expected call of WaitForControllerToBeActive.