mock

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTagStorage) GetTag

func (m *MockTagStorage) GetTag(ctx context.Context, id, environmentId string) (*domain.Tag, error)

GetTag mocks base method.

func (*MockTagStorage) ListAllEnvironmentTags

func (m *MockTagStorage) ListAllEnvironmentTags(ctx context.Context) ([]*tag.EnvironmentTag, error)

ListAllEnvironmentTags mocks base method.

func (*MockTagStorage) ListTags

func (m *MockTagStorage) ListTags(ctx context.Context, whereParts []mysql.WherePart, orders []*mysql.Order, limit, offset int) ([]*tag.Tag, int, int64, error)

ListTags mocks base method.

func (*MockTagStorage) UpsertTag

func (m *MockTagStorage) UpsertTag(ctx context.Context, tag *domain.Tag) error

UpsertTag 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.

func (*MockTagStorageMockRecorder) ListTags

func (mr *MockTagStorageMockRecorder) ListTags(ctx, whereParts, orders, limit, offset any) *gomock.Call

ListTags indicates an expected call of ListTags.

func (*MockTagStorageMockRecorder) UpsertTag

func (mr *MockTagStorageMockRecorder) UpsertTag(ctx, tag any) *gomock.Call

UpsertTag indicates an expected call of UpsertTag.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL