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) ScrapeConfigs() ([]string, error)
- func (m *MockInterface) ServiceDNSNames() []string
- func (m *MockInterface) SetBackupConfig(arg0 *etcd.BackupConfig)
- func (m *MockInterface) SetHVPAConfig(arg0 *etcd.HVPAConfig)
- func (m *MockInterface) SetSecrets(arg0 etcd.Secrets)
- func (m *MockInterface) Snapshot(arg0 context.Context, arg1 kubernetes.PodExecutor) 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) ScrapeConfigs() *gomock.Call
- func (mr *MockInterfaceMockRecorder) ServiceDNSNames() *gomock.Call
- func (mr *MockInterfaceMockRecorder) SetBackupConfig(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) SetHVPAConfig(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) SetSecrets(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 ¶ added in v1.24.0
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶ added in v1.24.0
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) AlertingRules ¶ added in v1.24.0
func (m *MockInterface) AlertingRules() (map[string]string, error)
AlertingRules mocks base method.
func (*MockInterface) Deploy ¶ added in v1.24.0
func (m *MockInterface) Deploy(arg0 context.Context) error
Deploy mocks base method.
func (*MockInterface) Destroy ¶ added in v1.24.0
func (m *MockInterface) Destroy(arg0 context.Context) error
Destroy mocks base method.
func (*MockInterface) EXPECT ¶ added in v1.24.0
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) ScrapeConfigs ¶ added in v1.24.0
func (m *MockInterface) ScrapeConfigs() ([]string, error)
ScrapeConfigs mocks base method.
func (*MockInterface) ServiceDNSNames ¶ added in v1.24.0
func (m *MockInterface) ServiceDNSNames() []string
ServiceDNSNames mocks base method.
func (*MockInterface) SetBackupConfig ¶ added in v1.24.0
func (m *MockInterface) SetBackupConfig(arg0 *etcd.BackupConfig)
SetBackupConfig mocks base method.
func (*MockInterface) SetHVPAConfig ¶ added in v1.24.0
func (m *MockInterface) SetHVPAConfig(arg0 *etcd.HVPAConfig)
SetHVPAConfig mocks base method.
func (*MockInterface) SetSecrets ¶ added in v1.24.0
func (m *MockInterface) SetSecrets(arg0 etcd.Secrets)
SetSecrets mocks base method.
func (*MockInterface) Snapshot ¶ added in v1.24.0
func (m *MockInterface) Snapshot(arg0 context.Context, arg1 kubernetes.PodExecutor) error
Snapshot mocks base method.
func (*MockInterface) Wait ¶ added in v1.24.0
func (m *MockInterface) Wait(arg0 context.Context) error
Wait mocks base method.
func (*MockInterface) WaitCleanup ¶ added in v1.24.0
func (m *MockInterface) WaitCleanup(arg0 context.Context) error
WaitCleanup mocks base method.
type MockInterfaceMockRecorder ¶ added in v1.24.0
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) AlertingRules ¶ added in v1.24.0
func (mr *MockInterfaceMockRecorder) AlertingRules() *gomock.Call
AlertingRules indicates an expected call of AlertingRules.
func (*MockInterfaceMockRecorder) Deploy ¶ added in v1.24.0
func (mr *MockInterfaceMockRecorder) Deploy(arg0 interface{}) *gomock.Call
Deploy indicates an expected call of Deploy.
func (*MockInterfaceMockRecorder) Destroy ¶ added in v1.24.0
func (mr *MockInterfaceMockRecorder) Destroy(arg0 interface{}) *gomock.Call
Destroy indicates an expected call of Destroy.
func (*MockInterfaceMockRecorder) ScrapeConfigs ¶ added in v1.24.0
func (mr *MockInterfaceMockRecorder) ScrapeConfigs() *gomock.Call
ScrapeConfigs indicates an expected call of ScrapeConfigs.
func (*MockInterfaceMockRecorder) ServiceDNSNames ¶ added in v1.24.0
func (mr *MockInterfaceMockRecorder) ServiceDNSNames() *gomock.Call
ServiceDNSNames indicates an expected call of ServiceDNSNames.
func (*MockInterfaceMockRecorder) SetBackupConfig ¶ added in v1.24.0
func (mr *MockInterfaceMockRecorder) SetBackupConfig(arg0 interface{}) *gomock.Call
SetBackupConfig indicates an expected call of SetBackupConfig.
func (*MockInterfaceMockRecorder) SetHVPAConfig ¶ added in v1.24.0
func (mr *MockInterfaceMockRecorder) SetHVPAConfig(arg0 interface{}) *gomock.Call
SetHVPAConfig indicates an expected call of SetHVPAConfig.
func (*MockInterfaceMockRecorder) SetSecrets ¶ added in v1.24.0
func (mr *MockInterfaceMockRecorder) SetSecrets(arg0 interface{}) *gomock.Call
SetSecrets indicates an expected call of SetSecrets.
func (*MockInterfaceMockRecorder) Snapshot ¶ added in v1.24.0
func (mr *MockInterfaceMockRecorder) Snapshot(arg0, arg1 interface{}) *gomock.Call
Snapshot indicates an expected call of Snapshot.
func (*MockInterfaceMockRecorder) Wait ¶ added in v1.24.0
func (mr *MockInterfaceMockRecorder) Wait(arg0 interface{}) *gomock.Call
Wait indicates an expected call of Wait.
func (*MockInterfaceMockRecorder) WaitCleanup ¶ added in v1.24.0
func (mr *MockInterfaceMockRecorder) WaitCleanup(arg0 interface{}) *gomock.Call
WaitCleanup indicates an expected call of WaitCleanup.