mock

package
v0.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

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

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) (v1beta1.EarlyStoppingConfig, error)

GetEarlyStoppingConfigData mocks base method.

func (*MockGenerator) GetMetricsCollectorConfigData added in v0.10.0

func (m *MockGenerator) GetMetricsCollectorConfigData(arg0 v1beta10.CollectorKind) (v1beta1.MetricsCollectorConfig, error)

GetMetricsCollectorConfigData mocks base method.

func (*MockGenerator) GetRunSpecWithHyperParameters

func (m *MockGenerator) GetRunSpecWithHyperParameters(arg0 *v1beta11.Experiment, arg1, arg2 string, arg3 []v1beta10.ParameterAssignment) (*unstructured.Unstructured, error)

GetRunSpecWithHyperParameters mocks base method.

func (*MockGenerator) GetSuggestionConfigData

func (m *MockGenerator) GetSuggestionConfigData(arg0 string) (v1beta1.SuggestionConfig, error)

GetSuggestionConfigData mocks base method.

func (*MockGenerator) GetTrialTemplate added in v0.10.0

func (m *MockGenerator) GetTrialTemplate(arg0 *v1beta11.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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL