Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockClientService
- func (m *MockClientService) EXPECT() *MockClientServiceMockRecorder
- func (m *MockClientService) ListMetricUsagesByLabelName(params *operations.ListMetricUsagesByLabelNameParams, ...) (*operations.ListMetricUsagesByLabelNameOK, error)
- func (m *MockClientService) ListMetricUsagesByMetricName(params *operations.ListMetricUsagesByMetricNameParams, ...) (*operations.ListMetricUsagesByMetricNameOK, error)
- func (m *MockClientService) ListRuleEvaluations(params *operations.ListRuleEvaluationsParams, opts ...operations.ClientOption) (*operations.ListRuleEvaluationsOK, error)
- func (m *MockClientService) SetTransport(transport runtime.ClientTransport)
- type MockClientServiceMockRecorder
- func (mr *MockClientServiceMockRecorder) ListMetricUsagesByLabelName(params interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientServiceMockRecorder) ListMetricUsagesByMetricName(params interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientServiceMockRecorder) ListRuleEvaluations(params interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientServiceMockRecorder) SetTransport(transport interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClientService ¶
type MockClientService struct {
// contains filtered or unexported fields
}
MockClientService is a mock of ClientService interface.
func NewMockClientService ¶
func NewMockClientService(ctrl *gomock.Controller) *MockClientService
NewMockClientService creates a new mock instance.
func (*MockClientService) EXPECT ¶
func (m *MockClientService) EXPECT() *MockClientServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientService) ListMetricUsagesByLabelName ¶ added in v1.10.0
func (m *MockClientService) ListMetricUsagesByLabelName(params *operations.ListMetricUsagesByLabelNameParams, opts ...operations.ClientOption) (*operations.ListMetricUsagesByLabelNameOK, error)
ListMetricUsagesByLabelName mocks base method.
func (*MockClientService) ListMetricUsagesByMetricName ¶ added in v1.10.0
func (m *MockClientService) ListMetricUsagesByMetricName(params *operations.ListMetricUsagesByMetricNameParams, opts ...operations.ClientOption) (*operations.ListMetricUsagesByMetricNameOK, error)
ListMetricUsagesByMetricName mocks base method.
func (*MockClientService) ListRuleEvaluations ¶
func (m *MockClientService) ListRuleEvaluations(params *operations.ListRuleEvaluationsParams, opts ...operations.ClientOption) (*operations.ListRuleEvaluationsOK, error)
ListRuleEvaluations mocks base method.
func (*MockClientService) SetTransport ¶
func (m *MockClientService) SetTransport(transport runtime.ClientTransport)
SetTransport mocks base method.
type MockClientServiceMockRecorder ¶
type MockClientServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockClientServiceMockRecorder is the mock recorder for MockClientService.
func (*MockClientServiceMockRecorder) ListMetricUsagesByLabelName ¶ added in v1.10.0
func (mr *MockClientServiceMockRecorder) ListMetricUsagesByLabelName(params interface{}, opts ...interface{}) *gomock.Call
ListMetricUsagesByLabelName indicates an expected call of ListMetricUsagesByLabelName.
func (*MockClientServiceMockRecorder) ListMetricUsagesByMetricName ¶ added in v1.10.0
func (mr *MockClientServiceMockRecorder) ListMetricUsagesByMetricName(params interface{}, opts ...interface{}) *gomock.Call
ListMetricUsagesByMetricName indicates an expected call of ListMetricUsagesByMetricName.
func (*MockClientServiceMockRecorder) ListRuleEvaluations ¶
func (mr *MockClientServiceMockRecorder) ListRuleEvaluations(params interface{}, opts ...interface{}) *gomock.Call
ListRuleEvaluations indicates an expected call of ListRuleEvaluations.
func (*MockClientServiceMockRecorder) SetTransport ¶
func (mr *MockClientServiceMockRecorder) SetTransport(transport interface{}) *gomock.Call
SetTransport indicates an expected call of SetTransport.