mock

package
v0.6.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2019 License: Apache-2.0 Imports: 5 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 MockVizierDBInterface

type MockVizierDBInterface struct {
	// contains filtered or unexported fields
}

MockVizierDBInterface is a mock of VizierDBInterface interface

func NewMockVizierDBInterface

func NewMockVizierDBInterface(ctrl *gomock.Controller) *MockVizierDBInterface

NewMockVizierDBInterface creates a new mock instance

func (*MockVizierDBInterface) CreateStudy

func (m *MockVizierDBInterface) CreateStudy(arg0 *v1alpha1.StudyConfig) (string, error)

CreateStudy mocks base method

func (*MockVizierDBInterface) CreateTrial

func (m *MockVizierDBInterface) CreateTrial(arg0 *v1alpha1.Trial) error

CreateTrial mocks base method

func (*MockVizierDBInterface) CreateWorker

func (m *MockVizierDBInterface) CreateWorker(arg0 *v1alpha1.Worker) (string, error)

CreateWorker mocks base method

func (*MockVizierDBInterface) DBInit

func (m *MockVizierDBInterface) DBInit()

DBInit mocks base method

func (*MockVizierDBInterface) DeleteStudy

func (m *MockVizierDBInterface) DeleteStudy(arg0 string) error

DeleteStudy mocks base method

func (*MockVizierDBInterface) DeleteTrial

func (m *MockVizierDBInterface) DeleteTrial(arg0 string) error

DeleteTrial mocks base method

func (*MockVizierDBInterface) DeleteWorker

func (m *MockVizierDBInterface) DeleteWorker(arg0 string) error

DeleteWorker mocks base method

func (*MockVizierDBInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockVizierDBInterface) GetEarlyStopParam

func (m *MockVizierDBInterface) GetEarlyStopParam(arg0 string) ([]*v1alpha1.EarlyStoppingParameter, error)

GetEarlyStopParam mocks base method

func (*MockVizierDBInterface) GetEarlyStopParamList

func (m *MockVizierDBInterface) GetEarlyStopParamList(arg0 string) ([]*v1alpha1.EarlyStoppingParameterSet, error)

GetEarlyStopParamList mocks base method

func (*MockVizierDBInterface) GetStudy

func (m *MockVizierDBInterface) GetStudy(arg0 string) (*v1alpha1.StudyConfig, error)

GetStudy mocks base method

func (*MockVizierDBInterface) GetStudyList

func (m *MockVizierDBInterface) GetStudyList() ([]string, error)

GetStudyList mocks base method

func (*MockVizierDBInterface) GetSuggestionParam

func (m *MockVizierDBInterface) GetSuggestionParam(arg0 string) ([]*v1alpha1.SuggestionParameter, error)

GetSuggestionParam mocks base method

func (*MockVizierDBInterface) GetSuggestionParamList

func (m *MockVizierDBInterface) GetSuggestionParamList(arg0 string) ([]*v1alpha1.SuggestionParameterSet, error)

GetSuggestionParamList mocks base method

func (*MockVizierDBInterface) GetTrial

func (m *MockVizierDBInterface) GetTrial(arg0 string) (*v1alpha1.Trial, error)

GetTrial mocks base method

func (*MockVizierDBInterface) GetTrialList

func (m *MockVizierDBInterface) GetTrialList(arg0 string) ([]*v1alpha1.Trial, error)

GetTrialList mocks base method

func (*MockVizierDBInterface) GetWorker

func (m *MockVizierDBInterface) GetWorker(arg0 string) (*v1alpha1.Worker, error)

GetWorker mocks base method

func (*MockVizierDBInterface) GetWorkerFullInfo

func (m *MockVizierDBInterface) GetWorkerFullInfo(arg0, arg1, arg2 string, arg3 bool) (*v1alpha1.GetWorkerFullInfoReply, error)

GetWorkerFullInfo mocks base method

func (*MockVizierDBInterface) GetWorkerList

func (m *MockVizierDBInterface) GetWorkerList(arg0, arg1 string) ([]*v1alpha1.Worker, error)

GetWorkerList mocks base method

func (*MockVizierDBInterface) GetWorkerLogs

func (m *MockVizierDBInterface) GetWorkerLogs(arg0 string, arg1 *v1alpha10.GetWorkerLogOpts) ([]*v1alpha10.WorkerLog, error)

GetWorkerLogs mocks base method

func (*MockVizierDBInterface) GetWorkerStatus

func (m *MockVizierDBInterface) GetWorkerStatus(arg0 string) (*v1alpha1.State, error)

GetWorkerStatus mocks base method

func (*MockVizierDBInterface) GetWorkerTimestamp

func (m *MockVizierDBInterface) GetWorkerTimestamp(arg0 string) (*time.Time, error)

GetWorkerTimestamp mocks base method

func (*MockVizierDBInterface) SelectOne

func (m *MockVizierDBInterface) SelectOne() error

SelectOne mocks base method

