mock

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: Apache-2.0 Imports: 8 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) CreateRuntimeObject added in v0.10.0

func (m *MockClient) CreateRuntimeObject(arg0 runtime.Object) error

CreateRuntimeObject mocks base method.

func (*MockClient) DeleteRuntimeObject added in v0.10.0

func (m *MockClient) DeleteRuntimeObject(arg0 runtime.Object) error

DeleteRuntimeObject 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) (*v1beta1.Experiment, error)

GetExperiment mocks base method.

func (*MockClient) GetExperimentList

func (m *MockClient) GetExperimentList(arg0 ...string) (*v1beta1.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) (*v1beta10.Suggestion, error)

GetSuggestion mocks base method.

func (*MockClient) GetTrial

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

GetTrial mocks base method.

func (*MockClient) GetTrialList

func (m *MockClient) GetTrialList(arg0 string, arg1 ...string) (*v1beta11.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) UpdateRuntimeObject added in v0.10.0

func (m *MockClient) UpdateRuntimeObject(arg0 runtime.Object) error

UpdateRuntimeObject mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) CreateRuntimeObject added in v0.10.0

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

CreateRuntimeObject indicates an expected call of CreateRuntimeObject.

func (*MockClientMockRecorder) DeleteRuntimeObject added in v0.10.0

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

DeleteRuntimeObject indicates an expected call of DeleteRuntimeObject.

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) UpdateRuntimeObject added in v0.10.0

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

UpdateRuntimeObject indicates an expected call of UpdateRuntimeObject.

Jump to

Keyboard shortcuts

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