mock

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 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 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 *v1alpha3.Experiment, arg1 ...string) error

CreateExperiment mocks base method

func (*MockClient) DeleteExperiment

func (m *MockClient) DeleteExperiment(arg0 *v1alpha3.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) GetClient

func (m *MockClient) GetClient() client.Client

GetClient mocks base method

func (*MockClient) GetConfigMap

func (m *MockClient) GetConfigMap(arg0 string, arg1 ...string) (map[string]string, error)

GetConfigMap mocks base method

func (*MockClient) GetExperiment

func (m *MockClient) GetExperiment(arg0 string, arg1 ...string) (*v1alpha3.Experiment, error)

GetExperiment mocks base method

func (*MockClient) GetExperimentList

func (m *MockClient) GetExperimentList(arg0 ...string) (*v1alpha3.ExperimentList, error)

GetExperimentList mocks base method

func (*MockClient) GetNamespaceList

func (m *MockClient) GetNamespaceList() (*v1.NamespaceList, error)

GetNamespaceList mocks base method

func (*MockClient) GetSuggestion

func (m *MockClient) GetSuggestion(arg0 string, arg1 ...string) (*v1alpha30.Suggestion, error)

GetSuggestion mocks base method

func (*MockClient) GetTrial

func (m *MockClient) GetTrial(arg0 string, arg1 ...string) (*v1alpha31.Trial, error)

GetTrial mocks base method

func (*MockClient) GetTrialList

func (m *MockClient) GetTrialList(arg0 string, arg1 ...string) (*v1alpha31.TrialList, error)

GetTrialList mocks base method

func (*MockClient) GetTrialTemplates

func (m *MockClient) GetTrialTemplates(arg0 ...string) (*v1.ConfigMapList, error)

GetTrialTemplates mocks base method

func (*MockClient) InjectClient

func (m *MockClient) InjectClient(arg0 client.Client)

InjectClient mocks base method

func (*MockClient) UpdateConfigMap

func (m *MockClient) UpdateConfigMap(arg0 *v1.ConfigMap) error

UpdateConfigMap mocks base method

func (*MockClient) UpdateExperiment

func (m *MockClient) UpdateExperiment(arg0 *v1alpha3.Experiment, arg1 ...string) error

UpdateExperiment 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) GetClient

func (mr *MockClientMockRecorder) GetClient() *gomock.Call

GetClient indicates an expected call of GetClient

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) GetNamespaceList

func (mr *MockClientMockRecorder) GetNamespaceList() *gomock.Call

GetNamespaceList indicates an expected call of GetNamespaceList

func (*MockClientMockRecorder) GetSuggestion

func (mr *MockClientMockRecorder) GetSuggestion(arg0 interface{}, arg1 ...interface{}) *gomock.Call

GetSuggestion indicates an expected call of GetSuggestion

func (*MockClientMockRecorder) GetTrial

func (mr *MockClientMockRecorder) GetTrial(arg0 interface{}, arg1 ...interface{}) *gomock.Call

GetTrial indicates an expected call of GetTrial

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) UpdateConfigMap

func (mr *MockClientMockRecorder) UpdateConfigMap(arg0 interface{}) *gomock.Call

UpdateConfigMap indicates an expected call of UpdateConfigMap

func (*MockClientMockRecorder) UpdateExperiment

func (mr *MockClientMockRecorder) UpdateExperiment(arg0 interface{}, arg1 ...interface{}) *gomock.Call

UpdateExperiment indicates an expected call of UpdateExperiment

Jump to

Keyboard shortcuts

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