Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) CreateExperiment(arg0 *v1alpha2.Experiment, arg1 ...string) error
- func (m *MockClient) DeleteExperiment(arg0 *v1alpha2.Experiment, arg1 ...string) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetConfigMap(arg0 string, arg1 ...string) (map[string]string, error)
- func (m *MockClient) GetExperiment(arg0 string, arg1 ...string) (*v1alpha2.Experiment, error)
- func (m *MockClient) GetExperimentList(arg0 ...string) (*v1alpha2.ExperimentList, error)
- func (m *MockClient) GetMetricsCollectorTemplates(arg0 ...string) (map[string]string, error)
- func (m *MockClient) GetTrialList(arg0 string, arg1 ...string) (*v1alpha20.TrialList, error)
- func (m *MockClient) GetTrialTemplates(arg0 ...string) (map[string]string, error)
- func (m *MockClient) InjectClient(arg0 client.Client)
- func (m *MockClient) UpdateMetricsCollectorTemplates(arg0 map[string]string, arg1 ...string) error
- func (m *MockClient) UpdateTrialTemplates(arg0 map[string]string, arg1 ...string) error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) CreateExperiment(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteExperiment(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetConfigMap(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetExperiment(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetExperimentList(arg0 ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetMetricsCollectorTemplates(arg0 ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetTrialList(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetTrialTemplates(arg0 ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InjectClient(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateMetricsCollectorTemplates(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateTrialTemplates(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) CreateExperiment ¶
func (m *MockClient) CreateExperiment(arg0 *v1alpha2.Experiment, arg1 ...string) error
CreateExperiment mocks base method
func (*MockClient) DeleteExperiment ¶
func (m *MockClient) DeleteExperiment(arg0 *v1alpha2.Experiment, arg1 ...string) error
DeleteExperiment mocks base method
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) GetConfigMap ¶
GetConfigMap mocks base method
func (*MockClient) GetExperiment ¶
func (m *MockClient) GetExperiment(arg0 string, arg1 ...string) (*v1alpha2.Experiment, error)
GetExperiment mocks base method
func (*MockClient) GetExperimentList ¶
func (m *MockClient) GetExperimentList(arg0 ...string) (*v1alpha2.ExperimentList, error)
GetExperimentList mocks base method
func (*MockClient) GetMetricsCollectorTemplates ¶
func (m *MockClient) GetMetricsCollectorTemplates(arg0 ...string) (map[string]string, error)
GetMetricsCollectorTemplates mocks base method
func (*MockClient) GetTrialList ¶
GetTrialList mocks base method
func (*MockClient) GetTrialTemplates ¶
func (m *MockClient) GetTrialTemplates(arg0 ...string) (map[string]string, error)
GetTrialTemplates mocks base method
func (*MockClient) InjectClient ¶
func (m *MockClient) InjectClient(arg0 client.Client)
InjectClient mocks base method
func (*MockClient) UpdateMetricsCollectorTemplates ¶
func (m *MockClient) UpdateMetricsCollectorTemplates(arg0 map[string]string, arg1 ...string) error
UpdateMetricsCollectorTemplates mocks base method
func (*MockClient) UpdateTrialTemplates ¶
func (m *MockClient) UpdateTrialTemplates(arg0 map[string]string, arg1 ...string) error
UpdateTrialTemplates mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) CreateExperiment ¶
func (mr *MockClientMockRecorder) CreateExperiment(arg0 interface{}, arg1 ...interface{}) *gomock.Call
CreateExperiment indicates an expected call of CreateExperiment
func (*MockClientMockRecorder) DeleteExperiment ¶
func (mr *MockClientMockRecorder) DeleteExperiment(arg0 interface{}, arg1 ...interface{}) *gomock.Call
DeleteExperiment indicates an expected call of DeleteExperiment
func (*MockClientMockRecorder) GetConfigMap ¶
func (mr *MockClientMockRecorder) GetConfigMap(arg0 interface{}, arg1 ...interface{}) *gomock.Call
GetConfigMap indicates an expected call of GetConfigMap
func (*MockClientMockRecorder) GetExperiment ¶
func (mr *MockClientMockRecorder) GetExperiment(arg0 interface{}, arg1 ...interface{}) *gomock.Call
GetExperiment indicates an expected call of GetExperiment
func (*MockClientMockRecorder) GetExperimentList ¶
func (mr *MockClientMockRecorder) GetExperimentList(arg0 ...interface{}) *gomock.Call
GetExperimentList indicates an expected call of GetExperimentList
func (*MockClientMockRecorder) GetMetricsCollectorTemplates ¶
func (mr *MockClientMockRecorder) GetMetricsCollectorTemplates(arg0 ...interface{}) *gomock.Call
GetMetricsCollectorTemplates indicates an expected call of GetMetricsCollectorTemplates
func (*MockClientMockRecorder) GetTrialList ¶
func (mr *MockClientMockRecorder) GetTrialList(arg0 interface{}, arg1 ...interface{}) *gomock.Call
GetTrialList indicates an expected call of GetTrialList
func (*MockClientMockRecorder) GetTrialTemplates ¶
func (mr *MockClientMockRecorder) GetTrialTemplates(arg0 ...interface{}) *gomock.Call
GetTrialTemplates indicates an expected call of GetTrialTemplates
func (*MockClientMockRecorder) InjectClient ¶
func (mr *MockClientMockRecorder) InjectClient(arg0 interface{}) *gomock.Call
InjectClient indicates an expected call of InjectClient
func (*MockClientMockRecorder) UpdateMetricsCollectorTemplates ¶
func (mr *MockClientMockRecorder) UpdateMetricsCollectorTemplates(arg0 interface{}, arg1 ...interface{}) *gomock.Call
UpdateMetricsCollectorTemplates indicates an expected call of UpdateMetricsCollectorTemplates
func (*MockClientMockRecorder) UpdateTrialTemplates ¶
func (mr *MockClientMockRecorder) UpdateTrialTemplates(arg0 interface{}, arg1 ...interface{}) *gomock.Call
UpdateTrialTemplates indicates an expected call of UpdateTrialTemplates