func (*MockVizierDBInterface) SetEarlyStopParam

func (m *MockVizierDBInterface) SetEarlyStopParam(arg0, arg1 string, arg2 []*v1alpha1.EarlyStoppingParameter) (string, error)

SetEarlyStopParam mocks base method

func (*MockVizierDBInterface) SetSuggestionParam

func (m *MockVizierDBInterface) SetSuggestionParam(arg0, arg1 string, arg2 []*v1alpha1.SuggestionParameter) (string, error)

SetSuggestionParam mocks base method

func (*MockVizierDBInterface) StoreWorkerLogs

func (m *MockVizierDBInterface) StoreWorkerLogs(arg0 string, arg1 []*v1alpha1.MetricsLog) error

StoreWorkerLogs mocks base method

func (*MockVizierDBInterface) UpdateEarlyStopParam

func (m *MockVizierDBInterface) UpdateEarlyStopParam(arg0 string, arg1 []*v1alpha1.EarlyStoppingParameter) error

UpdateEarlyStopParam mocks base method

func (*MockVizierDBInterface) UpdateStudy

func (m *MockVizierDBInterface) UpdateStudy(arg0 string, arg1 *v1alpha1.StudyConfig) error

UpdateStudy mocks base method

func (*MockVizierDBInterface) UpdateSuggestionParam

func (m *MockVizierDBInterface) UpdateSuggestionParam(arg0 string, arg1 []*v1alpha1.SuggestionParameter) error

UpdateSuggestionParam mocks base method

func (*MockVizierDBInterface) UpdateTrial

func (m *MockVizierDBInterface) UpdateTrial(arg0 *v1alpha1.Trial) error

UpdateTrial mocks base method

func (*MockVizierDBInterface) UpdateWorker

func (m *MockVizierDBInterface) UpdateWorker(arg0 string, arg1 v1alpha1.State) error

UpdateWorker mocks base method

type MockVizierDBInterfaceMockRecorder

type MockVizierDBInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockVizierDBInterfaceMockRecorder is the mock recorder for MockVizierDBInterface

func (*MockVizierDBInterfaceMockRecorder) CreateStudy

func (mr *MockVizierDBInterfaceMockRecorder) CreateStudy(arg0 interface{}) *gomock.Call

CreateStudy indicates an expected call of CreateStudy

func (*MockVizierDBInterfaceMockRecorder) CreateTrial

func (mr *MockVizierDBInterfaceMockRecorder) CreateTrial(arg0 interface{}) *gomock.Call

CreateTrial indicates an expected call of CreateTrial

func (*MockVizierDBInterfaceMockRecorder) CreateWorker

func (mr *MockVizierDBInterfaceMockRecorder) CreateWorker(arg0 interface{}) *gomock.Call

CreateWorker indicates an expected call of CreateWorker

func (*MockVizierDBInterfaceMockRecorder) DBInit

DBInit indicates an expected call of DBInit

func (*MockVizierDBInterfaceMockRecorder) DeleteStudy

func (mr *MockVizierDBInterfaceMockRecorder) DeleteStudy(arg0 interface{}) *gomock.Call

DeleteStudy indicates an expected call of DeleteStudy

func (*MockVizierDBInterfaceMockRecorder) DeleteTrial

func (mr *MockVizierDBInterfaceMockRecorder) DeleteTrial(arg0 interface{}) *gomock.Call

DeleteTrial indicates an expected call of DeleteTrial

func (*MockVizierDBInterfaceMockRecorder) DeleteWorker

func (mr *MockVizierDBInterfaceMockRecorder) DeleteWorker(arg0 interface{}) *gomock.Call

DeleteWorker indicates an expected call of DeleteWorker

func (*MockVizierDBInterfaceMockRecorder) GetEarlyStopParam

func (mr *MockVizierDBInterfaceMockRecorder) GetEarlyStopParam(arg0 interface{}) *gomock.Call

GetEarlyStopParam indicates an expected call of GetEarlyStopParam

func (*MockVizierDBInterfaceMockRecorder) GetEarlyStopParamList

func (mr *MockVizierDBInterfaceMockRecorder) GetEarlyStopParamList(arg0 interface{}) *gomock.Call

GetEarlyStopParamList indicates an expected call of GetEarlyStopParamList

func (*MockVizierDBInterfaceMockRecorder) GetStudy

func (mr *MockVizierDBInterfaceMockRecorder) GetStudy(arg0 interface{}) *gomock.Call

GetStudy indicates an expected call of GetStudy

func (*MockVizierDBInterfaceMockRecorder) GetStudyList

func (mr *MockVizierDBInterfaceMockRecorder) GetStudyList() *gomock.Call

GetStudyList indicates an expected call of GetStudyList

func (*MockVizierDBInterfaceMockRecorder) GetSuggestionParam

func (mr *MockVizierDBInterfaceMockRecorder) GetSuggestionParam(arg0 interface{}) *gomock.Call

