Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockClusterAutoscaler
- func (m *MockClusterAutoscaler) AlertingRules() (map[string]string, error)
- func (m *MockClusterAutoscaler) Deploy(arg0 context.Context) error
- func (m *MockClusterAutoscaler) Destroy(arg0 context.Context) error
- func (m *MockClusterAutoscaler) EXPECT() *MockClusterAutoscalerMockRecorder
- func (m *MockClusterAutoscaler) ScrapeConfigs() ([]string, error)
- func (m *MockClusterAutoscaler) SetMachineDeployments(arg0 []v1alpha1.MachineDeployment)
- func (m *MockClusterAutoscaler) SetNamespaceUID(arg0 types.UID)
- func (m *MockClusterAutoscaler) SetSecrets(arg0 clusterautoscaler.Secrets)
- func (m *MockClusterAutoscaler) Wait(arg0 context.Context) error
- func (m *MockClusterAutoscaler) WaitCleanup(arg0 context.Context) error
- type MockClusterAutoscalerMockRecorder
- func (mr *MockClusterAutoscalerMockRecorder) AlertingRules() *gomock.Call
- func (mr *MockClusterAutoscalerMockRecorder) Deploy(arg0 interface{}) *gomock.Call
- func (mr *MockClusterAutoscalerMockRecorder) Destroy(arg0 interface{}) *gomock.Call
- func (mr *MockClusterAutoscalerMockRecorder) ScrapeConfigs() *gomock.Call
- func (mr *MockClusterAutoscalerMockRecorder) SetMachineDeployments(arg0 interface{}) *gomock.Call
- func (mr *MockClusterAutoscalerMockRecorder) SetNamespaceUID(arg0 interface{}) *gomock.Call
- func (mr *MockClusterAutoscalerMockRecorder) SetSecrets(arg0 interface{}) *gomock.Call
- func (mr *MockClusterAutoscalerMockRecorder) Wait(arg0 interface{}) *gomock.Call
- func (mr *MockClusterAutoscalerMockRecorder) WaitCleanup(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClusterAutoscaler ¶
type MockClusterAutoscaler struct {
// contains filtered or unexported fields
}
MockClusterAutoscaler is a mock of ClusterAutoscaler interface.
func NewMockClusterAutoscaler ¶
func NewMockClusterAutoscaler(ctrl *gomock.Controller) *MockClusterAutoscaler
NewMockClusterAutoscaler creates a new mock instance.
func (*MockClusterAutoscaler) AlertingRules ¶
func (m *MockClusterAutoscaler) AlertingRules() (map[string]string, error)
AlertingRules mocks base method.
func (*MockClusterAutoscaler) Deploy ¶
func (m *MockClusterAutoscaler) Deploy(arg0 context.Context) error
Deploy mocks base method.
func (*MockClusterAutoscaler) Destroy ¶
func (m *MockClusterAutoscaler) Destroy(arg0 context.Context) error
Destroy mocks base method.
func (*MockClusterAutoscaler) EXPECT ¶
func (m *MockClusterAutoscaler) EXPECT() *MockClusterAutoscalerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClusterAutoscaler) ScrapeConfigs ¶
func (m *MockClusterAutoscaler) ScrapeConfigs() ([]string, error)
ScrapeConfigs mocks base method.
func (*MockClusterAutoscaler) SetMachineDeployments ¶
func (m *MockClusterAutoscaler) SetMachineDeployments(arg0 []v1alpha1.MachineDeployment)
SetMachineDeployments mocks base method.
func (*MockClusterAutoscaler) SetNamespaceUID ¶
func (m *MockClusterAutoscaler) SetNamespaceUID(arg0 types.UID)
SetNamespaceUID mocks base method.
func (*MockClusterAutoscaler) SetSecrets ¶
func (m *MockClusterAutoscaler) SetSecrets(arg0 clusterautoscaler.Secrets)
SetSecrets mocks base method.
func (*MockClusterAutoscaler) Wait ¶
func (m *MockClusterAutoscaler) Wait(arg0 context.Context) error
Wait mocks base method.
func (*MockClusterAutoscaler) WaitCleanup ¶
func (m *MockClusterAutoscaler) WaitCleanup(arg0 context.Context) error
WaitCleanup mocks base method.
type MockClusterAutoscalerMockRecorder ¶
type MockClusterAutoscalerMockRecorder struct {
// contains filtered or unexported fields
}
MockClusterAutoscalerMockRecorder is the mock recorder for MockClusterAutoscaler.
func (*MockClusterAutoscalerMockRecorder) AlertingRules ¶
func (mr *MockClusterAutoscalerMockRecorder) AlertingRules() *gomock.Call
AlertingRules indicates an expected call of AlertingRules.
func (*MockClusterAutoscalerMockRecorder) Deploy ¶
func (mr *MockClusterAutoscalerMockRecorder) Deploy(arg0 interface{}) *gomock.Call
Deploy indicates an expected call of Deploy.
func (*MockClusterAutoscalerMockRecorder) Destroy ¶
func (mr *MockClusterAutoscalerMockRecorder) Destroy(arg0 interface{}) *gomock.Call
Destroy indicates an expected call of Destroy.
func (*MockClusterAutoscalerMockRecorder) ScrapeConfigs ¶
func (mr *MockClusterAutoscalerMockRecorder) ScrapeConfigs() *gomock.Call
ScrapeConfigs indicates an expected call of ScrapeConfigs.
func (*MockClusterAutoscalerMockRecorder) SetMachineDeployments ¶
func (mr *MockClusterAutoscalerMockRecorder) SetMachineDeployments(arg0 interface{}) *gomock.Call
SetMachineDeployments indicates an expected call of SetMachineDeployments.
func (*MockClusterAutoscalerMockRecorder) SetNamespaceUID ¶
func (mr *MockClusterAutoscalerMockRecorder) SetNamespaceUID(arg0 interface{}) *gomock.Call
SetNamespaceUID indicates an expected call of SetNamespaceUID.
func (*MockClusterAutoscalerMockRecorder) SetSecrets ¶
func (mr *MockClusterAutoscalerMockRecorder) SetSecrets(arg0 interface{}) *gomock.Call
SetSecrets indicates an expected call of SetSecrets.
func (*MockClusterAutoscalerMockRecorder) Wait ¶
func (mr *MockClusterAutoscalerMockRecorder) Wait(arg0 interface{}) *gomock.Call
Wait indicates an expected call of Wait.
func (*MockClusterAutoscalerMockRecorder) WaitCleanup ¶
func (mr *MockClusterAutoscalerMockRecorder) WaitCleanup(arg0 interface{}) *gomock.Call
WaitCleanup indicates an expected call of WaitCleanup.