Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockOpsCountStorage
- func (m *MockOpsCountStorage) EXPECT() *MockOpsCountStorageMockRecorder
- func (m *MockOpsCountStorage) ListOpsCounts(ctx context.Context, whereParts []mysql.WherePart, orders []*mysql.Order, ...) ([]*autoops.OpsCount, int, error)
- func (m *MockOpsCountStorage) UpsertOpsCount(ctx context.Context, environmentNamespace string, oc *domain.OpsCount) error
- type MockOpsCountStorageMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOpsCountStorage ¶
type MockOpsCountStorage struct {
// contains filtered or unexported fields
}
MockOpsCountStorage is a mock of OpsCountStorage interface.
func NewMockOpsCountStorage ¶
func NewMockOpsCountStorage(ctrl *gomock.Controller) *MockOpsCountStorage
NewMockOpsCountStorage creates a new mock instance.
func (*MockOpsCountStorage) EXPECT ¶
func (m *MockOpsCountStorage) EXPECT() *MockOpsCountStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOpsCountStorage) ListOpsCounts ¶
func (m *MockOpsCountStorage) ListOpsCounts(ctx context.Context, whereParts []mysql.WherePart, orders []*mysql.Order, limit, offset int) ([]*autoops.OpsCount, int, error)
ListOpsCounts mocks base method.
func (*MockOpsCountStorage) UpsertOpsCount ¶
func (m *MockOpsCountStorage) UpsertOpsCount(ctx context.Context, environmentNamespace string, oc *domain.OpsCount) error
UpsertOpsCount mocks base method.
type MockOpsCountStorageMockRecorder ¶
type MockOpsCountStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockOpsCountStorageMockRecorder is the mock recorder for MockOpsCountStorage.
func (*MockOpsCountStorageMockRecorder) ListOpsCounts ¶
func (mr *MockOpsCountStorageMockRecorder) ListOpsCounts(ctx, whereParts, orders, limit, offset any) *gomock.Call
ListOpsCounts indicates an expected call of ListOpsCounts.
func (*MockOpsCountStorageMockRecorder) UpsertOpsCount ¶
func (mr *MockOpsCountStorageMockRecorder) UpsertOpsCount(ctx, environmentNamespace, oc any) *gomock.Call
UpsertOpsCount indicates an expected call of UpsertOpsCount.
Click to show internal directories.
Click to hide internal directories.