GetSuggestionParam indicates an expected call of GetSuggestionParam

func (*MockVizierDBInterfaceMockRecorder) GetSuggestionParamList

func (mr *MockVizierDBInterfaceMockRecorder) GetSuggestionParamList(arg0 interface{}) *gomock.Call

GetSuggestionParamList indicates an expected call of GetSuggestionParamList

func (*MockVizierDBInterfaceMockRecorder) GetTrial

func (mr *MockVizierDBInterfaceMockRecorder) GetTrial(arg0 interface{}) *gomock.Call

GetTrial indicates an expected call of GetTrial

func (*MockVizierDBInterfaceMockRecorder) GetTrialList

func (mr *MockVizierDBInterfaceMockRecorder) GetTrialList(arg0 interface{}) *gomock.Call

GetTrialList indicates an expected call of GetTrialList

func (*MockVizierDBInterfaceMockRecorder) GetWorker

func (mr *MockVizierDBInterfaceMockRecorder) GetWorker(arg0 interface{}) *gomock.Call

GetWorker indicates an expected call of GetWorker

func (*MockVizierDBInterfaceMockRecorder) GetWorkerFullInfo

func (mr *MockVizierDBInterfaceMockRecorder) GetWorkerFullInfo(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetWorkerFullInfo indicates an expected call of GetWorkerFullInfo

func (*MockVizierDBInterfaceMockRecorder) GetWorkerList

func (mr *MockVizierDBInterfaceMockRecorder) GetWorkerList(arg0, arg1 interface{}) *gomock.Call

GetWorkerList indicates an expected call of GetWorkerList

func (*MockVizierDBInterfaceMockRecorder) GetWorkerLogs

func (mr *MockVizierDBInterfaceMockRecorder) GetWorkerLogs(arg0, arg1 interface{}) *gomock.Call

GetWorkerLogs indicates an expected call of GetWorkerLogs

func (*MockVizierDBInterfaceMockRecorder) GetWorkerStatus

func (mr *MockVizierDBInterfaceMockRecorder) GetWorkerStatus(arg0 interface{}) *gomock.Call

GetWorkerStatus indicates an expected call of GetWorkerStatus

func (*MockVizierDBInterfaceMockRecorder) GetWorkerTimestamp

func (mr *MockVizierDBInterfaceMockRecorder) GetWorkerTimestamp(arg0 interface{}) *gomock.Call

GetWorkerTimestamp indicates an expected call of GetWorkerTimestamp

func (*MockVizierDBInterfaceMockRecorder) SelectOne

SelectOne indicates an expected call of SelectOne

func (*MockVizierDBInterfaceMockRecorder) SetEarlyStopParam

func (mr *MockVizierDBInterfaceMockRecorder) SetEarlyStopParam(arg0, arg1, arg2 interface{}) *gomock.Call

SetEarlyStopParam indicates an expected call of SetEarlyStopParam

func (*MockVizierDBInterfaceMockRecorder) SetSuggestionParam

func (mr *MockVizierDBInterfaceMockRecorder) SetSuggestionParam(arg0, arg1, arg2 interface{}) *gomock.Call

SetSuggestionParam indicates an expected call of SetSuggestionParam

func (*MockVizierDBInterfaceMockRecorder) StoreWorkerLogs

func (mr *MockVizierDBInterfaceMockRecorder) StoreWorkerLogs(arg0, arg1 interface{}) *gomock.Call

StoreWorkerLogs indicates an expected call of StoreWorkerLogs

func (*MockVizierDBInterfaceMockRecorder) UpdateEarlyStopParam

func (mr *MockVizierDBInterfaceMockRecorder) UpdateEarlyStopParam(arg0, arg1 interface{}) *gomock.Call

UpdateEarlyStopParam indicates an expected call of UpdateEarlyStopParam

func (*MockVizierDBInterfaceMockRecorder) UpdateStudy

func (mr *MockVizierDBInterfaceMockRecorder) UpdateStudy(arg0, arg1 interface{}) *gomock.Call

UpdateStudy indicates an expected call of UpdateStudy

func (*MockVizierDBInterfaceMockRecorder) UpdateSuggestionParam

func (mr *MockVizierDBInterfaceMockRecorder) UpdateSuggestionParam(arg0, arg1 interface{}) *gomock.Call

UpdateSuggestionParam indicates an expected call of UpdateSuggestionParam

func (*MockVizierDBInterfaceMockRecorder) UpdateTrial

func (mr *MockVizierDBInterfaceMockRecorder) UpdateTrial(arg0 interface{}) *gomock.Call

UpdateTrial indicates an expected call of UpdateTrial

func (*MockVizierDBInterfaceMockRecorder) UpdateWorker

func (mr *MockVizierDBInterfaceMockRecorder) UpdateWorker(arg0, arg1 interface{}) *gomock.Call

UpdateWorker indicates an expected call of UpdateWorker

Jump to

Keyboard shortcuts

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