Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockTagStorage
- func (m *MockTagStorage) DeleteTag(ctx context.Context, id, environmentId string) error
- func (m *MockTagStorage) EXPECT() *MockTagStorageMockRecorder
- func (m *MockTagStorage) GetTag(ctx context.Context, id, environmentId string) (*domain.Tag, error)
- func (m *MockTagStorage) ListAllEnvironmentTags(ctx context.Context) ([]*tag.EnvironmentTag, error)
- func (m *MockTagStorage) ListTags(ctx context.Context, whereParts []mysql.WherePart, orders []*mysql.Order, ...) ([]*tag.Tag, int, int64, error)
- func (m *MockTagStorage) UpsertTag(ctx context.Context, tag *domain.Tag) error
- type MockTagStorageMockRecorder
- func (mr *MockTagStorageMockRecorder) DeleteTag(ctx, id, environmentId any) *gomock.Call
- func (mr *MockTagStorageMockRecorder) GetTag(ctx, id, environmentId any) *gomock.Call
- func (mr *MockTagStorageMockRecorder) ListAllEnvironmentTags(ctx any) *gomock.Call
- func (mr *MockTagStorageMockRecorder) ListTags(ctx, whereParts, orders, limit, offset any) *gomock.Call
- func (mr *MockTagStorageMockRecorder) UpsertTag(ctx, tag any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTagStorage ¶
type MockTagStorage struct {
// contains filtered or unexported fields
}
MockTagStorage is a mock of TagStorage interface.
func NewMockTagStorage ¶
func NewMockTagStorage(ctrl *gomock.Controller) *MockTagStorage
NewMockTagStorage creates a new mock instance.
func (*MockTagStorage) DeleteTag ¶
func (m *MockTagStorage) DeleteTag(ctx context.Context, id, environmentId string) error
DeleteTag mocks base method.
func (*MockTagStorage) EXPECT ¶
func (m *MockTagStorage) EXPECT() *MockTagStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTagStorage) ListAllEnvironmentTags ¶
func (m *MockTagStorage) ListAllEnvironmentTags(ctx context.Context) ([]*tag.EnvironmentTag, error)
ListAllEnvironmentTags mocks base method.
type MockTagStorageMockRecorder ¶
type MockTagStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockTagStorageMockRecorder is the mock recorder for MockTagStorage.
func (*MockTagStorageMockRecorder) DeleteTag ¶
func (mr *MockTagStorageMockRecorder) DeleteTag(ctx, id, environmentId any) *gomock.Call
DeleteTag indicates an expected call of DeleteTag.
func (*MockTagStorageMockRecorder) GetTag ¶
func (mr *MockTagStorageMockRecorder) GetTag(ctx, id, environmentId any) *gomock.Call
GetTag indicates an expected call of GetTag.
func (*MockTagStorageMockRecorder) ListAllEnvironmentTags ¶
func (mr *MockTagStorageMockRecorder) ListAllEnvironmentTags(ctx any) *gomock.Call
ListAllEnvironmentTags indicates an expected call of ListAllEnvironmentTags.
Click to show internal directories.
Click to hide internal directories.