Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockGenerator
- func (m *MockGenerator) EXPECT() *MockGeneratorMockRecorder
- func (m *MockGenerator) GetEarlyStoppingConfigData(arg0 string) (katibconfig.EarlyStoppingConfig, error)
- func (m *MockGenerator) GetMetricsCollectorConfigData(arg0 v1beta1.CollectorKind) (katibconfig.MetricsCollectorConfig, error)
- func (m *MockGenerator) GetRunSpecWithHyperParameters(arg0 *v1beta10.Experiment, arg1, arg2 string, ...) (*unstructured.Unstructured, error)
- func (m *MockGenerator) GetSuggestionConfigData(arg0 string) (katibconfig.SuggestionConfig, error)
- func (m *MockGenerator) GetTrialTemplate(arg0 *v1beta10.Experiment) (string, error)
- func (m *MockGenerator) InjectClient(arg0 client.Client)
- type MockGeneratorMockRecorder
- func (mr *MockGeneratorMockRecorder) GetEarlyStoppingConfigData(arg0 interface{}) *gomock.Call
- func (mr *MockGeneratorMockRecorder) GetMetricsCollectorConfigData(arg0 interface{}) *gomock.Call
- func (mr *MockGeneratorMockRecorder) GetRunSpecWithHyperParameters(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockGeneratorMockRecorder) GetSuggestionConfigData(arg0 interface{}) *gomock.Call
- func (mr *MockGeneratorMockRecorder) GetTrialTemplate(arg0 interface{}) *gomock.Call
- func (mr *MockGeneratorMockRecorder) InjectClient(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGenerator ¶
type MockGenerator struct {
// contains filtered or unexported fields
}
MockGenerator is a mock of Generator interface.
func NewMockGenerator ¶
func NewMockGenerator(ctrl *gomock.Controller) *MockGenerator
NewMockGenerator creates a new mock instance.
func (*MockGenerator) EXPECT ¶
func (m *MockGenerator) EXPECT() *MockGeneratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGenerator) GetEarlyStoppingConfigData ¶ added in v0.13.0
func (m *MockGenerator) GetEarlyStoppingConfigData(arg0 string) (katibconfig.EarlyStoppingConfig, error)
GetEarlyStoppingConfigData mocks base method.
func (*MockGenerator) GetMetricsCollectorConfigData ¶ added in v0.10.0
func (m *MockGenerator) GetMetricsCollectorConfigData(arg0 v1beta1.CollectorKind) (katibconfig.MetricsCollectorConfig, error)
GetMetricsCollectorConfigData mocks base method.
func (*MockGenerator) GetRunSpecWithHyperParameters ¶
func (m *MockGenerator) GetRunSpecWithHyperParameters(arg0 *v1beta10.Experiment, arg1, arg2 string, arg3 []v1beta1.ParameterAssignment) (*unstructured.Unstructured, error)
GetRunSpecWithHyperParameters mocks base method.
func (*MockGenerator) GetSuggestionConfigData ¶
func (m *MockGenerator) GetSuggestionConfigData(arg0 string) (katibconfig.SuggestionConfig, error)
GetSuggestionConfigData mocks base method.
func (*MockGenerator) GetTrialTemplate ¶ added in v0.10.0
func (m *MockGenerator) GetTrialTemplate(arg0 *v1beta10.Experiment) (string, error)
GetTrialTemplate mocks base method.
func (*MockGenerator) InjectClient ¶
func (m *MockGenerator) InjectClient(arg0 client.Client)
InjectClient mocks base method.
type MockGeneratorMockRecorder ¶
type MockGeneratorMockRecorder struct {
// contains filtered or unexported fields
}
MockGeneratorMockRecorder is the mock recorder for MockGenerator.
func (*MockGeneratorMockRecorder) GetEarlyStoppingConfigData ¶ added in v0.13.0
func (mr *MockGeneratorMockRecorder) GetEarlyStoppingConfigData(arg0 interface{}) *gomock.Call
GetEarlyStoppingConfigData indicates an expected call of GetEarlyStoppingConfigData.
func (*MockGeneratorMockRecorder) GetMetricsCollectorConfigData ¶ added in v0.10.0
func (mr *MockGeneratorMockRecorder) GetMetricsCollectorConfigData(arg0 interface{}) *gomock.Call
GetMetricsCollectorConfigData indicates an expected call of GetMetricsCollectorConfigData.
func (*MockGeneratorMockRecorder) GetRunSpecWithHyperParameters ¶
func (mr *MockGeneratorMockRecorder) GetRunSpecWithHyperParameters(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetRunSpecWithHyperParameters indicates an expected call of GetRunSpecWithHyperParameters.
func (*MockGeneratorMockRecorder) GetSuggestionConfigData ¶
func (mr *MockGeneratorMockRecorder) GetSuggestionConfigData(arg0 interface{}) *gomock.Call
GetSuggestionConfigData indicates an expected call of GetSuggestionConfigData.
func (*MockGeneratorMockRecorder) GetTrialTemplate ¶ added in v0.10.0
func (mr *MockGeneratorMockRecorder) GetTrialTemplate(arg0 interface{}) *gomock.Call
GetTrialTemplate indicates an expected call of GetTrialTemplate.
func (*MockGeneratorMockRecorder) InjectClient ¶
func (mr *MockGeneratorMockRecorder) InjectClient(arg0 interface{}) *gomock.Call
InjectClient indicates an expected call of InjectClient.