Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Close()
- func (m *MockClient) CreateAutoOpsRule(ctx context.Context, in *autoops.CreateAutoOpsRuleRequest, ...) (*autoops.CreateAutoOpsRuleResponse, error)
- func (m *MockClient) CreateProgressiveRollout(ctx context.Context, in *autoops.CreateProgressiveRolloutRequest, ...) (*autoops.CreateProgressiveRolloutResponse, error)
- func (m *MockClient) DeleteAutoOpsRule(ctx context.Context, in *autoops.DeleteAutoOpsRuleRequest, ...) (*autoops.DeleteAutoOpsRuleResponse, error)
- func (m *MockClient) DeleteProgressiveRollout(ctx context.Context, in *autoops.DeleteProgressiveRolloutRequest, ...) (*autoops.DeleteProgressiveRolloutResponse, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) ExecuteAutoOps(ctx context.Context, in *autoops.ExecuteAutoOpsRequest, ...) (*autoops.ExecuteAutoOpsResponse, error)
- func (m *MockClient) ExecuteProgressiveRollout(ctx context.Context, in *autoops.ExecuteProgressiveRolloutRequest, ...) (*autoops.ExecuteProgressiveRolloutResponse, error)
- func (m *MockClient) GetAutoOpsRule(ctx context.Context, in *autoops.GetAutoOpsRuleRequest, ...) (*autoops.GetAutoOpsRuleResponse, error)
- func (m *MockClient) GetProgressiveRollout(ctx context.Context, in *autoops.GetProgressiveRolloutRequest, ...) (*autoops.GetProgressiveRolloutResponse, error)
- func (m *MockClient) ListAutoOpsRules(ctx context.Context, in *autoops.ListAutoOpsRulesRequest, ...) (*autoops.ListAutoOpsRulesResponse, error)
- func (m *MockClient) ListOpsCounts(ctx context.Context, in *autoops.ListOpsCountsRequest, opts ...grpc.CallOption) (*autoops.ListOpsCountsResponse, error)
- func (m *MockClient) ListProgressiveRollouts(ctx context.Context, in *autoops.ListProgressiveRolloutsRequest, ...) (*autoops.ListProgressiveRolloutsResponse, error)
- func (m *MockClient) StopProgressiveRollout(ctx context.Context, in *autoops.StopProgressiveRolloutRequest, ...) (*autoops.StopProgressiveRolloutResponse, error)
- func (m *MockClient) UpdateAutoOpsRule(ctx context.Context, in *autoops.UpdateAutoOpsRuleRequest, ...) (*autoops.UpdateAutoOpsRuleResponse, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Close() *gomock.Call
- func (mr *MockClientMockRecorder) CreateAutoOpsRule(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateProgressiveRollout(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteAutoOpsRule(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteProgressiveRollout(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ExecuteAutoOps(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ExecuteProgressiveRollout(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetAutoOpsRule(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetProgressiveRollout(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListAutoOpsRules(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListOpsCounts(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListProgressiveRollouts(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) StopProgressiveRollout(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateAutoOpsRule(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) CreateAutoOpsRule ¶
func (m *MockClient) CreateAutoOpsRule(ctx context.Context, in *autoops.CreateAutoOpsRuleRequest, opts ...grpc.CallOption) (*autoops.CreateAutoOpsRuleResponse, error)
CreateAutoOpsRule mocks base method.
func (*MockClient) CreateProgressiveRollout ¶ added in v0.4.0
func (m *MockClient) CreateProgressiveRollout(ctx context.Context, in *autoops.CreateProgressiveRolloutRequest, opts ...grpc.CallOption) (*autoops.CreateProgressiveRolloutResponse, error)
CreateProgressiveRollout mocks base method.
func (*MockClient) DeleteAutoOpsRule ¶
func (m *MockClient) DeleteAutoOpsRule(ctx context.Context, in *autoops.DeleteAutoOpsRuleRequest, opts ...grpc.CallOption) (*autoops.DeleteAutoOpsRuleResponse, error)
DeleteAutoOpsRule mocks base method.
func (*MockClient) DeleteProgressiveRollout ¶ added in v0.4.0
func (m *MockClient) DeleteProgressiveRollout(ctx context.Context, in *autoops.DeleteProgressiveRolloutRequest, opts ...grpc.CallOption) (*autoops.DeleteProgressiveRolloutResponse, error)
DeleteProgressiveRollout 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) ExecuteAutoOps ¶
func (m *MockClient) ExecuteAutoOps(ctx context.Context, in *autoops.ExecuteAutoOpsRequest, opts ...grpc.CallOption) (*autoops.ExecuteAutoOpsResponse, error)
ExecuteAutoOps mocks base method.
func (*MockClient) ExecuteProgressiveRollout ¶ added in v0.4.0
func (m *MockClient) ExecuteProgressiveRollout(ctx context.Context, in *autoops.ExecuteProgressiveRolloutRequest, opts ...grpc.CallOption) (*autoops.ExecuteProgressiveRolloutResponse, error)
ExecuteProgressiveRollout mocks base method.
func (*MockClient) GetAutoOpsRule ¶
func (m *MockClient) GetAutoOpsRule(ctx context.Context, in *autoops.GetAutoOpsRuleRequest, opts ...grpc.CallOption) (*autoops.GetAutoOpsRuleResponse, error)
GetAutoOpsRule mocks base method.
func (*MockClient) GetProgressiveRollout ¶ added in v0.4.0
func (m *MockClient) GetProgressiveRollout(ctx context.Context, in *autoops.GetProgressiveRolloutRequest, opts ...grpc.CallOption) (*autoops.GetProgressiveRolloutResponse, error)
GetProgressiveRollout mocks base method.
func (*MockClient) ListAutoOpsRules ¶
func (m *MockClient) ListAutoOpsRules(ctx context.Context, in *autoops.ListAutoOpsRulesRequest, opts ...grpc.CallOption) (*autoops.ListAutoOpsRulesResponse, error)
ListAutoOpsRules mocks base method.
func (*MockClient) ListOpsCounts ¶
func (m *MockClient) ListOpsCounts(ctx context.Context, in *autoops.ListOpsCountsRequest, opts ...grpc.CallOption) (*autoops.ListOpsCountsResponse, error)
ListOpsCounts mocks base method.
func (*MockClient) ListProgressiveRollouts ¶ added in v0.4.0
func (m *MockClient) ListProgressiveRollouts(ctx context.Context, in *autoops.ListProgressiveRolloutsRequest, opts ...grpc.CallOption) (*autoops.ListProgressiveRolloutsResponse, error)
ListProgressiveRollouts mocks base method.
func (*MockClient) StopProgressiveRollout ¶ added in v0.4.0
func (m *MockClient) StopProgressiveRollout(ctx context.Context, in *autoops.StopProgressiveRolloutRequest, opts ...grpc.CallOption) (*autoops.StopProgressiveRolloutResponse, error)
StopProgressiveRollout mocks base method.
func (*MockClient) UpdateAutoOpsRule ¶
func (m *MockClient) UpdateAutoOpsRule(ctx context.Context, in *autoops.UpdateAutoOpsRuleRequest, opts ...grpc.CallOption) (*autoops.UpdateAutoOpsRuleResponse, error)
UpdateAutoOpsRule mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) Close ¶
func (mr *MockClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockClientMockRecorder) CreateAutoOpsRule ¶
func (mr *MockClientMockRecorder) CreateAutoOpsRule(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateAutoOpsRule indicates an expected call of CreateAutoOpsRule.
func (*MockClientMockRecorder) CreateProgressiveRollout ¶ added in v0.4.0
func (mr *MockClientMockRecorder) CreateProgressiveRollout(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateProgressiveRollout indicates an expected call of CreateProgressiveRollout.
func (*MockClientMockRecorder) DeleteAutoOpsRule ¶
func (mr *MockClientMockRecorder) DeleteAutoOpsRule(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteAutoOpsRule indicates an expected call of DeleteAutoOpsRule.
func (*MockClientMockRecorder) DeleteProgressiveRollout ¶ added in v0.4.0
func (mr *MockClientMockRecorder) DeleteProgressiveRollout(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteProgressiveRollout indicates an expected call of DeleteProgressiveRollout.
func (*MockClientMockRecorder) ExecuteAutoOps ¶
func (mr *MockClientMockRecorder) ExecuteAutoOps(ctx, in interface{}, opts ...interface{}) *gomock.Call
ExecuteAutoOps indicates an expected call of ExecuteAutoOps.
func (*MockClientMockRecorder) ExecuteProgressiveRollout ¶ added in v0.4.0
func (mr *MockClientMockRecorder) ExecuteProgressiveRollout(ctx, in interface{}, opts ...interface{}) *gomock.Call
ExecuteProgressiveRollout indicates an expected call of ExecuteProgressiveRollout.
func (*MockClientMockRecorder) GetAutoOpsRule ¶
func (mr *MockClientMockRecorder) GetAutoOpsRule(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetAutoOpsRule indicates an expected call of GetAutoOpsRule.
func (*MockClientMockRecorder) GetProgressiveRollout ¶ added in v0.4.0
func (mr *MockClientMockRecorder) GetProgressiveRollout(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetProgressiveRollout indicates an expected call of GetProgressiveRollout.
func (*MockClientMockRecorder) ListAutoOpsRules ¶
func (mr *MockClientMockRecorder) ListAutoOpsRules(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListAutoOpsRules indicates an expected call of ListAutoOpsRules.
func (*MockClientMockRecorder) ListOpsCounts ¶
func (mr *MockClientMockRecorder) ListOpsCounts(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListOpsCounts indicates an expected call of ListOpsCounts.
func (*MockClientMockRecorder) ListProgressiveRollouts ¶ added in v0.4.0
func (mr *MockClientMockRecorder) ListProgressiveRollouts(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListProgressiveRollouts indicates an expected call of ListProgressiveRollouts.
func (*MockClientMockRecorder) StopProgressiveRollout ¶ added in v0.4.0
func (mr *MockClientMockRecorder) StopProgressiveRollout(ctx, in interface{}, opts ...interface{}) *gomock.Call
StopProgressiveRollout indicates an expected call of StopProgressiveRollout.
func (*MockClientMockRecorder) UpdateAutoOpsRule ¶
func (mr *MockClientMockRecorder) UpdateAutoOpsRule(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateAutoOpsRule indicates an expected call of UpdateAutoOpsRule.