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) Get(arg0 context.Context) (*v1alpha1.Etcd, error)
- func (m *MockInterface) GetReplicas() *int32
- func (m *MockInterface) GetValues() etcd.Values
- func (m *MockInterface) RolloutPeerCA(arg0 context.Context) error
- func (m *MockInterface) Scale(arg0 context.Context, arg1 int32) error
- func (m *MockInterface) ScrapeConfigs() ([]string, error)
- func (m *MockInterface) SetBackupConfig(arg0 *etcd.BackupConfig)
- func (m *MockInterface) SetHVPAConfig(arg0 *etcd.HVPAConfig)
- func (m *MockInterface) SetReplicas(arg0 *int32)
- func (m *MockInterface) Snapshot(arg0 context.Context, arg1 rest.HTTPClient) error
- 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) Get(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetReplicas() *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetValues() *gomock.Call
- func (mr *MockInterfaceMockRecorder) RolloutPeerCA(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Scale(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ScrapeConfigs() *gomock.Call
- func (mr *MockInterfaceMockRecorder) SetBackupConfig(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) SetHVPAConfig(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) SetReplicas(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Snapshot(arg0, arg1 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 ¶
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) GetReplicas ¶
func (m *MockInterface) GetReplicas() *int32
GetReplicas mocks base method.
func (*MockInterface) GetValues ¶
func (m *MockInterface) GetValues() etcd.Values
GetValues mocks base method.
func (*MockInterface) RolloutPeerCA ¶
func (m *MockInterface) RolloutPeerCA(arg0 context.Context) error
RolloutPeerCA mocks base method.
func (*MockInterface) Scale ¶
func (m *MockInterface) Scale(arg0 context.Context, arg1 int32) error
Scale mocks base method.
func (*MockInterface) ScrapeConfigs ¶
func (m *MockInterface) ScrapeConfigs() ([]string, error)
ScrapeConfigs mocks base method.
func (*MockInterface) SetBackupConfig ¶
func (m *MockInterface) SetBackupConfig(arg0 *etcd.BackupConfig)
SetBackupConfig mocks base method.
func (*MockInterface) SetHVPAConfig ¶
func (m *MockInterface) SetHVPAConfig(arg0 *etcd.HVPAConfig)
SetHVPAConfig mocks base method.
func (*MockInterface) SetReplicas ¶
func (m *MockInterface) SetReplicas(arg0 *int32)
SetReplicas mocks base method.
func (*MockInterface) Snapshot ¶
func (m *MockInterface) Snapshot(arg0 context.Context, arg1 rest.HTTPClient) error
Snapshot 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 ¶
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) Get ¶
func (mr *MockInterfaceMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockInterfaceMockRecorder) GetReplicas ¶
func (mr *MockInterfaceMockRecorder) GetReplicas() *gomock.Call
GetReplicas indicates an expected call of GetReplicas.
func (*MockInterfaceMockRecorder) GetValues ¶
func (mr *MockInterfaceMockRecorder) GetValues() *gomock.Call
GetValues indicates an expected call of GetValues.
func (*MockInterfaceMockRecorder) RolloutPeerCA ¶
func (mr *MockInterfaceMockRecorder) RolloutPeerCA(arg0 interface{}) *gomock.Call
RolloutPeerCA indicates an expected call of RolloutPeerCA.
func (*MockInterfaceMockRecorder) Scale ¶
func (mr *MockInterfaceMockRecorder) Scale(arg0, arg1 interface{}) *gomock.Call
Scale indicates an expected call of Scale.
func (*MockInterfaceMockRecorder) ScrapeConfigs ¶
func (mr *MockInterfaceMockRecorder) ScrapeConfigs() *gomock.Call
ScrapeConfigs indicates an expected call of ScrapeConfigs.
func (*MockInterfaceMockRecorder) SetBackupConfig ¶
func (mr *MockInterfaceMockRecorder) SetBackupConfig(arg0 interface{}) *gomock.Call
SetBackupConfig indicates an expected call of SetBackupConfig.
func (*MockInterfaceMockRecorder) SetHVPAConfig ¶
func (mr *MockInterfaceMockRecorder) SetHVPAConfig(arg0 interface{}) *gomock.Call
SetHVPAConfig indicates an expected call of SetHVPAConfig.
func (*MockInterfaceMockRecorder) SetReplicas ¶
func (mr *MockInterfaceMockRecorder) SetReplicas(arg0 interface{}) *gomock.Call
SetReplicas indicates an expected call of SetReplicas.
func (*MockInterfaceMockRecorder) Snapshot ¶
func (mr *MockInterfaceMockRecorder) Snapshot(arg0, arg1 interface{}) *gomock.Call
Snapshot indicates an expected call of Snapshot.
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.