Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) ArchiveExperiment(ctx context.Context, in *experiment.ArchiveExperimentRequest, ...) (*experiment.ArchiveExperimentResponse, error)
- func (m *MockClient) ArchiveGoal(ctx context.Context, in *experiment.ArchiveGoalRequest, ...) (*experiment.ArchiveGoalResponse, error)
- func (m *MockClient) Close()
- func (m *MockClient) CreateExperiment(ctx context.Context, in *experiment.CreateExperimentRequest, ...) (*experiment.CreateExperimentResponse, error)
- func (m *MockClient) CreateGoal(ctx context.Context, in *experiment.CreateGoalRequest, opts ...grpc.CallOption) (*experiment.CreateGoalResponse, error)
- func (m *MockClient) DeleteExperiment(ctx context.Context, in *experiment.DeleteExperimentRequest, ...) (*experiment.DeleteExperimentResponse, error)
- func (m *MockClient) DeleteGoal(ctx context.Context, in *experiment.DeleteGoalRequest, opts ...grpc.CallOption) (*experiment.DeleteGoalResponse, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) FinishExperiment(ctx context.Context, in *experiment.FinishExperimentRequest, ...) (*experiment.FinishExperimentResponse, error)
- func (m *MockClient) GetExperiment(ctx context.Context, in *experiment.GetExperimentRequest, ...) (*experiment.GetExperimentResponse, error)
- func (m *MockClient) GetGoal(ctx context.Context, in *experiment.GetGoalRequest, opts ...grpc.CallOption) (*experiment.GetGoalResponse, error)
- func (m *MockClient) ListExperiments(ctx context.Context, in *experiment.ListExperimentsRequest, ...) (*experiment.ListExperimentsResponse, error)
- func (m *MockClient) ListGoals(ctx context.Context, in *experiment.ListGoalsRequest, opts ...grpc.CallOption) (*experiment.ListGoalsResponse, error)
- func (m *MockClient) StartExperiment(ctx context.Context, in *experiment.StartExperimentRequest, ...) (*experiment.StartExperimentResponse, error)
- func (m *MockClient) StopExperiment(ctx context.Context, in *experiment.StopExperimentRequest, ...) (*experiment.StopExperimentResponse, error)
- func (m *MockClient) UpdateExperiment(ctx context.Context, in *experiment.UpdateExperimentRequest, ...) (*experiment.UpdateExperimentResponse, error)
- func (m *MockClient) UpdateGoal(ctx context.Context, in *experiment.UpdateGoalRequest, opts ...grpc.CallOption) (*experiment.UpdateGoalResponse, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) ArchiveExperiment(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ArchiveGoal(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Close() *gomock.Call
- func (mr *MockClientMockRecorder) CreateExperiment(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateGoal(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteExperiment(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteGoal(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) FinishExperiment(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetExperiment(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetGoal(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListExperiments(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListGoals(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) StartExperiment(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) StopExperiment(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateExperiment(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateGoal(ctx, in interface{}, opts ...interface{}) *gomock.Call
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) ArchiveExperiment ¶
func (m *MockClient) ArchiveExperiment(ctx context.Context, in *experiment.ArchiveExperimentRequest, opts ...grpc.CallOption) (*experiment.ArchiveExperimentResponse, error)
ArchiveExperiment mocks base method.
func (*MockClient) ArchiveGoal ¶
func (m *MockClient) ArchiveGoal(ctx context.Context, in *experiment.ArchiveGoalRequest, opts ...grpc.CallOption) (*experiment.ArchiveGoalResponse, error)
ArchiveGoal mocks base method.
func (*MockClient) CreateExperiment ¶
func (m *MockClient) CreateExperiment(ctx context.Context, in *experiment.CreateExperimentRequest, opts ...grpc.CallOption) (*experiment.CreateExperimentResponse, error)
CreateExperiment mocks base method.
func (*MockClient) CreateGoal ¶
func (m *MockClient) CreateGoal(ctx context.Context, in *experiment.CreateGoalRequest, opts ...grpc.CallOption) (*experiment.CreateGoalResponse, error)
CreateGoal mocks base method.
func (*MockClient) DeleteExperiment ¶
func (m *MockClient) DeleteExperiment(ctx context.Context, in *experiment.DeleteExperimentRequest, opts ...grpc.CallOption) (*experiment.DeleteExperimentResponse, error)
DeleteExperiment mocks base method.
func (*MockClient) DeleteGoal ¶
func (m *MockClient) DeleteGoal(ctx context.Context, in *experiment.DeleteGoalRequest, opts ...grpc.CallOption) (*experiment.DeleteGoalResponse, error)
DeleteGoal 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) FinishExperiment ¶
func (m *MockClient) FinishExperiment(ctx context.Context, in *experiment.FinishExperimentRequest, opts ...grpc.CallOption) (*experiment.FinishExperimentResponse, error)
FinishExperiment mocks base method.
func (*MockClient) GetExperiment ¶
func (m *MockClient) GetExperiment(ctx context.Context, in *experiment.GetExperimentRequest, opts ...grpc.CallOption) (*experiment.GetExperimentResponse, error)
GetExperiment mocks base method.
func (*MockClient) GetGoal ¶
func (m *MockClient) GetGoal(ctx context.Context, in *experiment.GetGoalRequest, opts ...grpc.CallOption) (*experiment.GetGoalResponse, error)
GetGoal mocks base method.
func (*MockClient) ListExperiments ¶
func (m *MockClient) ListExperiments(ctx context.Context, in *experiment.ListExperimentsRequest, opts ...grpc.CallOption) (*experiment.ListExperimentsResponse, error)
ListExperiments mocks base method.
func (*MockClient) ListGoals ¶
func (m *MockClient) ListGoals(ctx context.Context, in *experiment.ListGoalsRequest, opts ...grpc.CallOption) (*experiment.ListGoalsResponse, error)
ListGoals mocks base method.
func (*MockClient) StartExperiment ¶
func (m *MockClient) StartExperiment(ctx context.Context, in *experiment.StartExperimentRequest, opts ...grpc.CallOption) (*experiment.StartExperimentResponse, error)
StartExperiment mocks base method.
func (*MockClient) StopExperiment ¶
func (m *MockClient) StopExperiment(ctx context.Context, in *experiment.StopExperimentRequest, opts ...grpc.CallOption) (*experiment.StopExperimentResponse, error)
StopExperiment mocks base method.
func (*MockClient) UpdateExperiment ¶
func (m *MockClient) UpdateExperiment(ctx context.Context, in *experiment.UpdateExperimentRequest, opts ...grpc.CallOption) (*experiment.UpdateExperimentResponse, error)
UpdateExperiment mocks base method.
func (*MockClient) UpdateGoal ¶
func (m *MockClient) UpdateGoal(ctx context.Context, in *experiment.UpdateGoalRequest, opts ...grpc.CallOption) (*experiment.UpdateGoalResponse, error)
UpdateGoal mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) ArchiveExperiment ¶
func (mr *MockClientMockRecorder) ArchiveExperiment(ctx, in interface{}, opts ...interface{}) *gomock.Call
ArchiveExperiment indicates an expected call of ArchiveExperiment.
func (*MockClientMockRecorder) ArchiveGoal ¶
func (mr *MockClientMockRecorder) ArchiveGoal(ctx, in interface{}, opts ...interface{}) *gomock.Call
ArchiveGoal indicates an expected call of ArchiveGoal.
func (*MockClientMockRecorder) Close ¶
func (mr *MockClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockClientMockRecorder) CreateExperiment ¶
func (mr *MockClientMockRecorder) CreateExperiment(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateExperiment indicates an expected call of CreateExperiment.
func (*MockClientMockRecorder) CreateGoal ¶
func (mr *MockClientMockRecorder) CreateGoal(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateGoal indicates an expected call of CreateGoal.
func (*MockClientMockRecorder) DeleteExperiment ¶
func (mr *MockClientMockRecorder) DeleteExperiment(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteExperiment indicates an expected call of DeleteExperiment.
func (*MockClientMockRecorder) DeleteGoal ¶
func (mr *MockClientMockRecorder) DeleteGoal(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteGoal indicates an expected call of DeleteGoal.
func (*MockClientMockRecorder) FinishExperiment ¶
func (mr *MockClientMockRecorder) FinishExperiment(ctx, in interface{}, opts ...interface{}) *gomock.Call
FinishExperiment indicates an expected call of FinishExperiment.
func (*MockClientMockRecorder) GetExperiment ¶
func (mr *MockClientMockRecorder) GetExperiment(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetExperiment indicates an expected call of GetExperiment.
func (*MockClientMockRecorder) GetGoal ¶
func (mr *MockClientMockRecorder) GetGoal(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetGoal indicates an expected call of GetGoal.
func (*MockClientMockRecorder) ListExperiments ¶
func (mr *MockClientMockRecorder) ListExperiments(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListExperiments indicates an expected call of ListExperiments.
func (*MockClientMockRecorder) ListGoals ¶
func (mr *MockClientMockRecorder) ListGoals(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListGoals indicates an expected call of ListGoals.
func (*MockClientMockRecorder) StartExperiment ¶
func (mr *MockClientMockRecorder) StartExperiment(ctx, in interface{}, opts ...interface{}) *gomock.Call
StartExperiment indicates an expected call of StartExperiment.
func (*MockClientMockRecorder) StopExperiment ¶
func (mr *MockClientMockRecorder) StopExperiment(ctx, in interface{}, opts ...interface{}) *gomock.Call
StopExperiment indicates an expected call of StopExperiment.
func (*MockClientMockRecorder) UpdateExperiment ¶
func (mr *MockClientMockRecorder) UpdateExperiment(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateExperiment indicates an expected call of UpdateExperiment.
func (*MockClientMockRecorder) UpdateGoal ¶
func (mr *MockClientMockRecorder) UpdateGoal(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateGoal indicates an expected call of UpdateGoal.