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