Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockEarlyStoppingClient
- func (m *MockEarlyStoppingClient) EXPECT() *MockEarlyStoppingClientMockRecorder
- func (m *MockEarlyStoppingClient) GetEarlyStoppingRules(arg0 context.Context, arg1 *api_v1_beta1.GetEarlyStoppingRulesRequest, ...) (*api_v1_beta1.GetEarlyStoppingRulesReply, error)
- func (m *MockEarlyStoppingClient) SetTrialStatus(arg0 context.Context, arg1 *api_v1_beta1.SetTrialStatusRequest, ...) (*api_v1_beta1.SetTrialStatusReply, error)
- type MockEarlyStoppingClientMockRecorder
- type MockSuggestionClient
- func (m *MockSuggestionClient) EXPECT() *MockSuggestionClientMockRecorder
- func (m *MockSuggestionClient) GetSuggestions(arg0 context.Context, arg1 *api_v1_beta1.GetSuggestionsRequest, ...) (*api_v1_beta1.GetSuggestionsReply, error)
- func (m *MockSuggestionClient) ValidateAlgorithmSettings(arg0 context.Context, arg1 *api_v1_beta1.ValidateAlgorithmSettingsRequest, ...) (*api_v1_beta1.ValidateAlgorithmSettingsReply, error)
- type MockSuggestionClientMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEarlyStoppingClient ¶ added in v0.10.0
type MockEarlyStoppingClient struct {
// contains filtered or unexported fields
}
MockEarlyStoppingClient is a mock of EarlyStoppingClient interface.
func NewMockEarlyStoppingClient ¶ added in v0.10.0
func NewMockEarlyStoppingClient(ctrl *gomock.Controller) *MockEarlyStoppingClient
NewMockEarlyStoppingClient creates a new mock instance.
func (*MockEarlyStoppingClient) EXPECT ¶ added in v0.10.0
func (m *MockEarlyStoppingClient) EXPECT() *MockEarlyStoppingClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEarlyStoppingClient) GetEarlyStoppingRules ¶ added in v0.10.0
func (m *MockEarlyStoppingClient) GetEarlyStoppingRules(arg0 context.Context, arg1 *api_v1_beta1.GetEarlyStoppingRulesRequest, arg2 ...grpc.CallOption) (*api_v1_beta1.GetEarlyStoppingRulesReply, error)
GetEarlyStoppingRules mocks base method.
func (*MockEarlyStoppingClient) SetTrialStatus ¶ added in v0.10.0
func (m *MockEarlyStoppingClient) SetTrialStatus(arg0 context.Context, arg1 *api_v1_beta1.SetTrialStatusRequest, arg2 ...grpc.CallOption) (*api_v1_beta1.SetTrialStatusReply, error)
SetTrialStatus mocks base method.
type MockEarlyStoppingClientMockRecorder ¶ added in v0.10.0
type MockEarlyStoppingClientMockRecorder struct {
// contains filtered or unexported fields
}
MockEarlyStoppingClientMockRecorder is the mock recorder for MockEarlyStoppingClient.
func (*MockEarlyStoppingClientMockRecorder) GetEarlyStoppingRules ¶ added in v0.10.0
func (mr *MockEarlyStoppingClientMockRecorder) GetEarlyStoppingRules(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetEarlyStoppingRules indicates an expected call of GetEarlyStoppingRules.
func (*MockEarlyStoppingClientMockRecorder) SetTrialStatus ¶ added in v0.10.0
func (mr *MockEarlyStoppingClientMockRecorder) SetTrialStatus(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SetTrialStatus indicates an expected call of SetTrialStatus.
type MockSuggestionClient ¶
type MockSuggestionClient struct {
// contains filtered or unexported fields
}
MockSuggestionClient is a mock of SuggestionClient interface.
func NewMockSuggestionClient ¶
func NewMockSuggestionClient(ctrl *gomock.Controller) *MockSuggestionClient
NewMockSuggestionClient creates a new mock instance.
func (*MockSuggestionClient) EXPECT ¶
func (m *MockSuggestionClient) EXPECT() *MockSuggestionClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSuggestionClient) GetSuggestions ¶
func (m *MockSuggestionClient) GetSuggestions(arg0 context.Context, arg1 *api_v1_beta1.GetSuggestionsRequest, arg2 ...grpc.CallOption) (*api_v1_beta1.GetSuggestionsReply, error)
GetSuggestions mocks base method.
func (*MockSuggestionClient) ValidateAlgorithmSettings ¶
func (m *MockSuggestionClient) ValidateAlgorithmSettings(arg0 context.Context, arg1 *api_v1_beta1.ValidateAlgorithmSettingsRequest, arg2 ...grpc.CallOption) (*api_v1_beta1.ValidateAlgorithmSettingsReply, error)
ValidateAlgorithmSettings mocks base method.
type MockSuggestionClientMockRecorder ¶
type MockSuggestionClientMockRecorder struct {
// contains filtered or unexported fields
}
MockSuggestionClientMockRecorder is the mock recorder for MockSuggestionClient.
func (*MockSuggestionClientMockRecorder) GetSuggestions ¶
func (mr *MockSuggestionClientMockRecorder) GetSuggestions(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetSuggestions indicates an expected call of GetSuggestions.
func (*MockSuggestionClientMockRecorder) ValidateAlgorithmSettings ¶
func (mr *MockSuggestionClientMockRecorder) ValidateAlgorithmSettings(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ValidateAlgorithmSettings indicates an expected call of ValidateAlgorithmSettings.