mock_repositories

package
v0.5.0-rc30 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_repositories is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClusterAccessRepository added in v0.4.1

type MockClusterAccessRepository struct {
	// contains filtered or unexported fields
}

MockClusterAccessRepository is a mock of ClusterAccessRepository interface.

func NewMockClusterAccessRepository added in v0.4.1

func NewMockClusterAccessRepository(ctrl *gomock.Controller) *MockClusterAccessRepository

NewMockClusterAccessRepository creates a new mock instance.

func (*MockClusterAccessRepository) EXPECT added in v0.4.1

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

func (*MockClusterAccessRepository) GetClustersAccessibleByUserId added in v0.4.1

func (m *MockClusterAccessRepository) GetClustersAccessibleByUserId(arg0 context.Context, arg1 uuid.UUID) ([]*projections.ClusterAccess, error)

GetClustersAccessibleByUserId mocks base method.

func (*MockClusterAccessRepository) GetClustersAccessibleByUserIdV2 added in v0.4.13

func (m *MockClusterAccessRepository) GetClustersAccessibleByUserIdV2(arg0 context.Context, arg1 uuid.UUID) ([]*projections.ClusterAccessV2, error)

GetClustersAccessibleByUserIdV2 mocks base method.

type MockClusterAccessRepositoryMockRecorder added in v0.4.1

type MockClusterAccessRepositoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockClusterAccessRepositoryMockRecorder is the mock recorder for MockClusterAccessRepository.

func (*MockClusterAccessRepositoryMockRecorder) GetClustersAccessibleByUserId added in v0.4.1

func (mr *MockClusterAccessRepositoryMockRecorder) GetClustersAccessibleByUserId(arg0, arg1 interface{}) *gomock.Call

GetClustersAccessibleByUserId indicates an expected call of GetClustersAccessibleByUserId.

func (*MockClusterAccessRepositoryMockRecorder) GetClustersAccessibleByUserIdV2 added in v0.4.13

func (mr *MockClusterAccessRepositoryMockRecorder) GetClustersAccessibleByUserIdV2(arg0, arg1 interface{}) *gomock.Call

GetClustersAccessibleByUserIdV2 indicates an expected call of GetClustersAccessibleByUserIdV2.

type MockClusterRepository

type MockClusterRepository struct {
	// contains filtered or unexported fields
}

MockClusterRepository is a mock of ClusterRepository interface.

func NewMockClusterRepository

func NewMockClusterRepository(ctrl *gomock.Controller) *MockClusterRepository

NewMockClusterRepository creates a new mock instance.

func (*MockClusterRepository) All

All mocks base method.

func (*MockClusterRepository) AllWith

func (m *MockClusterRepository) AllWith(arg0 context.Context, arg1 bool) ([]*projections0.Cluster, error)

AllWith mocks base method.

func (*MockClusterRepository) ByClusterName

func (m *MockClusterRepository) ByClusterName(arg0 context.Context, arg1 string) (*projections0.Cluster, error)

ByClusterName mocks base method.

func (*MockClusterRepository) ById

ById mocks base method.

func (*MockClusterRepository) DeregisterObserver added in v0.4.13

DeregisterObserver mocks base method.

func (*MockClusterRepository) EXPECT

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

func (*MockClusterRepository) RegisterObserver added in v0.4.13

RegisterObserver mocks base method.

func (*MockClusterRepository) Upsert

Upsert mocks base method.

type MockClusterRepositoryMockRecorder

type MockClusterRepositoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockClusterRepositoryMockRecorder is the mock recorder for MockClusterRepository.

func (*MockClusterRepositoryMockRecorder) All

func (mr *MockClusterRepositoryMockRecorder) All(arg0 interface{}) *gomock.Call

All indicates an expected call of All.

func (*MockClusterRepositoryMockRecorder) AllWith

func (mr *MockClusterRepositoryMockRecorder) AllWith(arg0, arg1 interface{}) *gomock.Call

AllWith indicates an expected call of AllWith.

func (*MockClusterRepositoryMockRecorder) ByClusterName

func (mr *MockClusterRepositoryMockRecorder) ByClusterName(arg0, arg1 interface{}) *gomock.Call

ByClusterName indicates an expected call of ByClusterName.

func (*MockClusterRepositoryMockRecorder) ById

func (mr *MockClusterRepositoryMockRecorder) ById(arg0, arg1 interface{}) *gomock.Call

ById indicates an expected call of ById.

func (*MockClusterRepositoryMockRecorder) DeregisterObserver added in v0.4.13

func (mr *MockClusterRepositoryMockRecorder) DeregisterObserver(arg0 interface{}) *gomock.Call

DeregisterObserver indicates an expected call of DeregisterObserver.

func (*MockClusterRepositoryMockRecorder) RegisterObserver added in v0.4.13

