Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockEtcd
- func (m *MockEtcd) AlertingRules() (map[string]string, error)
- func (m *MockEtcd) Deploy(arg0 context.Context) error
- func (m *MockEtcd) Destroy(arg0 context.Context) error
- func (m *MockEtcd) EXPECT() *MockEtcdMockRecorder
- func (m *MockEtcd) ScrapeConfigs() ([]string, error)
- func (m *MockEtcd) ServiceDNSNames() []string
- func (m *MockEtcd) SetBackupConfig(arg0 *etcd.BackupConfig)
- func (m *MockEtcd) SetHVPAConfig(arg0 *etcd.HVPAConfig)
- func (m *MockEtcd) SetSecrets(arg0 etcd.Secrets)
- func (m *MockEtcd) Snapshot(arg0 context.Context, arg1 kubernetes.PodExecutor) error
- func (m *MockEtcd) Wait(arg0 context.Context) error
- func (m *MockEtcd) WaitCleanup(arg0 context.Context) error
- type MockEtcdMockRecorder
- func (mr *MockEtcdMockRecorder) AlertingRules() *gomock.Call
- func (mr *MockEtcdMockRecorder) Deploy(arg0 interface{}) *gomock.Call
- func (mr *MockEtcdMockRecorder) Destroy(arg0 interface{}) *gomock.Call
- func (mr *MockEtcdMockRecorder) ScrapeConfigs() *gomock.Call
- func (mr *MockEtcdMockRecorder) ServiceDNSNames() *gomock.Call
- func (mr *MockEtcdMockRecorder) SetBackupConfig(arg0 interface{}) *gomock.Call
- func (mr *MockEtcdMockRecorder) SetHVPAConfig(arg0 interface{}) *gomock.Call
- func (mr *MockEtcdMockRecorder) SetSecrets(arg0 interface{}) *gomock.Call
- func (mr *MockEtcdMockRecorder) Snapshot(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEtcdMockRecorder) Wait(arg0 interface{}) *gomock.Call
- func (mr *MockEtcdMockRecorder) WaitCleanup(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEtcd ¶
type MockEtcd struct {
// contains filtered or unexported fields
}
MockEtcd is a mock of Etcd interface.
func NewMockEtcd ¶
func NewMockEtcd(ctrl *gomock.Controller) *MockEtcd
NewMockEtcd creates a new mock instance.
func (*MockEtcd) AlertingRules ¶
AlertingRules mocks base method.
func (*MockEtcd) EXPECT ¶
func (m *MockEtcd) EXPECT() *MockEtcdMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEtcd) ScrapeConfigs ¶
ScrapeConfigs mocks base method.
func (*MockEtcd) ServiceDNSNames ¶
ServiceDNSNames mocks base method.
func (*MockEtcd) SetBackupConfig ¶
func (m *MockEtcd) SetBackupConfig(arg0 *etcd.BackupConfig)
SetBackupConfig mocks base method.
func (*MockEtcd) SetHVPAConfig ¶
func (m *MockEtcd) SetHVPAConfig(arg0 *etcd.HVPAConfig)
SetHVPAConfig mocks base method.
func (*MockEtcd) SetSecrets ¶
SetSecrets mocks base method.
func (*MockEtcd) Snapshot ¶
func (m *MockEtcd) Snapshot(arg0 context.Context, arg1 kubernetes.PodExecutor) error
Snapshot mocks base method.
type MockEtcdMockRecorder ¶
type MockEtcdMockRecorder struct {
// contains filtered or unexported fields
}
MockEtcdMockRecorder is the mock recorder for MockEtcd.
func (*MockEtcdMockRecorder) AlertingRules ¶
func (mr *MockEtcdMockRecorder) AlertingRules() *gomock.Call
AlertingRules indicates an expected call of AlertingRules.
func (*MockEtcdMockRecorder) Deploy ¶
func (mr *MockEtcdMockRecorder) Deploy(arg0 interface{}) *gomock.Call
Deploy indicates an expected call of Deploy.
func (*MockEtcdMockRecorder) Destroy ¶
func (mr *MockEtcdMockRecorder) Destroy(arg0 interface{}) *gomock.Call
Destroy indicates an expected call of Destroy.
func (*MockEtcdMockRecorder) ScrapeConfigs ¶
func (mr *MockEtcdMockRecorder) ScrapeConfigs() *gomock.Call
ScrapeConfigs indicates an expected call of ScrapeConfigs.
func (*MockEtcdMockRecorder) ServiceDNSNames ¶
func (mr *MockEtcdMockRecorder) ServiceDNSNames() *gomock.Call
ServiceDNSNames indicates an expected call of ServiceDNSNames.
func (*MockEtcdMockRecorder) SetBackupConfig ¶
func (mr *MockEtcdMockRecorder) SetBackupConfig(arg0 interface{}) *gomock.Call
SetBackupConfig indicates an expected call of SetBackupConfig.
func (*MockEtcdMockRecorder) SetHVPAConfig ¶
func (mr *MockEtcdMockRecorder) SetHVPAConfig(arg0 interface{}) *gomock.Call
SetHVPAConfig indicates an expected call of SetHVPAConfig.
func (*MockEtcdMockRecorder) SetSecrets ¶
func (mr *MockEtcdMockRecorder) SetSecrets(arg0 interface{}) *gomock.Call
SetSecrets indicates an expected call of SetSecrets.
func (*MockEtcdMockRecorder) Snapshot ¶
func (mr *MockEtcdMockRecorder) Snapshot(arg0, arg1 interface{}) *gomock.Call
Snapshot indicates an expected call of Snapshot.
func (*MockEtcdMockRecorder) Wait ¶
func (mr *MockEtcdMockRecorder) Wait(arg0 interface{}) *gomock.Call
Wait indicates an expected call of Wait.
func (*MockEtcdMockRecorder) WaitCleanup ¶
func (mr *MockEtcdMockRecorder) WaitCleanup(arg0 interface{}) *gomock.Call
WaitCleanup indicates an expected call of WaitCleanup.