func (mr *MockClusterRepositoryMockRecorder) RegisterObserver(arg0 interface{}) *gomock.Call

RegisterObserver indicates an expected call of RegisterObserver.

func (*MockClusterRepositoryMockRecorder) Upsert

func (mr *MockClusterRepositoryMockRecorder) Upsert(arg0, arg1 interface{}) *gomock.Call

Upsert indicates an expected call of Upsert.

type MockUserRepository

type MockUserRepository struct {
	// contains filtered or unexported fields
}

MockUserRepository is a mock of UserRepository interface.

func NewMockUserRepository

func NewMockUserRepository(ctrl *gomock.Controller) *MockUserRepository

NewMockUserRepository creates a new mock instance.

func (*MockUserRepository) All

All mocks base method.

func (*MockUserRepository) AllWith

func (m *MockUserRepository) AllWith(arg0 context.Context, arg1 bool) ([]*projections0.User, error)

AllWith mocks base method.

func (*MockUserRepository) ByEmail

func (m *MockUserRepository) ByEmail(arg0 context.Context, arg1 string) (*projections0.User, error)

ByEmail mocks base method.

func (*MockUserRepository) ByEmailIncludingDeleted added in v0.4.6

func (m *MockUserRepository) ByEmailIncludingDeleted(arg0 context.Context, arg1 string) ([]*projections0.User, error)

ByEmailIncludingDeleted mocks base method.

func (*MockUserRepository) ById

ById mocks base method.

func (*MockUserRepository) ByUserId

func (m *MockUserRepository) ByUserId(arg0 context.Context, arg1 uuid.UUID) (*projections0.User, error)

ByUserId mocks base method.

func (*MockUserRepository) DeregisterObserver added in v0.4.13

DeregisterObserver mocks base method.

func (*MockUserRepository) EXPECT

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

func (*MockUserRepository) GetCount

func (m *MockUserRepository) GetCount(arg0 context.Context, arg1 bool) (int, error)

GetCount mocks base method.

func (*MockUserRepository) RegisterObserver added in v0.4.13

RegisterObserver mocks base method.

func (*MockUserRepository) Upsert

func (m *MockUserRepository) Upsert(arg0 context.Context, arg1 *projections0.User) error

Upsert mocks base method.

type MockUserRepositoryMockRecorder

type MockUserRepositoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockUserRepositoryMockRecorder is the mock recorder for MockUserRepository.

func (*MockUserRepositoryMockRecorder) All

func (mr *MockUserRepositoryMockRecorder) All(arg0 interface{}) *gomock.Call

All indicates an expected call of All.

func (*MockUserRepositoryMockRecorder) AllWith

func (mr *MockUserRepositoryMockRecorder) AllWith(arg0, arg1 interface{}) *gomock.Call

AllWith indicates an expected call of AllWith.

func (*MockUserRepositoryMockRecorder) ByEmail

func (mr *MockUserRepositoryMockRecorder) ByEmail(arg0, arg1 interface{}) *gomock.Call

ByEmail indicates an expected call of ByEmail.

func (*MockUserRepositoryMockRecorder) ByEmailIncludingDeleted added in v0.4.6

func (mr *MockUserRepositoryMockRecorder) ByEmailIncludingDeleted(arg0, arg1 interface{}) *gomock.Call

ByEmailIncludingDeleted indicates an expected call of ByEmailIncludingDeleted.

func (*MockUserRepositoryMockRecorder) ById

func (mr *MockUserRepositoryMockRecorder) ById(arg0, arg1 interface{}) *gomock.Call

ById indicates an expected call of ById.

func (*MockUserRepositoryMockRecorder) ByUserId

func (mr *MockUserRepositoryMockRecorder) ByUserId(arg0, arg1 interface{}) *gomock.Call

ByUserId indicates an expected call of ByUserId.

func (*MockUserRepositoryMockRecorder) DeregisterObserver added in v0.4.13

func (mr *MockUserRepositoryMockRecorder) DeregisterObserver(arg0 interface{}) *gomock.Call

DeregisterObserver indicates an expected call of DeregisterObserver.

func (*MockUserRepositoryMockRecorder) GetCount

func (mr *MockUserRepositoryMockRecorder) GetCount(arg0, arg1 interface{}) *gomock.Call

GetCount indicates an expected call of GetCount.

func (*MockUserRepositoryMockRecorder) RegisterObserver added in v0.4.13

func (mr *MockUserRepositoryMockRecorder) RegisterObserver(arg0 interface{}) *gomock.Call

RegisterObserver indicates an expected call of RegisterObserver.

func (*MockUserRepositoryMockRecorder) Upsert

func (mr *MockUserRepositoryMockRecorder) Upsert(arg0, arg1 interface{}) *gomock.Call

Upsert indicates an expected call of Upsert.

Jump to

Keyboard shortcuts

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