mocks

package
v0.0.7-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: AGPL-3.0 Imports: 19 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAPITokenStore

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

MockAPITokenStore is a mock of APITokenStore interface.

func NewMockAPITokenStore

func NewMockAPITokenStore(ctrl *gomock.Controller) *MockAPITokenStore

NewMockAPITokenStore creates a new mock instance.

func (*MockAPITokenStore) Create

Create mocks base method.

func (*MockAPITokenStore) EXPECT

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

func (*MockAPITokenStore) GetByID

GetByID mocks base method.

func (*MockAPITokenStore) GetByTokenHash

func (m *MockAPITokenStore) GetByTokenHash(ctx context.Context, hash string) (*models.APIToken, *errors.ServiceError)

GetByTokenHash mocks base method.

func (*MockAPITokenStore) ListByUserID

func (m *MockAPITokenStore) ListByUserID(ctx context.Context, userID string) ([]*models.APIToken, *errors.ServiceError)

ListByUserID mocks base method.

func (*MockAPITokenStore) Revoke

Revoke mocks base method.

func (*MockAPITokenStore) UpdateLastUsed

func (m *MockAPITokenStore) UpdateLastUsed(ctx context.Context, id string) *errors.ServiceError

UpdateLastUsed mocks base method.

type MockAPITokenStoreMockRecorder

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

MockAPITokenStoreMockRecorder is the mock recorder for MockAPITokenStore.

func (*MockAPITokenStoreMockRecorder) Create

func (mr *MockAPITokenStoreMockRecorder) Create(ctx, token any) *gomock.Call

Create indicates an expected call of Create.

func (*MockAPITokenStoreMockRecorder) GetByID

func (mr *MockAPITokenStoreMockRecorder) GetByID(ctx, id any) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockAPITokenStoreMockRecorder) GetByTokenHash

func (mr *MockAPITokenStoreMockRecorder) GetByTokenHash(ctx, hash any) *gomock.Call

GetByTokenHash indicates an expected call of GetByTokenHash.

func (*MockAPITokenStoreMockRecorder) ListByUserID

func (mr *MockAPITokenStoreMockRecorder) ListByUserID(ctx, userID any) *gomock.Call

ListByUserID indicates an expected call of ListByUserID.

func (*MockAPITokenStoreMockRecorder) Revoke

func (mr *MockAPITokenStoreMockRecorder) Revoke(ctx, id any) *gomock.Call

Revoke indicates an expected call of Revoke.

func (*MockAPITokenStoreMockRecorder) UpdateLastUsed

func (mr *MockAPITokenStoreMockRecorder) UpdateLastUsed(ctx, id any) *gomock.Call

UpdateLastUsed indicates an expected call of UpdateLastUsed.

type MockAtomicExecutor

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

MockAtomicExecutor is a mock of AtomicExecutor interface.

func NewMockAtomicExecutor

func NewMockAtomicExecutor(ctrl *gomock.Controller) *MockAtomicExecutor

NewMockAtomicExecutor creates a new mock instance.

func (*MockAtomicExecutor) EXPECT

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

func (*MockAtomicExecutor) WithTransaction

WithTransaction mocks base method.

type MockAtomicExecutorMockRecorder

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

MockAtomicExecutorMockRecorder is the mock recorder for MockAtomicExecutor.

func (*MockAtomicExecutorMockRecorder) WithTransaction

func (mr *MockAtomicExecutorMockRecorder) WithTransaction(ctx, fn any) *gomock.Call

WithTransaction indicates an expected call of WithTransaction.

type MockBackgroundJobEnqueuer

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

MockBackgroundJobEnqueuer is a mock of BackgroundJobEnqueuer interface.

func NewMockBackgroundJobEnqueuer

func NewMockBackgroundJobEnqueuer(ctrl *gomock.Controller) *MockBackgroundJobEnqueuer

NewMockBackgroundJobEnqueuer creates a new mock instance.

func (*MockBackgroundJobEnqueuer) EXPECT

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

func (*MockBackgroundJobEnqueuer) Enqueue

func (m *MockBackgroundJobEnqueuer) Enqueue(operand any) error

Enqueue mocks base method.

func (*MockBackgroundJobEnqueuer) EnqueueAfter

func (m *MockBackgroundJobEnqueuer) EnqueueAfter(operand any, after time.Duration) error

EnqueueAfter mocks base method.

func (*MockBackgroundJobEnqueuer) EnqueueAfterCommit

func (m *MockBackgroundJobEnqueuer) EnqueueAfterCommit(ctx context.Context, operand any) error

EnqueueAfterCommit mocks base method.

type MockBackgroundJobEnqueuerMockRecorder

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

MockBackgroundJobEnqueuerMockRecorder is the mock recorder for MockBackgroundJobEnqueuer.

func (*MockBackgroundJobEnqueuerMockRecorder) Enqueue

func (mr *MockBackgroundJobEnqueuerMockRecorder) Enqueue(operand any) *gomock.Call

Enqueue indicates an expected call of Enqueue.

func (*MockBackgroundJobEnqueuerMockRecorder) EnqueueAfter

func (mr *MockBackgroundJobEnqueuerMockRecorder) EnqueueAfter(operand, after any) *gomock.Call

EnqueueAfter indicates an expected call of EnqueueAfter.

func (*MockBackgroundJobEnqueuerMockRecorder) EnqueueAfterCommit

func (mr *MockBackgroundJobEnqueuerMockRecorder) EnqueueAfterCommit(ctx, operand any) *gomock.Call

EnqueueAfterCommit indicates an expected call of EnqueueAfterCommit.

type MockClusterImageRegistryStore

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

MockClusterImageRegistryStore is a mock of ClusterImageRegistryStore interface.

func NewMockClusterImageRegistryStore

func NewMockClusterImageRegistryStore(ctrl *gomock.Controller) *MockClusterImageRegistryStore

NewMockClusterImageRegistryStore creates a new mock instance.

func (*MockClusterImageRegistryStore) Create

Create mocks base method.

func (*MockClusterImageRegistryStore) CreateWithTx

CreateWithTx mocks base method.

func (*MockClusterImageRegistryStore) Delete

Delete mocks base method.

func (*MockClusterImageRegistryStore) DeleteWithTx

DeleteWithTx mocks base method.

func (*MockClusterImageRegistryStore) EXPECT

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

func (*MockClusterImageRegistryStore) GetByID

GetByID mocks base method.

func (*MockClusterImageRegistryStore) GetForOrgAndCluster

func (m *MockClusterImageRegistryStore) GetForOrgAndCluster(ctx context.Context, orgID, clusterID string) (*models.ClusterImageRegistry, *errors.ServiceError)

GetForOrgAndCluster mocks base method.

func (*MockClusterImageRegistryStore) ListByClusterID

func (m *MockClusterImageRegistryStore) ListByClusterID(ctx context.Context, orgID, clusterID string) ([]*models.ClusterImageRegistry, *errors.ServiceError)

ListByClusterID mocks base method.

func (*MockClusterImageRegistryStore) ListByClusterIDInternal

func (m *MockClusterImageRegistryStore) ListByClusterIDInternal(ctx context.Context, clusterID string) ([]*models.ClusterImageRegistry, *errors.ServiceError)

ListByClusterIDInternal mocks base method.

func (*MockClusterImageRegistryStore) ListForOrg

ListForOrg mocks base method.

func (*MockClusterImageRegistryStore) MarkAllDeletingByClusterIDWithTx

func (m *MockClusterImageRegistryStore) MarkAllDeletingByClusterIDWithTx(ctx context.Context, clusterID string) *errors.ServiceError

MarkAllDeletingByClusterIDWithTx mocks base method.

func (*MockClusterImageRegistryStore) MarkDeletingWithTx

func (m *MockClusterImageRegistryStore) MarkDeletingWithTx(ctx context.Context, ID string) *errors.ServiceError

MarkDeletingWithTx mocks base method.

func (*MockClusterImageRegistryStore) UpdateStatus

UpdateStatus mocks base method.

func (*MockClusterImageRegistryStore) WithTransaction

WithTransaction mocks base method.

type MockClusterImageRegistryStoreMockRecorder

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

MockClusterImageRegistryStoreMockRecorder is the mock recorder for MockClusterImageRegistryStore.

func (*MockClusterImageRegistryStoreMockRecorder) Create

Create indicates an expected call of Create.

func (*MockClusterImageRegistryStoreMockRecorder) CreateWithTx

func (mr *MockClusterImageRegistryStoreMockRecorder) CreateWithTx(ctx, spec any) *gomock.Call

CreateWithTx indicates an expected call of CreateWithTx.

func (*MockClusterImageRegistryStoreMockRecorder) Delete

Delete indicates an expected call of Delete.

func (*MockClusterImageRegistryStoreMockRecorder) DeleteWithTx

func (mr *MockClusterImageRegistryStoreMockRecorder) DeleteWithTx(ctx, ID any) *gomock.Call

DeleteWithTx indicates an expected call of DeleteWithTx.

func (*MockClusterImageRegistryStoreMockRecorder) GetByID

GetByID indicates an expected call of GetByID.

func (*MockClusterImageRegistryStoreMockRecorder) GetForOrgAndCluster

func (mr *MockClusterImageRegistryStoreMockRecorder) GetForOrgAndCluster(ctx, orgID, clusterID any) *gomock.Call

GetForOrgAndCluster indicates an expected call of GetForOrgAndCluster.

func (*MockClusterImageRegistryStoreMockRecorder) ListByClusterID

func (mr *MockClusterImageRegistryStoreMockRecorder) ListByClusterID(ctx, orgID, clusterID any) *gomock.Call

ListByClusterID indicates an expected call of ListByClusterID.

func (*MockClusterImageRegistryStoreMockRecorder) ListByClusterIDInternal

func (mr *MockClusterImageRegistryStoreMockRecorder) ListByClusterIDInternal(ctx, clusterID any) *gomock.Call

ListByClusterIDInternal indicates an expected call of ListByClusterIDInternal.

func (*MockClusterImageRegistryStoreMockRecorder) ListForOrg

func (mr *MockClusterImageRegistryStoreMockRecorder) ListForOrg(ctx, orgID any) *gomock.Call

ListForOrg indicates an expected call of ListForOrg.

func (*MockClusterImageRegistryStoreMockRecorder) MarkAllDeletingByClusterIDWithTx

func (mr *MockClusterImageRegistryStoreMockRecorder) MarkAllDeletingByClusterIDWithTx(ctx, clusterID any) *gomock.Call

MarkAllDeletingByClusterIDWithTx indicates an expected call of MarkAllDeletingByClusterIDWithTx.

func (*MockClusterImageRegistryStoreMockRecorder) MarkDeletingWithTx

func (mr *MockClusterImageRegistryStoreMockRecorder) MarkDeletingWithTx(ctx, ID any) *gomock.Call

MarkDeletingWithTx indicates an expected call of MarkDeletingWithTx.

func (*MockClusterImageRegistryStoreMockRecorder) UpdateStatus

func (mr *MockClusterImageRegistryStoreMockRecorder) UpdateStatus(ctx, ID, status any) *gomock.Call

UpdateStatus indicates an expected call of UpdateStatus.

func (*MockClusterImageRegistryStoreMockRecorder) WithTransaction

func (mr *MockClusterImageRegistryStoreMockRecorder) WithTransaction(ctx, fn any) *gomock.Call

WithTransaction indicates an expected call of WithTransaction.

type MockClusterManager

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

MockClusterManager is a mock of ClusterManager interface.

func NewMockClusterManager

func NewMockClusterManager(ctrl *gomock.Controller) *MockClusterManager

NewMockClusterManager creates a new mock instance.

func (*MockClusterManager) EXPECT

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

func (*MockClusterManager) GetClient

func (m *MockClusterManager) GetClient(clusterID string) (client.Client, error)

GetClient mocks base method.

func (*MockClusterManager) GetRestConfig

func (m *MockClusterManager) GetRestConfig(clusterID string) (*rest.Config, error)

GetRestConfig mocks base method.

func (*MockClusterManager) IsClusterRegistered

func (m *MockClusterManager) IsClusterRegistered(clusterID string) bool

IsClusterRegistered mocks base method.

func (*MockClusterManager) IsRunning

func (m *MockClusterManager) IsRunning() bool

IsRunning mocks base method.

func (*MockClusterManager) ReRegisterCluster

func (m *MockClusterManager) ReRegisterCluster(cluster *models.Cluster) error

ReRegisterCluster mocks base method.

func (*MockClusterManager) RegisterCluster

func (m *MockClusterManager) RegisterCluster(cluster *models.Cluster) error

RegisterCluster mocks base method.

func (*MockClusterManager) Start

func (m *MockClusterManager) Start(ctx context.Context)

Start mocks base method.

func (*MockClusterManager) Stop

func (m *MockClusterManager) Stop(ctx context.Context) error

Stop mocks base method.

func (*MockClusterManager) UnregisterCluster

func (m *MockClusterManager) UnregisterCluster(clusterID string) error

UnregisterCluster mocks base method.

type MockClusterManagerMockRecorder

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

MockClusterManagerMockRecorder is the mock recorder for MockClusterManager.

func (*MockClusterManagerMockRecorder) GetClient

func (mr *MockClusterManagerMockRecorder) GetClient(clusterID any) *gomock.Call

GetClient indicates an expected call of GetClient.

func (*MockClusterManagerMockRecorder) GetRestConfig

func (mr *MockClusterManagerMockRecorder) GetRestConfig(clusterID any) *gomock.Call

GetRestConfig indicates an expected call of GetRestConfig.

func (*MockClusterManagerMockRecorder) IsClusterRegistered

func (mr *MockClusterManagerMockRecorder) IsClusterRegistered(clusterID any) *gomock.Call

IsClusterRegistered indicates an expected call of IsClusterRegistered.

func (*MockClusterManagerMockRecorder) IsRunning

func (mr *MockClusterManagerMockRecorder) IsRunning() *gomock.Call

IsRunning indicates an expected call of IsRunning.

func (*MockClusterManagerMockRecorder) ReRegisterCluster

func (mr *MockClusterManagerMockRecorder) ReRegisterCluster(cluster any) *gomock.Call

ReRegisterCluster indicates an expected call of ReRegisterCluster.

func (*MockClusterManagerMockRecorder) RegisterCluster

func (mr *MockClusterManagerMockRecorder) RegisterCluster(cluster any) *gomock.Call

RegisterCluster indicates an expected call of RegisterCluster.

func (*MockClusterManagerMockRecorder) Start

Start indicates an expected call of Start.

func (*MockClusterManagerMockRecorder) Stop

Stop indicates an expected call of Stop.

func (*MockClusterManagerMockRecorder) UnregisterCluster

func (mr *MockClusterManagerMockRecorder) UnregisterCluster(clusterID any) *gomock.Call

UnregisterCluster indicates an expected call of UnregisterCluster.

type MockClusterResourceImageRegistryService

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

MockClusterResourceImageRegistryService is a mock of ClusterImageRegistryService interface.

func NewMockClusterResourceImageRegistryService

func NewMockClusterResourceImageRegistryService(ctrl *gomock.Controller) *MockClusterResourceImageRegistryService

NewMockClusterResourceImageRegistryService creates a new mock instance.

func (*MockClusterResourceImageRegistryService) DeleteImageRegistryInCluster

DeleteImageRegistryInCluster mocks base method.

func (*MockClusterResourceImageRegistryService) EXPECT

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

func (*MockClusterResourceImageRegistryService) EnsureImageRegistryInCluster

EnsureImageRegistryInCluster mocks base method.

type MockClusterResourceImageRegistryServiceMockRecorder

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

MockClusterResourceImageRegistryServiceMockRecorder is the mock recorder for MockClusterResourceImageRegistryService.

func (*MockClusterResourceImageRegistryServiceMockRecorder) DeleteImageRegistryInCluster

func (mr *MockClusterResourceImageRegistryServiceMockRecorder) DeleteImageRegistryInCluster(ctx, registry any) *gomock.Call

DeleteImageRegistryInCluster indicates an expected call of DeleteImageRegistryInCluster.

func (*MockClusterResourceImageRegistryServiceMockRecorder) EnsureImageRegistryInCluster

func (mr *MockClusterResourceImageRegistryServiceMockRecorder) EnsureImageRegistryInCluster(ctx, registry any) *gomock.Call

EnsureImageRegistryInCluster indicates an expected call of EnsureImageRegistryInCluster.

type MockClusterService

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

MockClusterService is a mock of ClusterService interface.

func NewMockClusterService

func NewMockClusterService(ctrl *gomock.Controller) *MockClusterService

NewMockClusterService creates a new mock instance.

func (*MockClusterService) AddCluster

func (m *MockClusterService) AddCluster(ctx context.Context, cluster *models.Cluster) (*models.Cluster, *errors.ServiceError)

AddCluster mocks base method.

func (*MockClusterService) DefaultStorageClass

func (m *MockClusterService) DefaultStorageClass(ctx context.Context, clusterID string) (string, *errors.ServiceError)

DefaultStorageClass mocks base method.

func (*MockClusterService) Delete

Delete mocks base method.

func (*MockClusterService) EXPECT

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

func (*MockClusterService) Get

Get mocks base method.

func (*MockClusterService) GetClusterForOrg

func (m *MockClusterService) GetClusterForOrg(ctx context.Context, orgID string) (*models.Cluster, *errors.ServiceError)

GetClusterForOrg mocks base method.

func (*MockClusterService) GetOwnedClusterForOrg

func (m *MockClusterService) GetOwnedClusterForOrg(ctx context.Context, orgID string) (*models.Cluster, *errors.ServiceError)

GetOwnedClusterForOrg mocks base method.

func (*MockClusterService) InjectBackgroundJobEnqueuer

func (m *MockClusterService) InjectBackgroundJobEnqueuer(dep clusterresource.BackgroundJobEnqueuerDep)

InjectBackgroundJobEnqueuer mocks base method.

func (*MockClusterService) InjectClusterManager

func (m *MockClusterService) InjectClusterManager(clusterManager clustermanager.ClusterManager)

InjectClusterManager mocks base method.

func (*MockClusterService) InternalEnsurePlatformWildcardTLS

func (m *MockClusterService) InternalEnsurePlatformWildcardTLS(ctx context.Context, cluster *models.Cluster, cfg *config.PlatformConfig) *errors.ServiceError

InternalEnsurePlatformWildcardTLS mocks base method.

func (*MockClusterService) InternalGet

InternalGet mocks base method.

func (*MockClusterService) InternalListAllClusters

func (m *MockClusterService) InternalListAllClusters(ctx context.Context) ([]*models.Cluster, *errors.ServiceError)

InternalListAllClusters mocks base method.

func (*MockClusterService) InternalUpdateClusterInfo

func (m *MockClusterService) InternalUpdateClusterInfo(ctx context.Context, clusterID string, info *models.ClusterInfo) *errors.ServiceError

InternalUpdateClusterInfo mocks base method.

func (*MockClusterService) InternalUpsertSharedComputeCluster

func (m *MockClusterService) InternalUpsertSharedComputeCluster(ctx context.Context, spec *models.Cluster) (*models.Cluster, *errors.ServiceError)

InternalUpsertSharedComputeCluster mocks base method.

type MockClusterServiceMockRecorder

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

MockClusterServiceMockRecorder is the mock recorder for MockClusterService.

func (*MockClusterServiceMockRecorder) AddCluster

func (mr *MockClusterServiceMockRecorder) AddCluster(ctx, cluster any) *gomock.Call

AddCluster indicates an expected call of AddCluster.

func (*MockClusterServiceMockRecorder) DefaultStorageClass

func (mr *MockClusterServiceMockRecorder) DefaultStorageClass(ctx, clusterID any) *gomock.Call

DefaultStorageClass indicates an expected call of DefaultStorageClass.

func (*MockClusterServiceMockRecorder) Delete

func (mr *MockClusterServiceMockRecorder) Delete(ctx, ID any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockClusterServiceMockRecorder) Get

func (mr *MockClusterServiceMockRecorder) Get(ctx, ID any) *gomock.Call

Get indicates an expected call of Get.

func (*MockClusterServiceMockRecorder) GetClusterForOrg

func (mr *MockClusterServiceMockRecorder) GetClusterForOrg(ctx, orgID any) *gomock.Call

GetClusterForOrg indicates an expected call of GetClusterForOrg.

func (*MockClusterServiceMockRecorder) GetOwnedClusterForOrg

func (mr *MockClusterServiceMockRecorder) GetOwnedClusterForOrg(ctx, orgID any) *gomock.Call

GetOwnedClusterForOrg indicates an expected call of GetOwnedClusterForOrg.

func (*MockClusterServiceMockRecorder) InjectBackgroundJobEnqueuer

func (mr *MockClusterServiceMockRecorder) InjectBackgroundJobEnqueuer(dep any) *gomock.Call

InjectBackgroundJobEnqueuer indicates an expected call of InjectBackgroundJobEnqueuer.

func (*MockClusterServiceMockRecorder) InjectClusterManager

func (mr *MockClusterServiceMockRecorder) InjectClusterManager(clusterManager any) *gomock.Call

InjectClusterManager indicates an expected call of InjectClusterManager.

func (*MockClusterServiceMockRecorder) InternalEnsurePlatformWildcardTLS

func (mr *MockClusterServiceMockRecorder) InternalEnsurePlatformWildcardTLS(ctx, cluster, cfg any) *gomock.Call

InternalEnsurePlatformWildcardTLS indicates an expected call of InternalEnsurePlatformWildcardTLS.

func (*MockClusterServiceMockRecorder) InternalGet

func (mr *MockClusterServiceMockRecorder) InternalGet(ctx, ID any) *gomock.Call

InternalGet indicates an expected call of InternalGet.

func (*MockClusterServiceMockRecorder) InternalListAllClusters

func (mr *MockClusterServiceMockRecorder) InternalListAllClusters(ctx any) *gomock.Call

InternalListAllClusters indicates an expected call of InternalListAllClusters.

func (*MockClusterServiceMockRecorder) InternalUpdateClusterInfo

func (mr *MockClusterServiceMockRecorder) InternalUpdateClusterInfo(ctx, clusterID, info any) *gomock.Call

InternalUpdateClusterInfo indicates an expected call of InternalUpdateClusterInfo.

func (*MockClusterServiceMockRecorder) InternalUpsertSharedComputeCluster

func (mr *MockClusterServiceMockRecorder) InternalUpsertSharedComputeCluster(ctx, spec any) *gomock.Call

InternalUpsertSharedComputeCluster indicates an expected call of InternalUpsertSharedComputeCluster.

type MockClusterStore

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

MockClusterStore is a mock of ClusterStore interface.

func NewMockClusterStore

func NewMockClusterStore(ctrl *gomock.Controller) *MockClusterStore

NewMockClusterStore creates a new mock instance.

func (*MockClusterStore) Create

Create mocks base method.

func (*MockClusterStore) CreateWithTx

func (m *MockClusterStore) CreateWithTx(ctx context.Context, spec *models.Cluster) (*models.Cluster, *errors.ServiceError)

CreateWithTx mocks base method.

func (*MockClusterStore) Delete

Delete mocks base method.

func (*MockClusterStore) DeleteWithTx

func (m *MockClusterStore) DeleteWithTx(ctx context.Context, ID string) *errors.ServiceError

DeleteWithTx mocks base method.

func (*MockClusterStore) EXPECT

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

func (*MockClusterStore) FindAnyClusterIDBySharedCompute

func (m *MockClusterStore) FindAnyClusterIDBySharedCompute(ctx context.Context, sharedCompute bool) (string, *errors.ServiceError)

FindAnyClusterIDBySharedCompute mocks base method.

func (*MockClusterStore) Get

Get mocks base method.

func (*MockClusterStore) GetByClusterUrl

func (m *MockClusterStore) GetByClusterUrl(ctx context.Context, clusterURL string) (*models.Cluster, *errors.ServiceError)

GetByClusterUrl mocks base method.

func (*MockClusterStore) ListAll

ListAll mocks base method.

func (*MockClusterStore) ListBYOCClustersForOrg

func (m *MockClusterStore) ListBYOCClustersForOrg(ctx context.Context, orgID string) ([]*models.Cluster, *errors.ServiceError)

ListBYOCClustersForOrg mocks base method.

func (*MockClusterStore) ListIDsForImageRegistryReconciliation

func (m *MockClusterStore) ListIDsForImageRegistryReconciliation(ctx context.Context) ([]string, *errors.ServiceError)

ListIDsForImageRegistryReconciliation mocks base method.

func (*MockClusterStore) ListSharedComputeClusters

func (m *MockClusterStore) ListSharedComputeClusters(ctx context.Context) ([]*models.Cluster, *errors.ServiceError)

ListSharedComputeClusters mocks base method.

func (*MockClusterStore) ListSharedComputeClustersForOrg

func (m *MockClusterStore) ListSharedComputeClustersForOrg(ctx context.Context, orgID string) ([]*models.Cluster, *errors.ServiceError)

ListSharedComputeClustersForOrg mocks base method.

func (*MockClusterStore) MarkDeletingWithTx

func (m *MockClusterStore) MarkDeletingWithTx(ctx context.Context, ID string, at time.Time) *errors.ServiceError

MarkDeletingWithTx mocks base method.

func (*MockClusterStore) PersistManagerState

func (m *MockClusterStore) PersistManagerState(ctx context.Context, ID string, running bool) *errors.ServiceError

PersistManagerState mocks base method.

func (*MockClusterStore) UpdateClusterInfo

func (m *MockClusterStore) UpdateClusterInfo(ctx context.Context, ID string, info *models.ClusterInfo) *errors.ServiceError

UpdateClusterInfo mocks base method.

func (*MockClusterStore) UpdateSharedComputeCluster

func (m *MockClusterStore) UpdateSharedComputeCluster(ctx context.Context, cluster *models.Cluster) *errors.ServiceError

UpdateSharedComputeCluster mocks base method.

func (*MockClusterStore) WithTransaction

WithTransaction mocks base method.

type MockClusterStoreMockRecorder

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

MockClusterStoreMockRecorder is the mock recorder for MockClusterStore.

func (*MockClusterStoreMockRecorder) Create

func (mr *MockClusterStoreMockRecorder) Create(ctx, spec any) *gomock.Call

Create indicates an expected call of Create.

func (*MockClusterStoreMockRecorder) CreateWithTx

func (mr *MockClusterStoreMockRecorder) CreateWithTx(ctx, spec any) *gomock.Call

CreateWithTx indicates an expected call of CreateWithTx.

func (*MockClusterStoreMockRecorder) Delete

func (mr *MockClusterStoreMockRecorder) Delete(ctx, ID any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockClusterStoreMockRecorder) DeleteWithTx

func (mr *MockClusterStoreMockRecorder) DeleteWithTx(ctx, ID any) *gomock.Call

DeleteWithTx indicates an expected call of DeleteWithTx.

func (*MockClusterStoreMockRecorder) FindAnyClusterIDBySharedCompute

func (mr *MockClusterStoreMockRecorder) FindAnyClusterIDBySharedCompute(ctx, sharedCompute any) *gomock.Call

FindAnyClusterIDBySharedCompute indicates an expected call of FindAnyClusterIDBySharedCompute.

func (*MockClusterStoreMockRecorder) Get

func (mr *MockClusterStoreMockRecorder) Get(ctx, ID any) *gomock.Call

Get indicates an expected call of Get.

func (*MockClusterStoreMockRecorder) GetByClusterUrl

func (mr *MockClusterStoreMockRecorder) GetByClusterUrl(ctx, clusterURL any) *gomock.Call

GetByClusterUrl indicates an expected call of GetByClusterUrl.

func (*MockClusterStoreMockRecorder) ListAll

func (mr *MockClusterStoreMockRecorder) ListAll(ctx any) *gomock.Call

ListAll indicates an expected call of ListAll.

func (*MockClusterStoreMockRecorder) ListBYOCClustersForOrg

func (mr *MockClusterStoreMockRecorder) ListBYOCClustersForOrg(ctx, orgID any) *gomock.Call

ListBYOCClustersForOrg indicates an expected call of ListBYOCClustersForOrg.

func (*MockClusterStoreMockRecorder) ListIDsForImageRegistryReconciliation

func (mr *MockClusterStoreMockRecorder) ListIDsForImageRegistryReconciliation(ctx any) *gomock.Call

ListIDsForImageRegistryReconciliation indicates an expected call of ListIDsForImageRegistryReconciliation.

func (*MockClusterStoreMockRecorder) ListSharedComputeClusters

func (mr *MockClusterStoreMockRecorder) ListSharedComputeClusters(ctx any) *gomock.Call

ListSharedComputeClusters indicates an expected call of ListSharedComputeClusters.

func (*MockClusterStoreMockRecorder) ListSharedComputeClustersForOrg

func (mr *MockClusterStoreMockRecorder) ListSharedComputeClustersForOrg(ctx, orgID any) *gomock.Call

ListSharedComputeClustersForOrg indicates an expected call of ListSharedComputeClustersForOrg.

func (*MockClusterStoreMockRecorder) MarkDeletingWithTx

func (mr *MockClusterStoreMockRecorder) MarkDeletingWithTx(ctx, ID, at any) *gomock.Call

MarkDeletingWithTx indicates an expected call of MarkDeletingWithTx.

func (*MockClusterStoreMockRecorder) PersistManagerState

func (mr *MockClusterStoreMockRecorder) PersistManagerState(ctx, ID, running any) *gomock.Call

PersistManagerState indicates an expected call of PersistManagerState.

func (*MockClusterStoreMockRecorder) UpdateClusterInfo

func (mr *MockClusterStoreMockRecorder) UpdateClusterInfo(ctx, ID, info any) *gomock.Call

UpdateClusterInfo indicates an expected call of UpdateClusterInfo.

func (*MockClusterStoreMockRecorder) UpdateSharedComputeCluster

func (mr *MockClusterStoreMockRecorder) UpdateSharedComputeCluster(ctx, cluster any) *gomock.Call

UpdateSharedComputeCluster indicates an expected call of UpdateSharedComputeCluster.

func (*MockClusterStoreMockRecorder) WithTransaction

func (mr *MockClusterStoreMockRecorder) WithTransaction(ctx, fn any) *gomock.Call

WithTransaction indicates an expected call of WithTransaction.

type MockCredentialResolver

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

MockCredentialResolver is a mock of Resolver interface.

func NewMockCredentialResolver

func NewMockCredentialResolver(ctrl *gomock.Controller) *MockCredentialResolver

NewMockCredentialResolver creates a new mock instance.

func (*MockCredentialResolver) EXPECT

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

func (*MockCredentialResolver) GitCredentials

GitCredentials mocks base method.

func (*MockCredentialResolver) RegistryCredentials

RegistryCredentials mocks base method.

type MockCredentialResolverMockRecorder

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

MockCredentialResolverMockRecorder is the mock recorder for MockCredentialResolver.

func (*MockCredentialResolverMockRecorder) GitCredentials

func (mr *MockCredentialResolverMockRecorder) GitCredentials(ctx, orgID, repoURL, selector any) *gomock.Call

GitCredentials indicates an expected call of GitCredentials.

func (*MockCredentialResolverMockRecorder) RegistryCredentials

func (mr *MockCredentialResolverMockRecorder) RegistryCredentials(ctx, orgID, ref, purpose, selector any) *gomock.Call

RegistryCredentials indicates an expected call of RegistryCredentials.

type MockGitClient

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

MockGitClient is a mock of GitClient interface.

func NewMockGitClient

func NewMockGitClient(ctrl *gomock.Controller) *MockGitClient

NewMockGitClient creates a new mock instance.

func (*MockGitClient) CheckAccess

func (m *MockGitClient) CheckAccess(ctx context.Context, repoURL string) (bool, error)

CheckAccess mocks base method.

func (*MockGitClient) CheckTagExists

func (m *MockGitClient) CheckTagExists(ctx context.Context, repoURL, tag string) (bool, error)

CheckTagExists mocks base method.

func (*MockGitClient) EXPECT

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

func (*MockGitClient) FetchFile

func (m *MockGitClient) FetchFile(ctx context.Context, repoURL, ref, filePath string) ([]byte, error)

FetchFile mocks base method.

func (*MockGitClient) GetBranchHeadSHA

func (m *MockGitClient) GetBranchHeadSHA(ctx context.Context, repoURL, branch string) (*git.RepoResult, error)

GetBranchHeadSHA mocks base method.

func (*MockGitClient) GetDefaultBranch

func (m *MockGitClient) GetDefaultBranch(ctx context.Context, repoURL string) (string, error)

GetDefaultBranch mocks base method.

func (*MockGitClient) GetTagSHA

func (m *MockGitClient) GetTagSHA(ctx context.Context, repoURL, tag string) (string, error)

GetTagSHA mocks base method.

type MockGitClientMockRecorder

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

MockGitClientMockRecorder is the mock recorder for MockGitClient.

func (*MockGitClientMockRecorder) CheckAccess

func (mr *MockGitClientMockRecorder) CheckAccess(ctx, repoURL any) *gomock.Call

CheckAccess indicates an expected call of CheckAccess.

func (*MockGitClientMockRecorder) CheckTagExists

func (mr *MockGitClientMockRecorder) CheckTagExists(ctx, repoURL, tag any) *gomock.Call

CheckTagExists indicates an expected call of CheckTagExists.

func (*MockGitClientMockRecorder) FetchFile

func (mr *MockGitClientMockRecorder) FetchFile(ctx, repoURL, ref, filePath any) *gomock.Call

FetchFile indicates an expected call of FetchFile.

func (*MockGitClientMockRecorder) GetBranchHeadSHA

func (mr *MockGitClientMockRecorder) GetBranchHeadSHA(ctx, repoURL, branch any) *gomock.Call

GetBranchHeadSHA indicates an expected call of GetBranchHeadSHA.

func (*MockGitClientMockRecorder) GetDefaultBranch

func (mr *MockGitClientMockRecorder) GetDefaultBranch(ctx, repoURL any) *gomock.Call

GetDefaultBranch indicates an expected call of GetDefaultBranch.

func (*MockGitClientMockRecorder) GetTagSHA

func (mr *MockGitClientMockRecorder) GetTagSHA(ctx, repoURL, tag any) *gomock.Call

GetTagSHA indicates an expected call of GetTagSHA.

type MockGitHubAppClient

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

MockGitHubAppClient is a mock of Client interface.

func NewMockGitHubAppClient

func NewMockGitHubAppClient(ctrl *gomock.Controller) *MockGitHubAppClient

NewMockGitHubAppClient creates a new mock instance.

func (*MockGitHubAppClient) ConvertManifestCode

func (m *MockGitHubAppClient) ConvertManifestCode(ctx context.Context, code string) (*githubapp.AppCredentials, error)

ConvertManifestCode mocks base method.

func (*MockGitHubAppClient) DeleteInstallation

func (m *MockGitHubAppClient) DeleteInstallation(ctx context.Context, creds *githubapp.AppCredentials, installationID int64) error

DeleteInstallation mocks base method.

func (*MockGitHubAppClient) EXPECT

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

func (*MockGitHubAppClient) GetInstallation

func (m *MockGitHubAppClient) GetInstallation(ctx context.Context, creds *githubapp.AppCredentials, installationID int64) (*githubapp.Installation, error)

GetInstallation mocks base method.

func (*MockGitHubAppClient) GetRepo

func (m *MockGitHubAppClient) GetRepo(ctx context.Context, creds *githubapp.AppCredentials, installationID int64, owner, repo string) (*githubapp.Repo, error)

GetRepo mocks base method.

func (*MockGitHubAppClient) ListBranches

func (m *MockGitHubAppClient) ListBranches(ctx context.Context, creds *githubapp.AppCredentials, installationID int64, owner, repo string) ([]string, error)

ListBranches mocks base method.

func (*MockGitHubAppClient) ListInstallationRepos

func (m *MockGitHubAppClient) ListInstallationRepos(ctx context.Context, creds *githubapp.AppCredentials, installationID int64, page int) (*githubapp.RepoPage, error)

ListInstallationRepos mocks base method.

func (*MockGitHubAppClient) ListInstallations

func (m *MockGitHubAppClient) ListInstallations(ctx context.Context, creds *githubapp.AppCredentials) ([]githubapp.Installation, error)

ListInstallations mocks base method.

func (*MockGitHubAppClient) MintInstallationToken

func (m *MockGitHubAppClient) MintInstallationToken(ctx context.Context, creds *githubapp.AppCredentials, installationID int64) (*githubapp.Token, error)

MintInstallationToken mocks base method.

type MockGitHubAppClientMockRecorder

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

MockGitHubAppClientMockRecorder is the mock recorder for MockGitHubAppClient.

func (*MockGitHubAppClientMockRecorder) ConvertManifestCode

func (mr *MockGitHubAppClientMockRecorder) ConvertManifestCode(ctx, code any) *gomock.Call

ConvertManifestCode indicates an expected call of ConvertManifestCode.

func (*MockGitHubAppClientMockRecorder) DeleteInstallation

func (mr *MockGitHubAppClientMockRecorder) DeleteInstallation(ctx, creds, installationID any) *gomock.Call

DeleteInstallation indicates an expected call of DeleteInstallation.

func (*MockGitHubAppClientMockRecorder) GetInstallation

func (mr *MockGitHubAppClientMockRecorder) GetInstallation(ctx, creds, installationID any) *gomock.Call

GetInstallation indicates an expected call of GetInstallation.

func (*MockGitHubAppClientMockRecorder) GetRepo

func (mr *MockGitHubAppClientMockRecorder) GetRepo(ctx, creds, installationID, owner, repo any) *gomock.Call

GetRepo indicates an expected call of GetRepo.

func (*MockGitHubAppClientMockRecorder) ListBranches

func (mr *MockGitHubAppClientMockRecorder) ListBranches(ctx, creds, installationID, owner, repo any) *gomock.Call

ListBranches indicates an expected call of ListBranches.

func (*MockGitHubAppClientMockRecorder) ListInstallationRepos

func (mr *MockGitHubAppClientMockRecorder) ListInstallationRepos(ctx, creds, installationID, page any) *gomock.Call

ListInstallationRepos indicates an expected call of ListInstallationRepos.

func (*MockGitHubAppClientMockRecorder) ListInstallations

func (mr *MockGitHubAppClientMockRecorder) ListInstallations(ctx, creds any) *gomock.Call

ListInstallations indicates an expected call of ListInstallations.

func (*MockGitHubAppClientMockRecorder) MintInstallationToken

func (mr *MockGitHubAppClientMockRecorder) MintInstallationToken(ctx, creds, installationID any) *gomock.Call

MintInstallationToken indicates an expected call of MintInstallationToken.

type MockGitHubWebhookService

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

MockGitHubWebhookService is a mock of GitHubWebhookService interface.

func NewMockGitHubWebhookService

func NewMockGitHubWebhookService(ctrl *gomock.Controller) *MockGitHubWebhookService

NewMockGitHubWebhookService creates a new mock instance.

func (*MockGitHubWebhookService) EXPECT

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

func (*MockGitHubWebhookService) ProcessGitHubWebhook

func (m *MockGitHubWebhookService) ProcessGitHubWebhook(ctx context.Context, event string, payload []byte, signature string) *errors.ServiceError

ProcessGitHubWebhook mocks base method.

type MockGitHubWebhookServiceMockRecorder

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

MockGitHubWebhookServiceMockRecorder is the mock recorder for MockGitHubWebhookService.

func (*MockGitHubWebhookServiceMockRecorder) ProcessGitHubWebhook

func (mr *MockGitHubWebhookServiceMockRecorder) ProcessGitHubWebhook(ctx, event, payload, signature any) *gomock.Call

ProcessGitHubWebhook indicates an expected call of ProcessGitHubWebhook.

type MockGitInstallationStore

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

MockGitInstallationStore is a mock of GitInstallationStore interface.

func NewMockGitInstallationStore

func NewMockGitInstallationStore(ctrl *gomock.Controller) *MockGitInstallationStore

NewMockGitInstallationStore creates a new mock instance.

func (*MockGitInstallationStore) DeleteByInstallationID

func (m *MockGitInstallationStore) DeleteByInstallationID(ctx context.Context, integrationID string, installationID int64) *errors.ServiceError

DeleteByInstallationID mocks base method.

func (*MockGitInstallationStore) EXPECT

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

func (*MockGitInstallationStore) GetByInstallationID

func (m *MockGitInstallationStore) GetByInstallationID(ctx context.Context, installationID int64) (*models.GitInstallation, *errors.ServiceError)

GetByInstallationID mocks base method.

func (*MockGitInstallationStore) GetByIntegrationAndAccount

func (m *MockGitInstallationStore) GetByIntegrationAndAccount(ctx context.Context, integrationID, accountLogin string) (*models.GitInstallation, *errors.ServiceError)

GetByIntegrationAndAccount mocks base method.

func (*MockGitInstallationStore) GetByIntegrationAndID

func (m *MockGitInstallationStore) GetByIntegrationAndID(ctx context.Context, integrationID, id string) (*models.GitInstallation, *errors.ServiceError)

GetByIntegrationAndID mocks base method.

func (*MockGitInstallationStore) ListByIntegrationID

func (m *MockGitInstallationStore) ListByIntegrationID(ctx context.Context, integrationID string) ([]*models.GitInstallation, *errors.ServiceError)

ListByIntegrationID mocks base method.

func (*MockGitInstallationStore) Upsert

Upsert mocks base method.

type MockGitInstallationStoreMockRecorder

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

MockGitInstallationStoreMockRecorder is the mock recorder for MockGitInstallationStore.

func (*MockGitInstallationStoreMockRecorder) DeleteByInstallationID

func (mr *MockGitInstallationStoreMockRecorder) DeleteByInstallationID(ctx, integrationID, installationID any) *gomock.Call

DeleteByInstallationID indicates an expected call of DeleteByInstallationID.

func (*MockGitInstallationStoreMockRecorder) GetByInstallationID

func (mr *MockGitInstallationStoreMockRecorder) GetByInstallationID(ctx, installationID any) *gomock.Call

GetByInstallationID indicates an expected call of GetByInstallationID.

func (*MockGitInstallationStoreMockRecorder) GetByIntegrationAndAccount

func (mr *MockGitInstallationStoreMockRecorder) GetByIntegrationAndAccount(ctx, integrationID, accountLogin any) *gomock.Call

GetByIntegrationAndAccount indicates an expected call of GetByIntegrationAndAccount.

func (*MockGitInstallationStoreMockRecorder) GetByIntegrationAndID

func (mr *MockGitInstallationStoreMockRecorder) GetByIntegrationAndID(ctx, integrationID, id any) *gomock.Call

GetByIntegrationAndID indicates an expected call of GetByIntegrationAndID.

func (*MockGitInstallationStoreMockRecorder) ListByIntegrationID

func (mr *MockGitInstallationStoreMockRecorder) ListByIntegrationID(ctx, integrationID any) *gomock.Call

ListByIntegrationID indicates an expected call of ListByIntegrationID.

func (*MockGitInstallationStoreMockRecorder) Upsert

func (mr *MockGitInstallationStoreMockRecorder) Upsert(ctx, installation any) *gomock.Call

Upsert indicates an expected call of Upsert.

type MockGitIntegrationService

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

MockGitIntegrationService is a mock of GitIntegrationService interface.

func NewMockGitIntegrationService

func NewMockGitIntegrationService(ctrl *gomock.Controller) *MockGitIntegrationService

NewMockGitIntegrationService creates a new mock instance.

func (*MockGitIntegrationService) Create

Create mocks base method.

func (*MockGitIntegrationService) CreateGitHubAppManifest

func (m *MockGitIntegrationService) CreateGitHubAppManifest(ctx context.Context, organisationID string) (*models.GitHubAppManifestFlow, *errors.ServiceError)

CreateGitHubAppManifest mocks base method.

func (*MockGitIntegrationService) Delete

Delete mocks base method.

func (*MockGitIntegrationService) EXPECT

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

func (*MockGitIntegrationService) GetByID

GetByID mocks base method.

func (*MockGitIntegrationService) GetRepository

func (m *MockGitIntegrationService) GetRepository(ctx context.Context, integrationID, owner, repo string) (*githubapp.Repo, *errors.ServiceError)

GetRepository mocks base method.

func (*MockGitIntegrationService) HandleGitHubAppSetup

func (m *MockGitIntegrationService) HandleGitHubAppSetup(ctx context.Context, installationID int64, state string) (string, *errors.ServiceError)

HandleGitHubAppSetup mocks base method.

func (*MockGitIntegrationService) HandleGitHubManifestCallback

func (m *MockGitIntegrationService) HandleGitHubManifestCallback(ctx context.Context, code, state string) (string, *errors.ServiceError)

HandleGitHubManifestCallback mocks base method.

func (*MockGitIntegrationService) InternalGetByID

InternalGetByID mocks base method.

func (*MockGitIntegrationService) InternalGetForHost

func (m *MockGitIntegrationService) InternalGetForHost(ctx context.Context, organisationID, host string) (*models.GitIntegration, *errors.ServiceError)

InternalGetForHost mocks base method.

func (*MockGitIntegrationService) InternalMintCloneToken

func (m *MockGitIntegrationService) InternalMintCloneToken(ctx context.Context, integrationID, repoURL string) (*models.GitHubAppMintResult, *errors.ServiceError)

InternalMintCloneToken mocks base method.

func (*MockGitIntegrationService) InternalMintForRepo

func (m *MockGitIntegrationService) InternalMintForRepo(ctx context.Context, organisationID, repoURL string) (*models.GitHubAppMintResult, *errors.ServiceError)

InternalMintForRepo mocks base method.

func (*MockGitIntegrationService) ListByOrgID

func (m *MockGitIntegrationService) ListByOrgID(ctx context.Context, organisationID string) ([]*models.GitIntegration, *errors.ServiceError)

ListByOrgID mocks base method.

func (*MockGitIntegrationService) ListInstallations

func (m *MockGitIntegrationService) ListInstallations(ctx context.Context, integrationID string, refresh bool) ([]*models.GitInstallation, *errors.ServiceError)

ListInstallations mocks base method.

func (*MockGitIntegrationService) ListRepositories

func (m *MockGitIntegrationService) ListRepositories(ctx context.Context, integrationID string, page int, installationUUID string) (*githubapp.RepoPage, *errors.ServiceError)

ListRepositories mocks base method.

func (*MockGitIntegrationService) ListRepositoryBranches

func (m *MockGitIntegrationService) ListRepositoryBranches(ctx context.Context, integrationID, owner, repo string) ([]string, *errors.ServiceError)

ListRepositoryBranches mocks base method.

func (*MockGitIntegrationService) Update

Update mocks base method.

func (*MockGitIntegrationService) Verify

func (m *MockGitIntegrationService) Verify(ctx context.Context, ID, repoURL string) *errors.ServiceError

Verify mocks base method.

type MockGitIntegrationServiceMockRecorder

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

MockGitIntegrationServiceMockRecorder is the mock recorder for MockGitIntegrationService.

func (*MockGitIntegrationServiceMockRecorder) Create

func (mr *MockGitIntegrationServiceMockRecorder) Create(ctx, integration any) *gomock.Call

Create indicates an expected call of Create.

func (*MockGitIntegrationServiceMockRecorder) CreateGitHubAppManifest

func (mr *MockGitIntegrationServiceMockRecorder) CreateGitHubAppManifest(ctx, organisationID any) *gomock.Call

CreateGitHubAppManifest indicates an expected call of CreateGitHubAppManifest.

func (*MockGitIntegrationServiceMockRecorder) Delete

Delete indicates an expected call of Delete.

func (*MockGitIntegrationServiceMockRecorder) GetByID

func (mr *MockGitIntegrationServiceMockRecorder) GetByID(ctx, ID any) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockGitIntegrationServiceMockRecorder) GetRepository

func (mr *MockGitIntegrationServiceMockRecorder) GetRepository(ctx, integrationID, owner, repo any) *gomock.Call

GetRepository indicates an expected call of GetRepository.

func (*MockGitIntegrationServiceMockRecorder) HandleGitHubAppSetup

func (mr *MockGitIntegrationServiceMockRecorder) HandleGitHubAppSetup(ctx, installationID, state any) *gomock.Call

HandleGitHubAppSetup indicates an expected call of HandleGitHubAppSetup.

func (*MockGitIntegrationServiceMockRecorder) HandleGitHubManifestCallback

func (mr *MockGitIntegrationServiceMockRecorder) HandleGitHubManifestCallback(ctx, code, state any) *gomock.Call

HandleGitHubManifestCallback indicates an expected call of HandleGitHubManifestCallback.

func (*MockGitIntegrationServiceMockRecorder) InternalGetByID

func (mr *MockGitIntegrationServiceMockRecorder) InternalGetByID(ctx, ID any) *gomock.Call

InternalGetByID indicates an expected call of InternalGetByID.

func (*MockGitIntegrationServiceMockRecorder) InternalGetForHost

func (mr *MockGitIntegrationServiceMockRecorder) InternalGetForHost(ctx, organisationID, host any) *gomock.Call

InternalGetForHost indicates an expected call of InternalGetForHost.

func (*MockGitIntegrationServiceMockRecorder) InternalMintCloneToken

func (mr *MockGitIntegrationServiceMockRecorder) InternalMintCloneToken(ctx, integrationID, repoURL any) *gomock.Call

InternalMintCloneToken indicates an expected call of InternalMintCloneToken.

func (*MockGitIntegrationServiceMockRecorder) InternalMintForRepo

func (mr *MockGitIntegrationServiceMockRecorder) InternalMintForRepo(ctx, organisationID, repoURL any) *gomock.Call

InternalMintForRepo indicates an expected call of InternalMintForRepo.

func (*MockGitIntegrationServiceMockRecorder) ListByOrgID

func (mr *MockGitIntegrationServiceMockRecorder) ListByOrgID(ctx, organisationID any) *gomock.Call

ListByOrgID indicates an expected call of ListByOrgID.

func (*MockGitIntegrationServiceMockRecorder) ListInstallations

func (mr *MockGitIntegrationServiceMockRecorder) ListInstallations(ctx, integrationID, refresh any) *gomock.Call

ListInstallations indicates an expected call of ListInstallations.

func (*MockGitIntegrationServiceMockRecorder) ListRepositories

func (mr *MockGitIntegrationServiceMockRecorder) ListRepositories(ctx, integrationID, page, installationUUID any) *gomock.Call

ListRepositories indicates an expected call of ListRepositories.

func (*MockGitIntegrationServiceMockRecorder) ListRepositoryBranches

func (mr *MockGitIntegrationServiceMockRecorder) ListRepositoryBranches(ctx, integrationID, owner, repo any) *gomock.Call

ListRepositoryBranches indicates an expected call of ListRepositoryBranches.

func (*MockGitIntegrationServiceMockRecorder) Update

func (mr *MockGitIntegrationServiceMockRecorder) Update(ctx, ID, integration any) *gomock.Call

Update indicates an expected call of Update.

func (*MockGitIntegrationServiceMockRecorder) Verify

func (mr *MockGitIntegrationServiceMockRecorder) Verify(ctx, ID, repoURL any) *gomock.Call

Verify indicates an expected call of Verify.

type MockGitIntegrationStore

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

MockGitIntegrationStore is a mock of GitIntegrationStore interface.

func NewMockGitIntegrationStore

func NewMockGitIntegrationStore(ctrl *gomock.Controller) *MockGitIntegrationStore

NewMockGitIntegrationStore creates a new mock instance.

func (*MockGitIntegrationStore) Create

Create mocks base method.

func (*MockGitIntegrationStore) Delete

Delete mocks base method.

func (*MockGitIntegrationStore) EXPECT

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

func (*MockGitIntegrationStore) GetByID

GetByID mocks base method.

func (*MockGitIntegrationStore) GetByOrgAndHost

func (m *MockGitIntegrationStore) GetByOrgAndHost(ctx context.Context, organisationID, host string) (*models.GitIntegration, *errors.ServiceError)

GetByOrgAndHost mocks base method.

func (*MockGitIntegrationStore) GetGitHubAppForOrg

func (m *MockGitIntegrationStore) GetGitHubAppForOrg(ctx context.Context, organisationID string) (*models.GitIntegration, *errors.ServiceError)

GetGitHubAppForOrg mocks base method.

func (*MockGitIntegrationStore) ListByOrgID

func (m *MockGitIntegrationStore) ListByOrgID(ctx context.Context, organisationID string) ([]*models.GitIntegration, *errors.ServiceError)

ListByOrgID mocks base method.

func (*MockGitIntegrationStore) ListGitHubApps

ListGitHubApps mocks base method.

func (*MockGitIntegrationStore) Update

Update mocks base method.

type MockGitIntegrationStoreMockRecorder

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

MockGitIntegrationStoreMockRecorder is the mock recorder for MockGitIntegrationStore.

func (*MockGitIntegrationStoreMockRecorder) Create

func (mr *MockGitIntegrationStoreMockRecorder) Create(ctx, integration any) *gomock.Call

Create indicates an expected call of Create.

func (*MockGitIntegrationStoreMockRecorder) Delete

func (mr *MockGitIntegrationStoreMockRecorder) Delete(ctx, ID any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockGitIntegrationStoreMockRecorder) GetByID

func (mr *MockGitIntegrationStoreMockRecorder) GetByID(ctx, ID any) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockGitIntegrationStoreMockRecorder) GetByOrgAndHost

func (mr *MockGitIntegrationStoreMockRecorder) GetByOrgAndHost(ctx, organisationID, host any) *gomock.Call

GetByOrgAndHost indicates an expected call of GetByOrgAndHost.

func (*MockGitIntegrationStoreMockRecorder) GetGitHubAppForOrg

func (mr *MockGitIntegrationStoreMockRecorder) GetGitHubAppForOrg(ctx, organisationID any) *gomock.Call

GetGitHubAppForOrg indicates an expected call of GetGitHubAppForOrg.

func (*MockGitIntegrationStoreMockRecorder) ListByOrgID

func (mr *MockGitIntegrationStoreMockRecorder) ListByOrgID(ctx, organisationID any) *gomock.Call

ListByOrgID indicates an expected call of ListByOrgID.

func (*MockGitIntegrationStoreMockRecorder) ListGitHubApps

func (mr *MockGitIntegrationStoreMockRecorder) ListGitHubApps(ctx any) *gomock.Call

ListGitHubApps indicates an expected call of ListGitHubApps.

func (*MockGitIntegrationStoreMockRecorder) Update

func (mr *MockGitIntegrationStoreMockRecorder) Update(ctx, integration any) *gomock.Call

Update indicates an expected call of Update.

type MockImageBuildService

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

MockImageBuildService is a mock of ImageBuildService interface.

func NewMockImageBuildService

func NewMockImageBuildService(ctrl *gomock.Controller) *MockImageBuildService

NewMockImageBuildService creates a new mock instance.

func (*MockImageBuildService) EXPECT

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

func (*MockImageBuildService) GetByID

GetByID mocks base method.

func (*MockImageBuildService) InternalCreate

func (m *MockImageBuildService) InternalCreate(ctx context.Context, resourceBuild *models.ImageBuild) (*models.ImageBuild, *errors.ServiceError)

InternalCreate mocks base method.

func (*MockImageBuildService) InternalGetByID

InternalGetByID mocks base method.

func (*MockImageBuildService) InternalUpdateStatus

func (m *MockImageBuildService) InternalUpdateStatus(ctx context.Context, BuildID string, status *models.ImageBuildStatus) *errors.ServiceError

InternalUpdateStatus mocks base method.

func (*MockImageBuildService) ListByResourceName

func (m *MockImageBuildService) ListByResourceName(ctx context.Context, stackID, resourceName string) ([]*models.ImageBuild, *errors.ServiceError)

ListByResourceName mocks base method.

func (*MockImageBuildService) ListByStackID

func (m *MockImageBuildService) ListByStackID(ctx context.Context, stackID string) ([]*models.ImageBuild, *errors.ServiceError)

ListByStackID mocks base method.

type MockImageBuildServiceMockRecorder

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

MockImageBuildServiceMockRecorder is the mock recorder for MockImageBuildService.

func (*MockImageBuildServiceMockRecorder) GetByID

func (mr *MockImageBuildServiceMockRecorder) GetByID(ctx, ID any) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockImageBuildServiceMockRecorder) InternalCreate

func (mr *MockImageBuildServiceMockRecorder) InternalCreate(ctx, resourceBuild any) *gomock.Call

InternalCreate indicates an expected call of InternalCreate.

func (*MockImageBuildServiceMockRecorder) InternalGetByID

func (mr *MockImageBuildServiceMockRecorder) InternalGetByID(ctx, ID any) *gomock.Call

InternalGetByID indicates an expected call of InternalGetByID.

func (*MockImageBuildServiceMockRecorder) InternalUpdateStatus

func (mr *MockImageBuildServiceMockRecorder) InternalUpdateStatus(ctx, BuildID, status any) *gomock.Call

InternalUpdateStatus indicates an expected call of InternalUpdateStatus.

func (*MockImageBuildServiceMockRecorder) ListByResourceName

func (mr *MockImageBuildServiceMockRecorder) ListByResourceName(ctx, stackID, resourceName any) *gomock.Call

ListByResourceName indicates an expected call of ListByResourceName.

func (*MockImageBuildServiceMockRecorder) ListByStackID

func (mr *MockImageBuildServiceMockRecorder) ListByStackID(ctx, stackID any) *gomock.Call

ListByStackID indicates an expected call of ListByStackID.

type MockImageRegistryService

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

MockImageRegistryService is a mock of ImageRegistryService interface.

func NewMockImageRegistryService

func NewMockImageRegistryService(ctrl *gomock.Controller) *MockImageRegistryService

NewMockImageRegistryService creates a new mock instance.

func (*MockImageRegistryService) Create

Create mocks base method.

func (*MockImageRegistryService) CreateWithTx

CreateWithTx mocks base method.

func (*MockImageRegistryService) Delete

Delete mocks base method.

func (*MockImageRegistryService) DeleteWithTx

DeleteWithTx mocks base method.

func (*MockImageRegistryService) EXPECT

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

func (*MockImageRegistryService) Get

Get mocks base method.

func (*MockImageRegistryService) InjectBackgroundJobEnqueuer

func (m *MockImageRegistryService) InjectBackgroundJobEnqueuer(dep clusterresource.BackgroundJobEnqueuerDep)

InjectBackgroundJobEnqueuer mocks base method.

func (*MockImageRegistryService) InternalCreateSeedRegistry

InternalCreateSeedRegistry mocks base method.

func (*MockImageRegistryService) InternalGet

InternalGet mocks base method.

func (*MockImageRegistryService) InternalMarkAllDeletingByClusterIDWithTx

func (m *MockImageRegistryService) InternalMarkAllDeletingByClusterIDWithTx(ctx context.Context, clusterID string) *errors.ServiceError

InternalMarkAllDeletingByClusterIDWithTx mocks base method.

func (*MockImageRegistryService) ListByClusterID

func (m *MockImageRegistryService) ListByClusterID(ctx context.Context, orgID, clusterID string) ([]*models.ClusterImageRegistry, *errors.ServiceError)

ListByClusterID mocks base method.

func (*MockImageRegistryService) ListForOrg

ListForOrg mocks base method.

func (*MockImageRegistryService) PopulateInClusterRegistryNameForResource

func (m *MockImageRegistryService) PopulateInClusterRegistryNameForResource(ctx context.Context, orgID, clusterID, stackName string, resource *models.StackResource) *errors.ServiceError

PopulateInClusterRegistryNameForResource mocks base method.

func (*MockImageRegistryService) UpdateStatus

UpdateStatus mocks base method.

type MockImageRegistryServiceMockRecorder

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

MockImageRegistryServiceMockRecorder is the mock recorder for MockImageRegistryService.

func (*MockImageRegistryServiceMockRecorder) Create

func (mr *MockImageRegistryServiceMockRecorder) Create(ctx, spec any) *gomock.Call

Create indicates an expected call of Create.

func (*MockImageRegistryServiceMockRecorder) CreateWithTx

func (mr *MockImageRegistryServiceMockRecorder) CreateWithTx(ctx, spec any) *gomock.Call

CreateWithTx indicates an expected call of CreateWithTx.

func (*MockImageRegistryServiceMockRecorder) Delete

func (mr *MockImageRegistryServiceMockRecorder) Delete(ctx, orgID, ID any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockImageRegistryServiceMockRecorder) DeleteWithTx

func (mr *MockImageRegistryServiceMockRecorder) DeleteWithTx(ctx, orgID, registry any) *gomock.Call

DeleteWithTx indicates an expected call of DeleteWithTx.

func (*MockImageRegistryServiceMockRecorder) Get

Get indicates an expected call of Get.

func (*MockImageRegistryServiceMockRecorder) InjectBackgroundJobEnqueuer

func (mr *MockImageRegistryServiceMockRecorder) InjectBackgroundJobEnqueuer(dep any) *gomock.Call

InjectBackgroundJobEnqueuer indicates an expected call of InjectBackgroundJobEnqueuer.

func (*MockImageRegistryServiceMockRecorder) InternalCreateSeedRegistry

func (mr *MockImageRegistryServiceMockRecorder) InternalCreateSeedRegistry(ctx, spec any) *gomock.Call

InternalCreateSeedRegistry indicates an expected call of InternalCreateSeedRegistry.

func (*MockImageRegistryServiceMockRecorder) InternalGet

func (mr *MockImageRegistryServiceMockRecorder) InternalGet(ctx, ID any) *gomock.Call

InternalGet indicates an expected call of InternalGet.

func (*MockImageRegistryServiceMockRecorder) InternalMarkAllDeletingByClusterIDWithTx

func (mr *MockImageRegistryServiceMockRecorder) InternalMarkAllDeletingByClusterIDWithTx(ctx, clusterID any) *gomock.Call

InternalMarkAllDeletingByClusterIDWithTx indicates an expected call of InternalMarkAllDeletingByClusterIDWithTx.

func (*MockImageRegistryServiceMockRecorder) ListByClusterID

func (mr *MockImageRegistryServiceMockRecorder) ListByClusterID(ctx, orgID, clusterID any) *gomock.Call

ListByClusterID indicates an expected call of ListByClusterID.

func (*MockImageRegistryServiceMockRecorder) ListForOrg

func (mr *MockImageRegistryServiceMockRecorder) ListForOrg(ctx, orgID any) *gomock.Call

ListForOrg indicates an expected call of ListForOrg.

func (*MockImageRegistryServiceMockRecorder) PopulateInClusterRegistryNameForResource

func (mr *MockImageRegistryServiceMockRecorder) PopulateInClusterRegistryNameForResource(ctx, orgID, clusterID, stackName, resource any) *gomock.Call

PopulateInClusterRegistryNameForResource indicates an expected call of PopulateInClusterRegistryNameForResource.

func (*MockImageRegistryServiceMockRecorder) UpdateStatus

func (mr *MockImageRegistryServiceMockRecorder) UpdateStatus(ctx, ID, status any) *gomock.Call

UpdateStatus indicates an expected call of UpdateStatus.

type MockLogger

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

MockLogger is a mock of Logger interface.

func NewMockLogger

func NewMockLogger(ctrl *gomock.Controller) *MockLogger

NewMockLogger creates a new mock instance.

func (*MockLogger) Debug

func (m *MockLogger) Debug(ctx context.Context, format string, args ...any)

Debug mocks base method.

func (*MockLogger) DebugEnabled

func (m *MockLogger) DebugEnabled() bool

DebugEnabled mocks base method.

func (*MockLogger) Debugf

func (m *MockLogger) Debugf(format string, args ...any)

Debugf mocks base method.

func (*MockLogger) EXPECT

func (m *MockLogger) EXPECT() *MockLoggerMockRecorder

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

func (*MockLogger) Error

func (m *MockLogger) Error(ctx context.Context, format string, args ...any)

Error mocks base method.

func (*MockLogger) ErrorEnabled

func (m *MockLogger) ErrorEnabled() bool

ErrorEnabled mocks base method.

func (*MockLogger) Errorf

func (m *MockLogger) Errorf(format string, args ...any)

Errorf mocks base method.

func (*MockLogger) Fatal

func (m *MockLogger) Fatal(ctx context.Context, format string, args ...any)

Fatal mocks base method.

func (*MockLogger) Fatalf

func (m *MockLogger) Fatalf(format string, args ...any)

Fatalf mocks base method.

func (*MockLogger) GetLevel

func (m *MockLogger) GetLevel() logrus.Level

GetLevel mocks base method.

func (*MockLogger) Info

func (m *MockLogger) Info(ctx context.Context, format string, args ...any)

Info mocks base method.

func (*MockLogger) InfoEnabled

func (m *MockLogger) InfoEnabled() bool

InfoEnabled mocks base method.

func (*MockLogger) Infof

func (m *MockLogger) Infof(format string, args ...any)

Infof mocks base method.

func (*MockLogger) SetLevel

func (m *MockLogger) SetLevel(level logrus.Level) logger.Logger

SetLevel mocks base method.

func (*MockLogger) Warn

func (m *MockLogger) Warn(ctx context.Context, format string, args ...any)

Warn mocks base method.

func (*MockLogger) WarnEnabled

func (m *MockLogger) WarnEnabled() bool

WarnEnabled mocks base method.

func (*MockLogger) Warnf

func (m *MockLogger) Warnf(format string, args ...any)

Warnf mocks base method.

func (*MockLogger) WithField

func (m *MockLogger) WithField(key string, value any) logger.Logger

WithField mocks base method.

func (*MockLogger) WithFields

func (m *MockLogger) WithFields(fields map[string]any) logger.Logger

WithFields mocks base method.

type MockLoggerMockRecorder

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

MockLoggerMockRecorder is the mock recorder for MockLogger.

func (*MockLoggerMockRecorder) Debug

func (mr *MockLoggerMockRecorder) Debug(ctx, format any, args ...any) *gomock.Call

Debug indicates an expected call of Debug.

func (*MockLoggerMockRecorder) DebugEnabled

func (mr *MockLoggerMockRecorder) DebugEnabled() *gomock.Call

DebugEnabled indicates an expected call of DebugEnabled.

func (*MockLoggerMockRecorder) Debugf

func (mr *MockLoggerMockRecorder) Debugf(format any, args ...any) *gomock.Call

Debugf indicates an expected call of Debugf.

func (*MockLoggerMockRecorder) Error

func (mr *MockLoggerMockRecorder) Error(ctx, format any, args ...any) *gomock.Call

Error indicates an expected call of Error.

func (*MockLoggerMockRecorder) ErrorEnabled

func (mr *MockLoggerMockRecorder) ErrorEnabled() *gomock.Call

ErrorEnabled indicates an expected call of ErrorEnabled.

func (*MockLoggerMockRecorder) Errorf

func (mr *MockLoggerMockRecorder) Errorf(format any, args ...any) *gomock.Call

Errorf indicates an expected call of Errorf.

func (*MockLoggerMockRecorder) Fatal

func (mr *MockLoggerMockRecorder) Fatal(ctx, format any, args ...any) *gomock.Call

Fatal indicates an expected call of Fatal.

func (*MockLoggerMockRecorder) Fatalf

func (mr *MockLoggerMockRecorder) Fatalf(format any, args ...any) *gomock.Call

Fatalf indicates an expected call of Fatalf.

func (*MockLoggerMockRecorder) GetLevel

func (mr *MockLoggerMockRecorder) GetLevel() *gomock.Call

GetLevel indicates an expected call of GetLevel.

func (*MockLoggerMockRecorder) Info

func (mr *MockLoggerMockRecorder) Info(ctx, format any, args ...any) *gomock.Call

Info indicates an expected call of Info.

func (*MockLoggerMockRecorder) InfoEnabled

func (mr *MockLoggerMockRecorder) InfoEnabled() *gomock.Call

InfoEnabled indicates an expected call of InfoEnabled.

func (*MockLoggerMockRecorder) Infof

func (mr *MockLoggerMockRecorder) Infof(format any, args ...any) *gomock.Call

Infof indicates an expected call of Infof.

func (*MockLoggerMockRecorder) SetLevel

func (mr *MockLoggerMockRecorder) SetLevel(level any) *gomock.Call

SetLevel indicates an expected call of SetLevel.

func (*MockLoggerMockRecorder) Warn

func (mr *MockLoggerMockRecorder) Warn(ctx, format any, args ...any) *gomock.Call

Warn indicates an expected call of Warn.

func (*MockLoggerMockRecorder) WarnEnabled

func (mr *MockLoggerMockRecorder) WarnEnabled() *gomock.Call

WarnEnabled indicates an expected call of WarnEnabled.

func (*MockLoggerMockRecorder) Warnf

func (mr *MockLoggerMockRecorder) Warnf(format any, args ...any) *gomock.Call

Warnf indicates an expected call of Warnf.

func (*MockLoggerMockRecorder) WithField

func (mr *MockLoggerMockRecorder) WithField(key, value any) *gomock.Call

WithField indicates an expected call of WithField.

func (*MockLoggerMockRecorder) WithFields

func (mr *MockLoggerMockRecorder) WithFields(fields any) *gomock.Call

WithFields indicates an expected call of WithFields.

type MockNamespaceService

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

MockNamespaceService is a mock of NamespaceService interface.

func NewMockNamespaceService

func NewMockNamespaceService(ctrl *gomock.Controller) *MockNamespaceService

NewMockNamespaceService creates a new mock instance.

func (*MockNamespaceService) CreateInCluster

func (m *MockNamespaceService) CreateInCluster(ctx context.Context, ns *models.Namespace) *errors.ServiceError

CreateInCluster mocks base method.

func (*MockNamespaceService) CreateInDB

CreateInDB mocks base method.

func (*MockNamespaceService) CreateInDBWithTx

CreateInDBWithTx mocks base method.

func (*MockNamespaceService) DeleteFromDB

func (m *MockNamespaceService) DeleteFromDB(ctx context.Context, id string) *errors.ServiceError

DeleteFromDB mocks base method.

func (*MockNamespaceService) DeleteFromDBWithTx

func (m *MockNamespaceService) DeleteFromDBWithTx(ctx context.Context, id string) *errors.ServiceError

DeleteFromDBWithTx mocks base method.

func (*MockNamespaceService) EXPECT

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

func (*MockNamespaceService) Get

Get mocks base method.

func (*MockNamespaceService) InjectClusterResourceServiceDeps

func (m *MockNamespaceService) InjectClusterResourceServiceDeps(deps clusterresource.ClusterResourceServiceDeps)

InjectClusterResourceServiceDeps mocks base method.

func (*MockNamespaceService) InternalDeleteFromDB

func (m *MockNamespaceService) InternalDeleteFromDB(ctx context.Context, id string) *errors.ServiceError

InternalDeleteFromDB mocks base method.

func (*MockNamespaceService) ListByOrganisation

func (m *MockNamespaceService) ListByOrganisation(ctx context.Context, organisationID string) ([]*models.Namespace, *errors.ServiceError)

ListByOrganisation mocks base method.

func (*MockNamespaceService) ListByStack

func (m *MockNamespaceService) ListByStack(ctx context.Context, stackID string) ([]*models.Namespace, *errors.ServiceError)

ListByStack mocks base method.

func (*MockNamespaceService) PrepareNamespaceForAddon

func (m *MockNamespaceService) PrepareNamespaceForAddon(ctx context.Context, addon models.Addon, orgID string) (*models.Namespace, *errors.ServiceError)

PrepareNamespaceForAddon mocks base method.

func (*MockNamespaceService) PrepareNamespaceForStack

func (m *MockNamespaceService) PrepareNamespaceForStack(ctx context.Context, stack *models.Stack) (*models.Namespace, *errors.ServiceError)

PrepareNamespaceForStack mocks base method.

func (*MockNamespaceService) UpdateInDB

UpdateInDB mocks base method.

type MockNamespaceServiceMockRecorder

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

MockNamespaceServiceMockRecorder is the mock recorder for MockNamespaceService.

func (*MockNamespaceServiceMockRecorder) CreateInCluster

func (mr *MockNamespaceServiceMockRecorder) CreateInCluster(ctx, ns any) *gomock.Call

CreateInCluster indicates an expected call of CreateInCluster.

func (*MockNamespaceServiceMockRecorder) CreateInDB

func (mr *MockNamespaceServiceMockRecorder) CreateInDB(ctx, ns any) *gomock.Call

CreateInDB indicates an expected call of CreateInDB.

func (*MockNamespaceServiceMockRecorder) CreateInDBWithTx

func (mr *MockNamespaceServiceMockRecorder) CreateInDBWithTx(ctx, ns any) *gomock.Call

CreateInDBWithTx indicates an expected call of CreateInDBWithTx.

func (*MockNamespaceServiceMockRecorder) DeleteFromDB

func (mr *MockNamespaceServiceMockRecorder) DeleteFromDB(ctx, id any) *gomock.Call

DeleteFromDB indicates an expected call of DeleteFromDB.

func (*MockNamespaceServiceMockRecorder) DeleteFromDBWithTx

func (mr *MockNamespaceServiceMockRecorder) DeleteFromDBWithTx(ctx, id any) *gomock.Call

DeleteFromDBWithTx indicates an expected call of DeleteFromDBWithTx.

func (*MockNamespaceServiceMockRecorder) Get

func (mr *MockNamespaceServiceMockRecorder) Get(ctx, id any) *gomock.Call

Get indicates an expected call of Get.

func (*MockNamespaceServiceMockRecorder) InjectClusterResourceServiceDeps

func (mr *MockNamespaceServiceMockRecorder) InjectClusterResourceServiceDeps(deps any) *gomock.Call

InjectClusterResourceServiceDeps indicates an expected call of InjectClusterResourceServiceDeps.

func (*MockNamespaceServiceMockRecorder) InternalDeleteFromDB

func (mr *MockNamespaceServiceMockRecorder) InternalDeleteFromDB(ctx, id any) *gomock.Call

InternalDeleteFromDB indicates an expected call of InternalDeleteFromDB.

func (*MockNamespaceServiceMockRecorder) ListByOrganisation

func (mr *MockNamespaceServiceMockRecorder) ListByOrganisation(ctx, organisationID any) *gomock.Call

ListByOrganisation indicates an expected call of ListByOrganisation.

func (*MockNamespaceServiceMockRecorder) ListByStack

func (mr *MockNamespaceServiceMockRecorder) ListByStack(ctx, stackID any) *gomock.Call

ListByStack indicates an expected call of ListByStack.

func (*MockNamespaceServiceMockRecorder) PrepareNamespaceForAddon

func (mr *MockNamespaceServiceMockRecorder) PrepareNamespaceForAddon(ctx, addon, orgID any) *gomock.Call

PrepareNamespaceForAddon indicates an expected call of PrepareNamespaceForAddon.

func (*MockNamespaceServiceMockRecorder) PrepareNamespaceForStack

func (mr *MockNamespaceServiceMockRecorder) PrepareNamespaceForStack(ctx, stack any) *gomock.Call

PrepareNamespaceForStack indicates an expected call of PrepareNamespaceForStack.

func (*MockNamespaceServiceMockRecorder) UpdateInDB

func (mr *MockNamespaceServiceMockRecorder) UpdateInDB(ctx, id, ns any) *gomock.Call

UpdateInDB indicates an expected call of UpdateInDB.

type MockOAuthStateStore

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

MockOAuthStateStore is a mock of OAuthStateStore interface.

func NewMockOAuthStateStore

func NewMockOAuthStateStore(ctrl *gomock.Controller) *MockOAuthStateStore

NewMockOAuthStateStore creates a new mock instance.

func (*MockOAuthStateStore) Consume

func (m *MockOAuthStateStore) Consume(ctx context.Context, state, provider string) (*models.OAuthState, *errors.ServiceError)

Consume mocks base method.

func (*MockOAuthStateStore) Create

Create mocks base method.

func (*MockOAuthStateStore) DeleteExpired

func (m *MockOAuthStateStore) DeleteExpired(ctx context.Context, maxAge time.Duration) error

DeleteExpired mocks base method.

func (*MockOAuthStateStore) EXPECT

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

type MockOAuthStateStoreMockRecorder

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

MockOAuthStateStoreMockRecorder is the mock recorder for MockOAuthStateStore.

func (*MockOAuthStateStoreMockRecorder) Consume

func (mr *MockOAuthStateStoreMockRecorder) Consume(ctx, state, provider any) *gomock.Call

Consume indicates an expected call of Consume.

func (*MockOAuthStateStoreMockRecorder) Create

func (mr *MockOAuthStateStoreMockRecorder) Create(ctx, state any) *gomock.Call

Create indicates an expected call of Create.

func (*MockOAuthStateStoreMockRecorder) DeleteExpired

func (mr *MockOAuthStateStoreMockRecorder) DeleteExpired(ctx, maxAge any) *gomock.Call

DeleteExpired indicates an expected call of DeleteExpired.

type MockOrgInviteStore

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

MockOrgInviteStore is a mock of OrgInviteStore interface.

func NewMockOrgInviteStore

func NewMockOrgInviteStore(ctrl *gomock.Controller) *MockOrgInviteStore

NewMockOrgInviteStore creates a new mock instance.

func (*MockOrgInviteStore) Create

Create mocks base method.

func (*MockOrgInviteStore) DeleteIDs

func (m *MockOrgInviteStore) DeleteIDs(ctx context.Context, ids []string) *errors.ServiceError

DeleteIDs mocks base method.

func (*MockOrgInviteStore) EXPECT

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

func (*MockOrgInviteStore) GetByID

GetByID mocks base method.

func (*MockOrgInviteStore) GetByTokenHash

func (m *MockOrgInviteStore) GetByTokenHash(ctx context.Context, tokenHash string) (*models.OrgInvite, *errors.ServiceError)

GetByTokenHash mocks base method.

func (*MockOrgInviteStore) GetPendingByOrgAndEmail

func (m *MockOrgInviteStore) GetPendingByOrgAndEmail(ctx context.Context, orgID, email string) (*models.OrgInvite, *errors.ServiceError)

GetPendingByOrgAndEmail mocks base method.

func (*MockOrgInviteStore) ListByOrgID

ListByOrgID mocks base method.

func (*MockOrgInviteStore) ListExpiredOrPastDue

ListExpiredOrPastDue mocks base method.

func (*MockOrgInviteStore) ListPendingUnsent

ListPendingUnsent mocks base method.

func (*MockOrgInviteStore) MarkAccepted

func (m *MockOrgInviteStore) MarkAccepted(ctx context.Context, id string) *errors.ServiceError

MarkAccepted mocks base method.

func (*MockOrgInviteStore) MarkEmailError

func (m *MockOrgInviteStore) MarkEmailError(ctx context.Context, id, errMsg string) *errors.ServiceError

MarkEmailError mocks base method.

func (*MockOrgInviteStore) MarkEmailSent

func (m *MockOrgInviteStore) MarkEmailSent(ctx context.Context, id string) *errors.ServiceError

MarkEmailSent mocks base method.

func (*MockOrgInviteStore) ResetEmailStatus

func (m *MockOrgInviteStore) ResetEmailStatus(ctx context.Context, id string) *errors.ServiceError

ResetEmailStatus mocks base method.

func (*MockOrgInviteStore) UpdateStatus

func (m *MockOrgInviteStore) UpdateStatus(ctx context.Context, id string, status models.InviteStatus) *errors.ServiceError

UpdateStatus mocks base method.

func (*MockOrgInviteStore) WithTransaction

WithTransaction mocks base method.

type MockOrgInviteStoreMockRecorder

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

MockOrgInviteStoreMockRecorder is the mock recorder for MockOrgInviteStore.

func (*MockOrgInviteStoreMockRecorder) Create

func (mr *MockOrgInviteStoreMockRecorder) Create(ctx, invite any) *gomock.Call

Create indicates an expected call of Create.

func (*MockOrgInviteStoreMockRecorder) DeleteIDs

func (mr *MockOrgInviteStoreMockRecorder) DeleteIDs(ctx, ids any) *gomock.Call

DeleteIDs indicates an expected call of DeleteIDs.

func (*MockOrgInviteStoreMockRecorder) GetByID

func (mr *MockOrgInviteStoreMockRecorder) GetByID(ctx, id any) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockOrgInviteStoreMockRecorder) GetByTokenHash

func (mr *MockOrgInviteStoreMockRecorder) GetByTokenHash(ctx, tokenHash any) *gomock.Call

GetByTokenHash indicates an expected call of GetByTokenHash.

func (*MockOrgInviteStoreMockRecorder) GetPendingByOrgAndEmail

func (mr *MockOrgInviteStoreMockRecorder) GetPendingByOrgAndEmail(ctx, orgID, email any) *gomock.Call

GetPendingByOrgAndEmail indicates an expected call of GetPendingByOrgAndEmail.

func (*MockOrgInviteStoreMockRecorder) ListByOrgID

func (mr *MockOrgInviteStoreMockRecorder) ListByOrgID(ctx, orgID, params any) *gomock.Call

ListByOrgID indicates an expected call of ListByOrgID.

func (*MockOrgInviteStoreMockRecorder) ListExpiredOrPastDue

func (mr *MockOrgInviteStoreMockRecorder) ListExpiredOrPastDue(ctx, now, params any) *gomock.Call

ListExpiredOrPastDue indicates an expected call of ListExpiredOrPastDue.

func (*MockOrgInviteStoreMockRecorder) ListPendingUnsent

func (mr *MockOrgInviteStoreMockRecorder) ListPendingUnsent(ctx, params any) *gomock.Call

ListPendingUnsent indicates an expected call of ListPendingUnsent.

func (*MockOrgInviteStoreMockRecorder) MarkAccepted

func (mr *MockOrgInviteStoreMockRecorder) MarkAccepted(ctx, id any) *gomock.Call

MarkAccepted indicates an expected call of MarkAccepted.

func (*MockOrgInviteStoreMockRecorder) MarkEmailError

func (mr *MockOrgInviteStoreMockRecorder) MarkEmailError(ctx, id, errMsg any) *gomock.Call

MarkEmailError indicates an expected call of MarkEmailError.

func (*MockOrgInviteStoreMockRecorder) MarkEmailSent

func (mr *MockOrgInviteStoreMockRecorder) MarkEmailSent(ctx, id any) *gomock.Call

MarkEmailSent indicates an expected call of MarkEmailSent.

func (*MockOrgInviteStoreMockRecorder) ResetEmailStatus

func (mr *MockOrgInviteStoreMockRecorder) ResetEmailStatus(ctx, id any) *gomock.Call

ResetEmailStatus indicates an expected call of ResetEmailStatus.

func (*MockOrgInviteStoreMockRecorder) UpdateStatus

func (mr *MockOrgInviteStoreMockRecorder) UpdateStatus(ctx, id, status any) *gomock.Call

UpdateStatus indicates an expected call of UpdateStatus.

func (*MockOrgInviteStoreMockRecorder) WithTransaction

func (mr *MockOrgInviteStoreMockRecorder) WithTransaction(ctx, fn any) *gomock.Call

WithTransaction indicates an expected call of WithTransaction.

type MockOrganisationDomainStore

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

MockOrganisationDomainStore is a mock of OrganisationDomainStore interface.

func NewMockOrganisationDomainStore

func NewMockOrganisationDomainStore(ctrl *gomock.Controller) *MockOrganisationDomainStore

NewMockOrganisationDomainStore creates a new mock instance.

func (*MockOrganisationDomainStore) BulkCreate

BulkCreate mocks base method.

func (*MockOrganisationDomainStore) Create

Create mocks base method.

func (*MockOrganisationDomainStore) CreateWithTx

CreateWithTx mocks base method.

func (*MockOrganisationDomainStore) Delete

Delete mocks base method.

func (*MockOrganisationDomainStore) DeleteWithTx

DeleteWithTx mocks base method.

func (*MockOrganisationDomainStore) EXPECT

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

func (*MockOrganisationDomainStore) Get

Get mocks base method.

func (*MockOrganisationDomainStore) ListByOrganisationID

func (m *MockOrganisationDomainStore) ListByOrganisationID(ctx context.Context, organisationID string) ([]*models.OrganisationDomain, *errors.ServiceError)

ListByOrganisationID mocks base method.

func (*MockOrganisationDomainStore) Update

Update mocks base method.

type MockOrganisationDomainStoreMockRecorder

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

MockOrganisationDomainStoreMockRecorder is the mock recorder for MockOrganisationDomainStore.

func (*MockOrganisationDomainStoreMockRecorder) BulkCreate

func (mr *MockOrganisationDomainStoreMockRecorder) BulkCreate(ctx, domains any) *gomock.Call

BulkCreate indicates an expected call of BulkCreate.

func (*MockOrganisationDomainStoreMockRecorder) Create

func (mr *MockOrganisationDomainStoreMockRecorder) Create(ctx, domain any) *gomock.Call

Create indicates an expected call of Create.

func (*MockOrganisationDomainStoreMockRecorder) CreateWithTx

func (mr *MockOrganisationDomainStoreMockRecorder) CreateWithTx(ctx, domain any) *gomock.Call

CreateWithTx indicates an expected call of CreateWithTx.

func (*MockOrganisationDomainStoreMockRecorder) Delete

Delete indicates an expected call of Delete.

func (*MockOrganisationDomainStoreMockRecorder) DeleteWithTx

func (mr *MockOrganisationDomainStoreMockRecorder) DeleteWithTx(ctx, id any) *gomock.Call

DeleteWithTx indicates an expected call of DeleteWithTx.

func (*MockOrganisationDomainStoreMockRecorder) Get

Get indicates an expected call of Get.

func (*MockOrganisationDomainStoreMockRecorder) ListByOrganisationID

func (mr *MockOrganisationDomainStoreMockRecorder) ListByOrganisationID(ctx, organisationID any) *gomock.Call

ListByOrganisationID indicates an expected call of ListByOrganisationID.

func (*MockOrganisationDomainStoreMockRecorder) Update

func (mr *MockOrganisationDomainStoreMockRecorder) Update(ctx, id, domain any) *gomock.Call

Update indicates an expected call of Update.

type MockOrganisationDomainsService

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

MockOrganisationDomainsService is a mock of OrganisationDomainsService interface.

func NewMockOrganisationDomainsService

func NewMockOrganisationDomainsService(ctrl *gomock.Controller) *MockOrganisationDomainsService

NewMockOrganisationDomainsService creates a new mock instance.

func (*MockOrganisationDomainsService) Create

Create mocks base method.

func (*MockOrganisationDomainsService) Delete

Delete mocks base method.

func (*MockOrganisationDomainsService) EXPECT

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

func (*MockOrganisationDomainsService) Get

Get mocks base method.

func (*MockOrganisationDomainsService) GetDefaultDomainForOrganisation

func (m *MockOrganisationDomainsService) GetDefaultDomainForOrganisation(ctx context.Context, organisationID string) (*models.OrganisationDomain, *errors.ServiceError)

GetDefaultDomainForOrganisation mocks base method.

func (*MockOrganisationDomainsService) InternalCreateWithTx

InternalCreateWithTx mocks base method.

func (*MockOrganisationDomainsService) InternalDeleteWithTx

func (m *MockOrganisationDomainsService) InternalDeleteWithTx(ctx context.Context, id string) *errors.ServiceError

InternalDeleteWithTx mocks base method.

func (*MockOrganisationDomainsService) ListByOrganisationID

func (m *MockOrganisationDomainsService) ListByOrganisationID(ctx context.Context, organisationID string) ([]*models.OrganisationDomain, *errors.ServiceError)

ListByOrganisationID mocks base method.

func (*MockOrganisationDomainsService) Update

Update mocks base method.

type MockOrganisationDomainsServiceMockRecorder

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

MockOrganisationDomainsServiceMockRecorder is the mock recorder for MockOrganisationDomainsService.

func (*MockOrganisationDomainsServiceMockRecorder) Create

Create indicates an expected call of Create.

func (*MockOrganisationDomainsServiceMockRecorder) Delete

Delete indicates an expected call of Delete.

func (*MockOrganisationDomainsServiceMockRecorder) Get

Get indicates an expected call of Get.

func (*MockOrganisationDomainsServiceMockRecorder) GetDefaultDomainForOrganisation

func (mr *MockOrganisationDomainsServiceMockRecorder) GetDefaultDomainForOrganisation(ctx, organisationID any) *gomock.Call

GetDefaultDomainForOrganisation indicates an expected call of GetDefaultDomainForOrganisation.

func (*MockOrganisationDomainsServiceMockRecorder) InternalCreateWithTx

func (mr *MockOrganisationDomainsServiceMockRecorder) InternalCreateWithTx(ctx, spec any) *gomock.Call

InternalCreateWithTx indicates an expected call of InternalCreateWithTx.

func (*MockOrganisationDomainsServiceMockRecorder) InternalDeleteWithTx

func (mr *MockOrganisationDomainsServiceMockRecorder) InternalDeleteWithTx(ctx, id any) *gomock.Call

InternalDeleteWithTx indicates an expected call of InternalDeleteWithTx.

func (*MockOrganisationDomainsServiceMockRecorder) ListByOrganisationID

func (mr *MockOrganisationDomainsServiceMockRecorder) ListByOrganisationID(ctx, organisationID any) *gomock.Call

ListByOrganisationID indicates an expected call of ListByOrganisationID.

func (*MockOrganisationDomainsServiceMockRecorder) Update

func (mr *MockOrganisationDomainsServiceMockRecorder) Update(ctx, id, spec any) *gomock.Call

Update indicates an expected call of Update.

type MockOrganisationService

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

MockOrganisationService is a mock of OrganisationService interface.

func NewMockOrganisationService

func NewMockOrganisationService(ctrl *gomock.Controller) *MockOrganisationService

NewMockOrganisationService creates a new mock instance.

func (*MockOrganisationService) Delete

Delete mocks base method.

func (*MockOrganisationService) DemoteOrgAdmin

func (m *MockOrganisationService) DemoteOrgAdmin(ctx context.Context, orgID, userID, projectID string, role models.ProjectRole) *errors.ServiceError

DemoteOrgAdmin mocks base method.

func (*MockOrganisationService) EXPECT

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

func (*MockOrganisationService) Get

Get mocks base method.

func (*MockOrganisationService) InternalCreate

InternalCreate mocks base method.

func (*MockOrganisationService) InternalGetPlatformOrg

func (m *MockOrganisationService) InternalGetPlatformOrg(ctx context.Context) (*models.Organisation, *errors.ServiceError)

InternalGetPlatformOrg mocks base method.

func (*MockOrganisationService) ListOrgAdmins

func (m *MockOrganisationService) ListOrgAdmins(ctx context.Context, orgID string) ([]*models.User, *errors.ServiceError)

ListOrgAdmins mocks base method.

func (*MockOrganisationService) PromoteToOrgAdmin

func (m *MockOrganisationService) PromoteToOrgAdmin(ctx context.Context, orgID, userID string) *errors.ServiceError

PromoteToOrgAdmin mocks base method.

func (*MockOrganisationService) Update

Update mocks base method.

type MockOrganisationServiceMockRecorder

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

MockOrganisationServiceMockRecorder is the mock recorder for MockOrganisationService.

func (*MockOrganisationServiceMockRecorder) Delete

func (mr *MockOrganisationServiceMockRecorder) Delete(ctx, ID any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockOrganisationServiceMockRecorder) DemoteOrgAdmin

func (mr *MockOrganisationServiceMockRecorder) DemoteOrgAdmin(ctx, orgID, userID, projectID, role any) *gomock.Call

DemoteOrgAdmin indicates an expected call of DemoteOrgAdmin.

func (*MockOrganisationServiceMockRecorder) Get

Get indicates an expected call of Get.

func (*MockOrganisationServiceMockRecorder) InternalCreate

func (mr *MockOrganisationServiceMockRecorder) InternalCreate(ctx, spec any) *gomock.Call

InternalCreate indicates an expected call of InternalCreate.

func (*MockOrganisationServiceMockRecorder) InternalGetPlatformOrg

func (mr *MockOrganisationServiceMockRecorder) InternalGetPlatformOrg(ctx any) *gomock.Call

InternalGetPlatformOrg indicates an expected call of InternalGetPlatformOrg.

func (*MockOrganisationServiceMockRecorder) ListOrgAdmins

func (mr *MockOrganisationServiceMockRecorder) ListOrgAdmins(ctx, orgID any) *gomock.Call

ListOrgAdmins indicates an expected call of ListOrgAdmins.

func (*MockOrganisationServiceMockRecorder) PromoteToOrgAdmin

func (mr *MockOrganisationServiceMockRecorder) PromoteToOrgAdmin(ctx, orgID, userID any) *gomock.Call

PromoteToOrgAdmin indicates an expected call of PromoteToOrgAdmin.

func (*MockOrganisationServiceMockRecorder) Update

func (mr *MockOrganisationServiceMockRecorder) Update(ctx, ID, spec any) *gomock.Call

Update indicates an expected call of Update.

type MockOrganisationStore

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

MockOrganisationStore is a mock of OrganisationStore interface.

func NewMockOrganisationStore

func NewMockOrganisationStore(ctrl *gomock.Controller) *MockOrganisationStore

NewMockOrganisationStore creates a new mock instance.

func (*MockOrganisationStore) Create

Create mocks base method.

func (*MockOrganisationStore) Delete

Delete mocks base method.

func (*MockOrganisationStore) EXPECT

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

func (*MockOrganisationStore) Get

Get mocks base method.

func (*MockOrganisationStore) GetPlatformOrg

GetPlatformOrg mocks base method.

func (*MockOrganisationStore) LockByID

LockByID mocks base method.

func (*MockOrganisationStore) OrganisationNameExists

func (m *MockOrganisationStore) OrganisationNameExists(ctx context.Context, name string) (bool, *errors.ServiceError)

OrganisationNameExists mocks base method.

func (*MockOrganisationStore) Update

Update mocks base method.

type MockOrganisationStoreMockRecorder

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

MockOrganisationStoreMockRecorder is the mock recorder for MockOrganisationStore.

func (*MockOrganisationStoreMockRecorder) Create

func (mr *MockOrganisationStoreMockRecorder) Create(ctx, spec any) *gomock.Call

Create indicates an expected call of Create.

func (*MockOrganisationStoreMockRecorder) Delete

func (mr *MockOrganisationStoreMockRecorder) Delete(ctx, ID any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockOrganisationStoreMockRecorder) Get

Get indicates an expected call of Get.

func (*MockOrganisationStoreMockRecorder) GetPlatformOrg

func (mr *MockOrganisationStoreMockRecorder) GetPlatformOrg(ctx any) *gomock.Call

GetPlatformOrg indicates an expected call of GetPlatformOrg.

func (*MockOrganisationStoreMockRecorder) LockByID

func (mr *MockOrganisationStoreMockRecorder) LockByID(ctx, ID any) *gomock.Call

LockByID indicates an expected call of LockByID.

func (*MockOrganisationStoreMockRecorder) OrganisationNameExists

func (mr *MockOrganisationStoreMockRecorder) OrganisationNameExists(ctx, name any) *gomock.Call

OrganisationNameExists indicates an expected call of OrganisationNameExists.

func (*MockOrganisationStoreMockRecorder) Update

func (mr *MockOrganisationStoreMockRecorder) Update(ctx, id, org any) *gomock.Call

Update indicates an expected call of Update.

type MockPermissionService

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

MockPermissionService is a mock of PermissionService interface.

func NewMockPermissionService

func NewMockPermissionService(ctrl *gomock.Controller) *MockPermissionService

NewMockPermissionService creates a new mock instance.

func (*MockPermissionService) Check

func (m *MockPermissionService) Check(ctx context.Context, domain, resource, resourceID, action string) *errors.ServiceError

Check mocks base method.

func (*MockPermissionService) EXPECT

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

type MockPermissionServiceMockRecorder

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

MockPermissionServiceMockRecorder is the mock recorder for MockPermissionService.

func (*MockPermissionServiceMockRecorder) Check

func (mr *MockPermissionServiceMockRecorder) Check(ctx, domain, resource, resourceID, action any) *gomock.Call

Check indicates an expected call of Check.

type MockPostgresAddonDatabaseService

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

MockPostgresAddonDatabaseService is a mock of PostgresAddonDatabaseService interface.

func NewMockPostgresAddonDatabaseService

func NewMockPostgresAddonDatabaseService(ctrl *gomock.Controller) *MockPostgresAddonDatabaseService

NewMockPostgresAddonDatabaseService creates a new mock instance.

func (*MockPostgresAddonDatabaseService) Create

Create mocks base method.

func (*MockPostgresAddonDatabaseService) CreateWithTx

CreateWithTx mocks base method.

func (*MockPostgresAddonDatabaseService) Delete

Delete mocks base method.

func (*MockPostgresAddonDatabaseService) DeleteWithTx

DeleteWithTx mocks base method.

func (*MockPostgresAddonDatabaseService) EXPECT

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

func (*MockPostgresAddonDatabaseService) GetByID

GetByID mocks base method.

func (*MockPostgresAddonDatabaseService) GetByName

GetByName mocks base method.

func (*MockPostgresAddonDatabaseService) ListByPostgresAddon

func (m *MockPostgresAddonDatabaseService) ListByPostgresAddon(ctx context.Context, postgresAddonID string) ([]*models.PostgresAddonDatabase, *errors.ServiceError)

ListByPostgresAddon mocks base method.

func (*MockPostgresAddonDatabaseService) Update

Update mocks base method.

func (*MockPostgresAddonDatabaseService) UpdateWithTx

UpdateWithTx mocks base method.

func (*MockPostgresAddonDatabaseService) ValidateDatabaseExists

func (m *MockPostgresAddonDatabaseService) ValidateDatabaseExists(ctx context.Context, databaseID string) (bool, *errors.ServiceError)

ValidateDatabaseExists mocks base method.

type MockPostgresAddonDatabaseServiceMockRecorder

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

MockPostgresAddonDatabaseServiceMockRecorder is the mock recorder for MockPostgresAddonDatabaseService.

func (*MockPostgresAddonDatabaseServiceMockRecorder) Create

func (mr *MockPostgresAddonDatabaseServiceMockRecorder) Create(ctx, database any) *gomock.Call

Create indicates an expected call of Create.

func (*MockPostgresAddonDatabaseServiceMockRecorder) CreateWithTx

func (mr *MockPostgresAddonDatabaseServiceMockRecorder) CreateWithTx(ctx, database any) *gomock.Call

CreateWithTx indicates an expected call of CreateWithTx.

func (*MockPostgresAddonDatabaseServiceMockRecorder) Delete

Delete indicates an expected call of Delete.

func (*MockPostgresAddonDatabaseServiceMockRecorder) DeleteWithTx

func (mr *MockPostgresAddonDatabaseServiceMockRecorder) DeleteWithTx(ctx, ID any) *gomock.Call

DeleteWithTx indicates an expected call of DeleteWithTx.

func (*MockPostgresAddonDatabaseServiceMockRecorder) GetByID

GetByID indicates an expected call of GetByID.

func (*MockPostgresAddonDatabaseServiceMockRecorder) GetByName

func (mr *MockPostgresAddonDatabaseServiceMockRecorder) GetByName(ctx, postgresAddonID, name any) *gomock.Call

GetByName indicates an expected call of GetByName.

func (*MockPostgresAddonDatabaseServiceMockRecorder) ListByPostgresAddon

func (mr *MockPostgresAddonDatabaseServiceMockRecorder) ListByPostgresAddon(ctx, postgresAddonID any) *gomock.Call

ListByPostgresAddon indicates an expected call of ListByPostgresAddon.

func (*MockPostgresAddonDatabaseServiceMockRecorder) Update

func (mr *MockPostgresAddonDatabaseServiceMockRecorder) Update(ctx, id, database any) *gomock.Call

Update indicates an expected call of Update.

func (*MockPostgresAddonDatabaseServiceMockRecorder) UpdateWithTx

func (mr *MockPostgresAddonDatabaseServiceMockRecorder) UpdateWithTx(ctx, id, database any) *gomock.Call

UpdateWithTx indicates an expected call of UpdateWithTx.

func (*MockPostgresAddonDatabaseServiceMockRecorder) ValidateDatabaseExists

func (mr *MockPostgresAddonDatabaseServiceMockRecorder) ValidateDatabaseExists(ctx, databaseID any) *gomock.Call

ValidateDatabaseExists indicates an expected call of ValidateDatabaseExists.

type MockPostgresAddonStore

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

MockPostgresAddonStore is a mock of PostgresAddonStore interface.

func NewMockPostgresAddonStore

func NewMockPostgresAddonStore(ctrl *gomock.Controller) *MockPostgresAddonStore

NewMockPostgresAddonStore creates a new mock instance.

func (*MockPostgresAddonStore) Create

Create mocks base method.

func (*MockPostgresAddonStore) CreateWithTx

CreateWithTx mocks base method.

func (*MockPostgresAddonStore) Delete

Delete mocks base method.

func (*MockPostgresAddonStore) EXPECT

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

func (*MockPostgresAddonStore) GetByID

GetByID mocks base method.

func (*MockPostgresAddonStore) GetByName

func (m *MockPostgresAddonStore) GetByName(ctx context.Context, organisationID, name string) (*models.PostgresAddon, *errors.ServiceError)

GetByName mocks base method.

func (*MockPostgresAddonStore) InternalList

func (m *MockPostgresAddonStore) InternalList(ctx context.Context, query string, args ...any) ([]*models.PostgresAddon, *errors.ServiceError)

InternalList mocks base method.

func (*MockPostgresAddonStore) ListByOrganisation

func (m *MockPostgresAddonStore) ListByOrganisation(ctx context.Context, organisationID string) ([]*models.PostgresAddon, *errors.ServiceError)

ListByOrganisation mocks base method.

func (*MockPostgresAddonStore) ListByProjectID

func (m *MockPostgresAddonStore) ListByProjectID(ctx context.Context, projectID string) ([]*models.PostgresAddon, *errors.ServiceError)

ListByProjectID mocks base method.

func (*MockPostgresAddonStore) ListByProjectIDs

func (m *MockPostgresAddonStore) ListByProjectIDs(ctx context.Context, projectIDs []string) ([]*models.PostgresAddon, *errors.ServiceError)

ListByProjectIDs mocks base method.

func (*MockPostgresAddonStore) Update

Update mocks base method.

func (*MockPostgresAddonStore) UpdateBackupRequestedAt

func (m *MockPostgresAddonStore) UpdateBackupRequestedAt(ctx context.Context, id string, timestamp *time.Time) *errors.ServiceError

UpdateBackupRequestedAt mocks base method.

func (*MockPostgresAddonStore) UpdateDeletionTimestamp

func (m *MockPostgresAddonStore) UpdateDeletionTimestamp(ctx context.Context, id string, timestamp *time.Time) *errors.ServiceError

UpdateDeletionTimestamp mocks base method.

func (*MockPostgresAddonStore) UpdateStatus

UpdateStatus mocks base method.

func (*MockPostgresAddonStore) UpdateWithTx

UpdateWithTx mocks base method.

func (*MockPostgresAddonStore) ValidateAddonExists

func (m *MockPostgresAddonStore) ValidateAddonExists(ctx context.Context, addonID string) (bool, *errors.ServiceError)

ValidateAddonExists mocks base method.

func (*MockPostgresAddonStore) ValidateAddonNameUnique

func (m *MockPostgresAddonStore) ValidateAddonNameUnique(ctx context.Context, organisationID, name, excludeID string) (bool, *errors.ServiceError)

ValidateAddonNameUnique mocks base method.

func (*MockPostgresAddonStore) WithTransaction

WithTransaction mocks base method.

type MockPostgresAddonStoreMockRecorder

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

MockPostgresAddonStoreMockRecorder is the mock recorder for MockPostgresAddonStore.

func (*MockPostgresAddonStoreMockRecorder) Create

func (mr *MockPostgresAddonStoreMockRecorder) Create(ctx, addon any) *gomock.Call

Create indicates an expected call of Create.

func (*MockPostgresAddonStoreMockRecorder) CreateWithTx

func (mr *MockPostgresAddonStoreMockRecorder) CreateWithTx(ctx, addon any) *gomock.Call

CreateWithTx indicates an expected call of CreateWithTx.

func (*MockPostgresAddonStoreMockRecorder) Delete

func (mr *MockPostgresAddonStoreMockRecorder) Delete(ctx, ID any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockPostgresAddonStoreMockRecorder) GetByID

func (mr *MockPostgresAddonStoreMockRecorder) GetByID(ctx, ID any) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockPostgresAddonStoreMockRecorder) GetByName

func (mr *MockPostgresAddonStoreMockRecorder) GetByName(ctx, organisationID, name any) *gomock.Call

GetByName indicates an expected call of GetByName.

func (*MockPostgresAddonStoreMockRecorder) InternalList

func (mr *MockPostgresAddonStoreMockRecorder) InternalList(ctx, query any, args ...any) *gomock.Call

InternalList indicates an expected call of InternalList.

func (*MockPostgresAddonStoreMockRecorder) ListByOrganisation

func (mr *MockPostgresAddonStoreMockRecorder) ListByOrganisation(ctx, organisationID any) *gomock.Call

ListByOrganisation indicates an expected call of ListByOrganisation.

func (*MockPostgresAddonStoreMockRecorder) ListByProjectID

func (mr *MockPostgresAddonStoreMockRecorder) ListByProjectID(ctx, projectID any) *gomock.Call

ListByProjectID indicates an expected call of ListByProjectID.

func (*MockPostgresAddonStoreMockRecorder) ListByProjectIDs

func (mr *MockPostgresAddonStoreMockRecorder) ListByProjectIDs(ctx, projectIDs any) *gomock.Call

ListByProjectIDs indicates an expected call of ListByProjectIDs.

func (*MockPostgresAddonStoreMockRecorder) Update

func (mr *MockPostgresAddonStoreMockRecorder) Update(ctx, addon any) *gomock.Call

Update indicates an expected call of Update.

func (*MockPostgresAddonStoreMockRecorder) UpdateBackupRequestedAt

func (mr *MockPostgresAddonStoreMockRecorder) UpdateBackupRequestedAt(ctx, id, timestamp any) *gomock.Call

UpdateBackupRequestedAt indicates an expected call of UpdateBackupRequestedAt.

func (*MockPostgresAddonStoreMockRecorder) UpdateDeletionTimestamp

func (mr *MockPostgresAddonStoreMockRecorder) UpdateDeletionTimestamp(ctx, id, timestamp any) *gomock.Call

UpdateDeletionTimestamp indicates an expected call of UpdateDeletionTimestamp.

func (*MockPostgresAddonStoreMockRecorder) UpdateStatus

func (mr *MockPostgresAddonStoreMockRecorder) UpdateStatus(ctx, id, status any) *gomock.Call

UpdateStatus indicates an expected call of UpdateStatus.

func (*MockPostgresAddonStoreMockRecorder) UpdateWithTx

func (mr *MockPostgresAddonStoreMockRecorder) UpdateWithTx(ctx, addon any) *gomock.Call

UpdateWithTx indicates an expected call of UpdateWithTx.

func (*MockPostgresAddonStoreMockRecorder) ValidateAddonExists

func (mr *MockPostgresAddonStoreMockRecorder) ValidateAddonExists(ctx, addonID any) *gomock.Call

ValidateAddonExists indicates an expected call of ValidateAddonExists.

func (*MockPostgresAddonStoreMockRecorder) ValidateAddonNameUnique

func (mr *MockPostgresAddonStoreMockRecorder) ValidateAddonNameUnique(ctx, organisationID, name, excludeID any) *gomock.Call

ValidateAddonNameUnique indicates an expected call of ValidateAddonNameUnique.

func (*MockPostgresAddonStoreMockRecorder) WithTransaction

func (mr *MockPostgresAddonStoreMockRecorder) WithTransaction(ctx, fn any) *gomock.Call

WithTransaction indicates an expected call of WithTransaction.

type MockPreviewStackStore

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

MockPreviewStackStore is a mock of PreviewStackStore interface.

func NewMockPreviewStackStore

func NewMockPreviewStackStore(ctrl *gomock.Controller) *MockPreviewStackStore

NewMockPreviewStackStore creates a new mock instance.

func (*MockPreviewStackStore) CountActiveByConfigID

func (m *MockPreviewStackStore) CountActiveByConfigID(ctx context.Context, configID string) (int64, *errors.ServiceError)

CountActiveByConfigID mocks base method.

func (*MockPreviewStackStore) Create

Create mocks base method.

func (*MockPreviewStackStore) Delete

Delete mocks base method.

func (*MockPreviewStackStore) EXPECT

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

func (*MockPreviewStackStore) GetByConfigAndPR

func (m *MockPreviewStackStore) GetByConfigAndPR(ctx context.Context, configID, prNumber string) (*models.PreviewStack, *errors.ServiceError)

GetByConfigAndPR mocks base method.

func (*MockPreviewStackStore) GetByID

GetByID mocks base method.

func (*MockPreviewStackStore) ListByConfigID

ListByConfigID mocks base method.

func (*MockPreviewStackStore) ListByProjectID

ListByProjectID mocks base method.

func (*MockPreviewStackStore) ListNeedingReconciliation

func (m *MockPreviewStackStore) ListNeedingReconciliation(ctx context.Context, page, pageSize int) ([]*models.PreviewStack, *errors.ServiceError)

ListNeedingReconciliation mocks base method.

func (*MockPreviewStackStore) Update

Update mocks base method.

func (*MockPreviewStackStore) WithTransaction

WithTransaction mocks base method.

type MockPreviewStackStoreMockRecorder

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

MockPreviewStackStoreMockRecorder is the mock recorder for MockPreviewStackStore.

func (*MockPreviewStackStoreMockRecorder) CountActiveByConfigID

func (mr *MockPreviewStackStoreMockRecorder) CountActiveByConfigID(ctx, configID any) *gomock.Call

CountActiveByConfigID indicates an expected call of CountActiveByConfigID.

func (*MockPreviewStackStoreMockRecorder) Create

func (mr *MockPreviewStackStoreMockRecorder) Create(ctx, preview any) *gomock.Call

Create indicates an expected call of Create.

func (*MockPreviewStackStoreMockRecorder) Delete

func (mr *MockPreviewStackStoreMockRecorder) Delete(ctx, id any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockPreviewStackStoreMockRecorder) GetByConfigAndPR

func (mr *MockPreviewStackStoreMockRecorder) GetByConfigAndPR(ctx, configID, prNumber any) *gomock.Call

GetByConfigAndPR indicates an expected call of GetByConfigAndPR.

func (*MockPreviewStackStoreMockRecorder) GetByID

func (mr *MockPreviewStackStoreMockRecorder) GetByID(ctx, id any) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockPreviewStackStoreMockRecorder) ListByConfigID

func (mr *MockPreviewStackStoreMockRecorder) ListByConfigID(ctx, configID, params any) *gomock.Call

ListByConfigID indicates an expected call of ListByConfigID.

func (*MockPreviewStackStoreMockRecorder) ListByProjectID

func (mr *MockPreviewStackStoreMockRecorder) ListByProjectID(ctx, projectID, params any) *gomock.Call

ListByProjectID indicates an expected call of ListByProjectID.

func (*MockPreviewStackStoreMockRecorder) ListNeedingReconciliation

func (mr *MockPreviewStackStoreMockRecorder) ListNeedingReconciliation(ctx, page, pageSize any) *gomock.Call

ListNeedingReconciliation indicates an expected call of ListNeedingReconciliation.

func (*MockPreviewStackStoreMockRecorder) Update

func (mr *MockPreviewStackStoreMockRecorder) Update(ctx, preview any) *gomock.Call

Update indicates an expected call of Update.

func (*MockPreviewStackStoreMockRecorder) WithTransaction

func (mr *MockPreviewStackStoreMockRecorder) WithTransaction(ctx, fn any) *gomock.Call

WithTransaction indicates an expected call of WithTransaction.

type MockProjectMembershipStore

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

MockProjectMembershipStore is a mock of ProjectMembershipStore interface.

func NewMockProjectMembershipStore

func NewMockProjectMembershipStore(ctrl *gomock.Controller) *MockProjectMembershipStore

NewMockProjectMembershipStore creates a new mock instance.

func (*MockProjectMembershipStore) Create

Create mocks base method.

func (*MockProjectMembershipStore) Delete

Delete mocks base method.

func (*MockProjectMembershipStore) EXPECT

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

func (*MockProjectMembershipStore) GetByID

GetByID mocks base method.

func (*MockProjectMembershipStore) GetByProjectAndUser

func (m *MockProjectMembershipStore) GetByProjectAndUser(ctx context.Context, projectID, userID string) (*models.ProjectMembership, *errors.ServiceError)

GetByProjectAndUser mocks base method.

func (*MockProjectMembershipStore) ListByProjectID

func (m *MockProjectMembershipStore) ListByProjectID(ctx context.Context, projectID string) ([]*models.ProjectMembership, *errors.ServiceError)

ListByProjectID mocks base method.

func (*MockProjectMembershipStore) ListByUserID

ListByUserID mocks base method.

func (*MockProjectMembershipStore) ListByUserIDAndOrgID

func (m *MockProjectMembershipStore) ListByUserIDAndOrgID(ctx context.Context, userID, orgID string) ([]*models.ProjectMembership, *errors.ServiceError)

ListByUserIDAndOrgID mocks base method.

func (*MockProjectMembershipStore) Update

Update mocks base method.

type MockProjectMembershipStoreMockRecorder

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

MockProjectMembershipStoreMockRecorder is the mock recorder for MockProjectMembershipStore.

func (*MockProjectMembershipStoreMockRecorder) Create

func (mr *MockProjectMembershipStoreMockRecorder) Create(ctx, membership any) *gomock.Call

Create indicates an expected call of Create.

func (*MockProjectMembershipStoreMockRecorder) Delete

Delete indicates an expected call of Delete.

func (*MockProjectMembershipStoreMockRecorder) GetByID

func (mr *MockProjectMembershipStoreMockRecorder) GetByID(ctx, id any) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockProjectMembershipStoreMockRecorder) GetByProjectAndUser

func (mr *MockProjectMembershipStoreMockRecorder) GetByProjectAndUser(ctx, projectID, userID any) *gomock.Call

GetByProjectAndUser indicates an expected call of GetByProjectAndUser.

func (*MockProjectMembershipStoreMockRecorder) ListByProjectID

func (mr *MockProjectMembershipStoreMockRecorder) ListByProjectID(ctx, projectID any) *gomock.Call

ListByProjectID indicates an expected call of ListByProjectID.

func (*MockProjectMembershipStoreMockRecorder) ListByUserID

func (mr *MockProjectMembershipStoreMockRecorder) ListByUserID(ctx, userID any) *gomock.Call

ListByUserID indicates an expected call of ListByUserID.

func (*MockProjectMembershipStoreMockRecorder) ListByUserIDAndOrgID

func (mr *MockProjectMembershipStoreMockRecorder) ListByUserIDAndOrgID(ctx, userID, orgID any) *gomock.Call

ListByUserIDAndOrgID indicates an expected call of ListByUserIDAndOrgID.

func (*MockProjectMembershipStoreMockRecorder) Update

func (mr *MockProjectMembershipStoreMockRecorder) Update(ctx, id, membership any) *gomock.Call

Update indicates an expected call of Update.

type MockProjectService

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

MockProjectService is a mock of ProjectService interface.

func NewMockProjectService

func NewMockProjectService(ctrl *gomock.Controller) *MockProjectService

NewMockProjectService creates a new mock instance.

func (*MockProjectService) AddMember

func (m *MockProjectService) AddMember(ctx context.Context, projectID, userID string, role models.ProjectRole) (*models.ProjectMembership, *errors.ServiceError)

AddMember mocks base method.

func (*MockProjectService) CreateProject

func (m *MockProjectService) CreateProject(ctx context.Context, orgID string, project *models.Project) (*models.Project, *errors.ServiceError)

CreateProject mocks base method.

func (*MockProjectService) DeleteProject

func (m *MockProjectService) DeleteProject(ctx context.Context, id string) *errors.ServiceError

DeleteProject mocks base method.

func (*MockProjectService) EXPECT

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

func (*MockProjectService) GetProject

func (m *MockProjectService) GetProject(ctx context.Context, orgID, projectID string) (*models.Project, *errors.ServiceError)

GetProject mocks base method.

func (*MockProjectService) GetProjectByOrgAndName

func (m *MockProjectService) GetProjectByOrgAndName(ctx context.Context, orgID, name string) (*models.Project, *errors.ServiceError)

GetProjectByOrgAndName mocks base method.

func (*MockProjectService) InternalAddMember

func (m *MockProjectService) InternalAddMember(ctx context.Context, projectID, userID string, role models.ProjectRole) (*models.ProjectMembership, *errors.ServiceError)

InternalAddMember mocks base method.

func (*MockProjectService) InternalCreateDefaultProject

func (m *MockProjectService) InternalCreateDefaultProject(ctx context.Context, orgID string) (*models.Project, *errors.ServiceError)

InternalCreateDefaultProject mocks base method.

func (*MockProjectService) InternalGetProjectByOrgAndName

func (m *MockProjectService) InternalGetProjectByOrgAndName(ctx context.Context, orgID, name string) (*models.Project, *errors.ServiceError)

InternalGetProjectByOrgAndName mocks base method.

func (*MockProjectService) InternalListUserProjects

func (m *MockProjectService) InternalListUserProjects(ctx context.Context, userID, orgID string) ([]*models.ProjectMembership, *errors.ServiceError)

InternalListUserProjects mocks base method.

func (*MockProjectService) ListMembers

func (m *MockProjectService) ListMembers(ctx context.Context, projectID string) ([]*models.ProjectMembership, *errors.ServiceError)

ListMembers mocks base method.

func (*MockProjectService) ListProjects

func (m *MockProjectService) ListProjects(ctx context.Context, orgID string) ([]*models.Project, *errors.ServiceError)

ListProjects mocks base method.

func (*MockProjectService) ListUserProjects

func (m *MockProjectService) ListUserProjects(ctx context.Context, userID string) ([]*models.ProjectMembership, *errors.ServiceError)

ListUserProjects mocks base method.

func (*MockProjectService) RemoveMember

func (m *MockProjectService) RemoveMember(ctx context.Context, membershipID string) *errors.ServiceError

RemoveMember mocks base method.

func (*MockProjectService) UpdateMemberRole

func (m *MockProjectService) UpdateMemberRole(ctx context.Context, membershipID string, role models.ProjectRole) (*models.ProjectMembership, *errors.ServiceError)

UpdateMemberRole mocks base method.

func (*MockProjectService) UpdateProject

func (m *MockProjectService) UpdateProject(ctx context.Context, id string, project *models.Project) (*models.Project, *errors.ServiceError)

UpdateProject mocks base method.

type MockProjectServiceMockRecorder

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

MockProjectServiceMockRecorder is the mock recorder for MockProjectService.

func (*MockProjectServiceMockRecorder) AddMember

func (mr *MockProjectServiceMockRecorder) AddMember(ctx, projectID, userID, role any) *gomock.Call

AddMember indicates an expected call of AddMember.

func (*MockProjectServiceMockRecorder) CreateProject

func (mr *MockProjectServiceMockRecorder) CreateProject(ctx, orgID, project any) *gomock.Call

CreateProject indicates an expected call of CreateProject.

func (*MockProjectServiceMockRecorder) DeleteProject

func (mr *MockProjectServiceMockRecorder) DeleteProject(ctx, id any) *gomock.Call

DeleteProject indicates an expected call of DeleteProject.

func (*MockProjectServiceMockRecorder) GetProject

func (mr *MockProjectServiceMockRecorder) GetProject(ctx, orgID, projectID any) *gomock.Call

GetProject indicates an expected call of GetProject.

func (*MockProjectServiceMockRecorder) GetProjectByOrgAndName

func (mr *MockProjectServiceMockRecorder) GetProjectByOrgAndName(ctx, orgID, name any) *gomock.Call

GetProjectByOrgAndName indicates an expected call of GetProjectByOrgAndName.

func (*MockProjectServiceMockRecorder) InternalAddMember

func (mr *MockProjectServiceMockRecorder) InternalAddMember(ctx, projectID, userID, role any) *gomock.Call

InternalAddMember indicates an expected call of InternalAddMember.

func (*MockProjectServiceMockRecorder) InternalCreateDefaultProject

func (mr *MockProjectServiceMockRecorder) InternalCreateDefaultProject(ctx, orgID any) *gomock.Call

InternalCreateDefaultProject indicates an expected call of InternalCreateDefaultProject.

func (*MockProjectServiceMockRecorder) InternalGetProjectByOrgAndName

func (mr *MockProjectServiceMockRecorder) InternalGetProjectByOrgAndName(ctx, orgID, name any) *gomock.Call

InternalGetProjectByOrgAndName indicates an expected call of InternalGetProjectByOrgAndName.

func (*MockProjectServiceMockRecorder) InternalListUserProjects

func (mr *MockProjectServiceMockRecorder) InternalListUserProjects(ctx, userID, orgID any) *gomock.Call

InternalListUserProjects indicates an expected call of InternalListUserProjects.

func (*MockProjectServiceMockRecorder) ListMembers

func (mr *MockProjectServiceMockRecorder) ListMembers(ctx, projectID any) *gomock.Call

ListMembers indicates an expected call of ListMembers.

func (*MockProjectServiceMockRecorder) ListProjects

func (mr *MockProjectServiceMockRecorder) ListProjects(ctx, orgID any) *gomock.Call

ListProjects indicates an expected call of ListProjects.

func (*MockProjectServiceMockRecorder) ListUserProjects

func (mr *MockProjectServiceMockRecorder) ListUserProjects(ctx, userID any) *gomock.Call

ListUserProjects indicates an expected call of ListUserProjects.

func (*MockProjectServiceMockRecorder) RemoveMember

func (mr *MockProjectServiceMockRecorder) RemoveMember(ctx, membershipID any) *gomock.Call

RemoveMember indicates an expected call of RemoveMember.

func (*MockProjectServiceMockRecorder) UpdateMemberRole

func (mr *MockProjectServiceMockRecorder) UpdateMemberRole(ctx, membershipID, role any) *gomock.Call

UpdateMemberRole indicates an expected call of UpdateMemberRole.

func (*MockProjectServiceMockRecorder) UpdateProject

func (mr *MockProjectServiceMockRecorder) UpdateProject(ctx, id, project any) *gomock.Call

UpdateProject indicates an expected call of UpdateProject.

type MockProjectStore

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

MockProjectStore is a mock of ProjectStore interface.

func NewMockProjectStore

func NewMockProjectStore(ctrl *gomock.Controller) *MockProjectStore

NewMockProjectStore creates a new mock instance.

func (*MockProjectStore) Create

Create mocks base method.

func (*MockProjectStore) Delete

Delete mocks base method.

func (*MockProjectStore) EXPECT

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

func (*MockProjectStore) GetByID

GetByID mocks base method.

func (*MockProjectStore) GetByOrgAndName

func (m *MockProjectStore) GetByOrgAndName(ctx context.Context, orgID, name string) (*models.Project, *errors.ServiceError)

GetByOrgAndName mocks base method.

func (*MockProjectStore) GetDefaultProjectForOrg

func (m *MockProjectStore) GetDefaultProjectForOrg(ctx context.Context, orgID string) (*models.Project, *errors.ServiceError)

GetDefaultProjectForOrg mocks base method.

func (*MockProjectStore) ListByOrgID

func (m *MockProjectStore) ListByOrgID(ctx context.Context, orgID string) ([]*models.Project, *errors.ServiceError)

ListByOrgID mocks base method.

func (*MockProjectStore) Update

Update mocks base method.

type MockProjectStoreMockRecorder

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

MockProjectStoreMockRecorder is the mock recorder for MockProjectStore.

func (*MockProjectStoreMockRecorder) Create

func (mr *MockProjectStoreMockRecorder) Create(ctx, project any) *gomock.Call

Create indicates an expected call of Create.

func (*MockProjectStoreMockRecorder) Delete

func (mr *MockProjectStoreMockRecorder) Delete(ctx, id any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockProjectStoreMockRecorder) GetByID

func (mr *MockProjectStoreMockRecorder) GetByID(ctx, id any) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockProjectStoreMockRecorder) GetByOrgAndName

func (mr *MockProjectStoreMockRecorder) GetByOrgAndName(ctx, orgID, name any) *gomock.Call

GetByOrgAndName indicates an expected call of GetByOrgAndName.

func (*MockProjectStoreMockRecorder) GetDefaultProjectForOrg

func (mr *MockProjectStoreMockRecorder) GetDefaultProjectForOrg(ctx, orgID any) *gomock.Call

GetDefaultProjectForOrg indicates an expected call of GetDefaultProjectForOrg.

func (*MockProjectStoreMockRecorder) ListByOrgID

func (mr *MockProjectStoreMockRecorder) ListByOrgID(ctx, orgID any) *gomock.Call

ListByOrgID indicates an expected call of ListByOrgID.

func (*MockProjectStoreMockRecorder) Update

func (mr *MockProjectStoreMockRecorder) Update(ctx, id, project any) *gomock.Call

Update indicates an expected call of Update.

type MockReferenceService

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

MockReferenceService is a mock of ReferenceService interface.

func NewMockReferenceService

func NewMockReferenceService(ctrl *gomock.Controller) *MockReferenceService

NewMockReferenceService creates a new mock instance.

func (*MockReferenceService) EXPECT

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

func (*MockReferenceService) IsReferentInUse

func (m *MockReferenceService) IsReferentInUse(ctx context.Context, referentType models.ReferentType, referentID string) (bool, []models.ResourceReference, *errors.ServiceError)

IsReferentInUse mocks base method.

func (*MockReferenceService) ProjectRelease

func (m *MockReferenceService) ProjectRelease(ctx context.Context, release *models.StackRelease) *errors.ServiceError

ProjectRelease mocks base method.

func (*MockReferenceService) ReprojectSpec

func (m *MockReferenceService) ReprojectSpec(ctx context.Context, stackID string) *errors.ServiceError

ReprojectSpec mocks base method.

type MockReferenceServiceMockRecorder

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

MockReferenceServiceMockRecorder is the mock recorder for MockReferenceService.

func (*MockReferenceServiceMockRecorder) IsReferentInUse

func (mr *MockReferenceServiceMockRecorder) IsReferentInUse(ctx, referentType, referentID any) *gomock.Call

IsReferentInUse indicates an expected call of IsReferentInUse.

func (*MockReferenceServiceMockRecorder) ProjectRelease

func (mr *MockReferenceServiceMockRecorder) ProjectRelease(ctx, release any) *gomock.Call

ProjectRelease indicates an expected call of ProjectRelease.

func (*MockReferenceServiceMockRecorder) ReprojectSpec

func (mr *MockReferenceServiceMockRecorder) ReprojectSpec(ctx, stackID any) *gomock.Call

ReprojectSpec indicates an expected call of ReprojectSpec.

type MockRefreshTokenStore

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

MockRefreshTokenStore is a mock of RefreshTokenStore interface.

func NewMockRefreshTokenStore

func NewMockRefreshTokenStore(ctrl *gomock.Controller) *MockRefreshTokenStore

NewMockRefreshTokenStore creates a new mock instance.

func (*MockRefreshTokenStore) Create

Create mocks base method.

func (*MockRefreshTokenStore) EXPECT

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

func (*MockRefreshTokenStore) GetByTokenHash

GetByTokenHash mocks base method.

func (*MockRefreshTokenStore) Revoke

Revoke mocks base method.

func (*MockRefreshTokenStore) RevokeAllForUser

func (m *MockRefreshTokenStore) RevokeAllForUser(ctx context.Context, userID string) *errors.ServiceError

RevokeAllForUser mocks base method.

type MockRefreshTokenStoreMockRecorder

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

MockRefreshTokenStoreMockRecorder is the mock recorder for MockRefreshTokenStore.

func (*MockRefreshTokenStoreMockRecorder) Create

func (mr *MockRefreshTokenStoreMockRecorder) Create(ctx, token any) *gomock.Call

Create indicates an expected call of Create.

func (*MockRefreshTokenStoreMockRecorder) GetByTokenHash

func (mr *MockRefreshTokenStoreMockRecorder) GetByTokenHash(ctx, hash any) *gomock.Call

GetByTokenHash indicates an expected call of GetByTokenHash.

func (*MockRefreshTokenStoreMockRecorder) Revoke

func (mr *MockRefreshTokenStoreMockRecorder) Revoke(ctx, id any) *gomock.Call

Revoke indicates an expected call of Revoke.

func (*MockRefreshTokenStoreMockRecorder) RevokeAllForUser

func (mr *MockRefreshTokenStoreMockRecorder) RevokeAllForUser(ctx, userID any) *gomock.Call

RevokeAllForUser indicates an expected call of RevokeAllForUser.

type MockRegistryClient

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

MockRegistryClient is a mock of RegistryClient interface.

func NewMockRegistryClient

func NewMockRegistryClient(ctrl *gomock.Controller) *MockRegistryClient

NewMockRegistryClient creates a new mock instance.

func (*MockRegistryClient) CheckImage

func (m *MockRegistryClient) CheckImage(ctx context.Context, imageRef string) (bool, error)

CheckImage mocks base method.

func (*MockRegistryClient) CheckPushAccess

func (m *MockRegistryClient) CheckPushAccess(ctx context.Context, repoRef string) error

CheckPushAccess mocks base method.

func (*MockRegistryClient) EXPECT

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

type MockRegistryClientMockRecorder

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

MockRegistryClientMockRecorder is the mock recorder for MockRegistryClient.

func (*MockRegistryClientMockRecorder) CheckImage

func (mr *MockRegistryClientMockRecorder) CheckImage(ctx, imageRef any) *gomock.Call

CheckImage indicates an expected call of CheckImage.

func (*MockRegistryClientMockRecorder) CheckPushAccess

func (mr *MockRegistryClientMockRecorder) CheckPushAccess(ctx, repoRef any) *gomock.Call

CheckPushAccess indicates an expected call of CheckPushAccess.

type MockRegistryCredentialStore

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

MockRegistryCredentialStore is a mock of RegistryCredentialStore interface.

func NewMockRegistryCredentialStore

func NewMockRegistryCredentialStore(ctrl *gomock.Controller) *MockRegistryCredentialStore

NewMockRegistryCredentialStore creates a new mock instance.

func (*MockRegistryCredentialStore) Create

Create mocks base method.

func (*MockRegistryCredentialStore) Delete

Delete mocks base method.

func (*MockRegistryCredentialStore) EXPECT

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

func (*MockRegistryCredentialStore) GetByID

GetByID mocks base method.

func (*MockRegistryCredentialStore) GetByOrgAndHost

func (m *MockRegistryCredentialStore) GetByOrgAndHost(ctx context.Context, organisationID, host string) ([]*models.RegistryCredential, *errors.ServiceError)

GetByOrgAndHost mocks base method.

func (*MockRegistryCredentialStore) ListByOrgID

ListByOrgID mocks base method.

func (*MockRegistryCredentialStore) Update

Update mocks base method.

type MockRegistryCredentialStoreMockRecorder

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

MockRegistryCredentialStoreMockRecorder is the mock recorder for MockRegistryCredentialStore.

func (*MockRegistryCredentialStoreMockRecorder) Create

func (mr *MockRegistryCredentialStoreMockRecorder) Create(ctx, credential any) *gomock.Call

Create indicates an expected call of Create.

func (*MockRegistryCredentialStoreMockRecorder) Delete

Delete indicates an expected call of Delete.

func (*MockRegistryCredentialStoreMockRecorder) GetByID

GetByID indicates an expected call of GetByID.

func (*MockRegistryCredentialStoreMockRecorder) GetByOrgAndHost

func (mr *MockRegistryCredentialStoreMockRecorder) GetByOrgAndHost(ctx, organisationID, host any) *gomock.Call

GetByOrgAndHost indicates an expected call of GetByOrgAndHost.

func (*MockRegistryCredentialStoreMockRecorder) ListByOrgID

func (mr *MockRegistryCredentialStoreMockRecorder) ListByOrgID(ctx, organisationID any) *gomock.Call

ListByOrgID indicates an expected call of ListByOrgID.

func (*MockRegistryCredentialStoreMockRecorder) Update

func (mr *MockRegistryCredentialStoreMockRecorder) Update(ctx, credential any) *gomock.Call

Update indicates an expected call of Update.

type MockReleaseEventStore

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

MockReleaseEventStore is a mock of ReleaseEventStore interface.

func NewMockReleaseEventStore

func NewMockReleaseEventStore(ctrl *gomock.Controller) *MockReleaseEventStore

NewMockReleaseEventStore creates a new mock instance.

func (*MockReleaseEventStore) EXPECT

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

func (*MockReleaseEventStore) Insert

Insert mocks base method.

func (*MockReleaseEventStore) InsertWithTx

InsertWithTx mocks base method.

func (*MockReleaseEventStore) ListByReleaseID

func (m *MockReleaseEventStore) ListByReleaseID(ctx context.Context, releaseID string, afterSequence, limit int) ([]*models.ReleaseEvent, *errors.ServiceError)

ListByReleaseID mocks base method.

func (*MockReleaseEventStore) WithTransaction

WithTransaction mocks base method.

type MockReleaseEventStoreMockRecorder

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

MockReleaseEventStoreMockRecorder is the mock recorder for MockReleaseEventStore.

func (*MockReleaseEventStoreMockRecorder) Insert

func (mr *MockReleaseEventStoreMockRecorder) Insert(ctx, event any) *gomock.Call

Insert indicates an expected call of Insert.

func (*MockReleaseEventStoreMockRecorder) InsertWithTx

func (mr *MockReleaseEventStoreMockRecorder) InsertWithTx(ctx, event any) *gomock.Call

InsertWithTx indicates an expected call of InsertWithTx.

func (*MockReleaseEventStoreMockRecorder) ListByReleaseID

func (mr *MockReleaseEventStoreMockRecorder) ListByReleaseID(ctx, releaseID, afterSequence, limit any) *gomock.Call

ListByReleaseID indicates an expected call of ListByReleaseID.

func (*MockReleaseEventStoreMockRecorder) WithTransaction

func (mr *MockReleaseEventStoreMockRecorder) WithTransaction(ctx, fn any) *gomock.Call

WithTransaction indicates an expected call of WithTransaction.

type MockReleaseResolver

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

MockReleaseResolver is a mock of ReleaseResolver interface.

func NewMockReleaseResolver

func NewMockReleaseResolver(ctrl *gomock.Controller) *MockReleaseResolver

NewMockReleaseResolver creates a new mock instance.

func (*MockReleaseResolver) EXPECT

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

func (*MockReleaseResolver) InternalGet

func (m *MockReleaseResolver) InternalGet(ctx context.Context, releaseID string) (*models.StackRelease, *errors.ServiceError)

InternalGet mocks base method.

func (*MockReleaseResolver) InternalGetActiveByStackID

func (m *MockReleaseResolver) InternalGetActiveByStackID(ctx context.Context, stackID string) (*models.StackRelease, *errors.ServiceError)

InternalGetActiveByStackID mocks base method.

func (*MockReleaseResolver) InternalGetLatestByStackID

func (m *MockReleaseResolver) InternalGetLatestByStackID(ctx context.Context, stackID string) (*models.StackRelease, *errors.ServiceError)

InternalGetLatestByStackID mocks base method.

type MockReleaseResolverMockRecorder

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

MockReleaseResolverMockRecorder is the mock recorder for MockReleaseResolver.

func (*MockReleaseResolverMockRecorder) InternalGet

func (mr *MockReleaseResolverMockRecorder) InternalGet(ctx, releaseID any) *gomock.Call

InternalGet indicates an expected call of InternalGet.

func (*MockReleaseResolverMockRecorder) InternalGetActiveByStackID

func (mr *MockReleaseResolverMockRecorder) InternalGetActiveByStackID(ctx, stackID any) *gomock.Call

InternalGetActiveByStackID indicates an expected call of InternalGetActiveByStackID.

func (*MockReleaseResolverMockRecorder) InternalGetLatestByStackID

func (mr *MockReleaseResolverMockRecorder) InternalGetLatestByStackID(ctx, stackID any) *gomock.Call

InternalGetLatestByStackID indicates an expected call of InternalGetLatestByStackID.

type MockResourceAccessPolicyManager

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

MockResourceAccessPolicyManager is a mock of ResourceAccessPolicyManager interface.

func NewMockResourceAccessPolicyManager

func NewMockResourceAccessPolicyManager(ctrl *gomock.Controller) *MockResourceAccessPolicyManager

NewMockResourceAccessPolicyManager creates a new mock instance.

func (*MockResourceAccessPolicyManager) AddGroupingPolicy

func (m *MockResourceAccessPolicyManager) AddGroupingPolicy(subject, role, domain string) error

AddGroupingPolicy mocks base method.

func (*MockResourceAccessPolicyManager) AddPolicy

func (m *MockResourceAccessPolicyManager) AddPolicy(subject, domain, resource, action string) error

AddPolicy mocks base method.

func (*MockResourceAccessPolicyManager) CheckPermission

func (m *MockResourceAccessPolicyManager) CheckPermission(subject, domain, resource, action string) (bool, error)

CheckPermission mocks base method.

func (*MockResourceAccessPolicyManager) EXPECT

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

func (*MockResourceAccessPolicyManager) HasGroupingPolicy

func (m *MockResourceAccessPolicyManager) HasGroupingPolicy(subject, role, domain string) (bool, error)

HasGroupingPolicy mocks base method.

func (*MockResourceAccessPolicyManager) RefreshPolicies

func (m *MockResourceAccessPolicyManager) RefreshPolicies() error

RefreshPolicies mocks base method.

func (*MockResourceAccessPolicyManager) RemoveFilteredPolicy

func (m *MockResourceAccessPolicyManager) RemoveFilteredPolicy(fieldIndex int, fieldValues ...string) error

RemoveFilteredPolicy mocks base method.

func (*MockResourceAccessPolicyManager) RemoveGroupingPolicy

func (m *MockResourceAccessPolicyManager) RemoveGroupingPolicy(subject, role, domain string) error

RemoveGroupingPolicy mocks base method.

func (*MockResourceAccessPolicyManager) RemovePolicy

func (m *MockResourceAccessPolicyManager) RemovePolicy(subject, domain, resource, action string) error

RemovePolicy mocks base method.

type MockResourceAccessPolicyManagerMockRecorder

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

MockResourceAccessPolicyManagerMockRecorder is the mock recorder for MockResourceAccessPolicyManager.

func (*MockResourceAccessPolicyManagerMockRecorder) AddGroupingPolicy

func (mr *MockResourceAccessPolicyManagerMockRecorder) AddGroupingPolicy(subject, role, domain any) *gomock.Call

AddGroupingPolicy indicates an expected call of AddGroupingPolicy.

func (*MockResourceAccessPolicyManagerMockRecorder) AddPolicy

func (mr *MockResourceAccessPolicyManagerMockRecorder) AddPolicy(subject, domain, resource, action any) *gomock.Call

AddPolicy indicates an expected call of AddPolicy.

func (*MockResourceAccessPolicyManagerMockRecorder) CheckPermission

func (mr *MockResourceAccessPolicyManagerMockRecorder) CheckPermission(subject, domain, resource, action any) *gomock.Call

CheckPermission indicates an expected call of CheckPermission.

func (*MockResourceAccessPolicyManagerMockRecorder) HasGroupingPolicy

func (mr *MockResourceAccessPolicyManagerMockRecorder) HasGroupingPolicy(subject, role, domain any) *gomock.Call

HasGroupingPolicy indicates an expected call of HasGroupingPolicy.

func (*MockResourceAccessPolicyManagerMockRecorder) RefreshPolicies

RefreshPolicies indicates an expected call of RefreshPolicies.

func (*MockResourceAccessPolicyManagerMockRecorder) RemoveFilteredPolicy

func (mr *MockResourceAccessPolicyManagerMockRecorder) RemoveFilteredPolicy(fieldIndex any, fieldValues ...any) *gomock.Call

RemoveFilteredPolicy indicates an expected call of RemoveFilteredPolicy.

func (*MockResourceAccessPolicyManagerMockRecorder) RemoveGroupingPolicy

func (mr *MockResourceAccessPolicyManagerMockRecorder) RemoveGroupingPolicy(subject, role, domain any) *gomock.Call

RemoveGroupingPolicy indicates an expected call of RemoveGroupingPolicy.

func (*MockResourceAccessPolicyManagerMockRecorder) RemovePolicy

func (mr *MockResourceAccessPolicyManagerMockRecorder) RemovePolicy(subject, domain, resource, action any) *gomock.Call

RemovePolicy indicates an expected call of RemovePolicy.

type MockResourceReferenceStore

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

MockResourceReferenceStore is a mock of ResourceReferenceStore interface.

func NewMockResourceReferenceStore

func NewMockResourceReferenceStore(ctrl *gomock.Controller) *MockResourceReferenceStore

NewMockResourceReferenceStore creates a new mock instance.

func (*MockResourceReferenceStore) EXPECT

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

func (*MockResourceReferenceStore) InsertReleaseWithTx

func (m *MockResourceReferenceStore) InsertReleaseWithTx(ctx context.Context, releaseID, stackID string, refs []models.ResourceReference) *errors.ServiceError

InsertReleaseWithTx mocks base method.

func (*MockResourceReferenceStore) ListByReferent

func (m *MockResourceReferenceStore) ListByReferent(ctx context.Context, referentType models.ReferentType, referentID string) ([]models.ResourceReference, *errors.ServiceError)

ListByReferent mocks base method.

func (*MockResourceReferenceStore) ReplaceSpecWithTx

func (m *MockResourceReferenceStore) ReplaceSpecWithTx(ctx context.Context, stackID string, refs []models.ResourceReference) *errors.ServiceError

ReplaceSpecWithTx mocks base method.

type MockResourceReferenceStoreMockRecorder

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

MockResourceReferenceStoreMockRecorder is the mock recorder for MockResourceReferenceStore.

func (*MockResourceReferenceStoreMockRecorder) InsertReleaseWithTx

func (mr *MockResourceReferenceStoreMockRecorder) InsertReleaseWithTx(ctx, releaseID, stackID, refs any) *gomock.Call

InsertReleaseWithTx indicates an expected call of InsertReleaseWithTx.

func (*MockResourceReferenceStoreMockRecorder) ListByReferent

func (mr *MockResourceReferenceStoreMockRecorder) ListByReferent(ctx, referentType, referentID any) *gomock.Call

ListByReferent indicates an expected call of ListByReferent.

func (*MockResourceReferenceStoreMockRecorder) ReplaceSpecWithTx

func (mr *MockResourceReferenceStoreMockRecorder) ReplaceSpecWithTx(ctx, stackID, refs any) *gomock.Call

ReplaceSpecWithTx indicates an expected call of ReplaceSpecWithTx.

type MockResourceValidationRecordStore

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

MockResourceValidationRecordStore is a mock of ResourceValidationRecordStore interface.

func NewMockResourceValidationRecordStore

func NewMockResourceValidationRecordStore(ctrl *gomock.Controller) *MockResourceValidationRecordStore

NewMockResourceValidationRecordStore creates a new mock instance.

func (*MockResourceValidationRecordStore) EXPECT

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

func (*MockResourceValidationRecordStore) Get

Get mocks base method.

func (*MockResourceValidationRecordStore) Upsert

Upsert mocks base method.

type MockResourceValidationRecordStoreMockRecorder

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

MockResourceValidationRecordStoreMockRecorder is the mock recorder for MockResourceValidationRecordStore.

func (*MockResourceValidationRecordStoreMockRecorder) Get

func (mr *MockResourceValidationRecordStoreMockRecorder) Get(ctx, stackID, resourceName, kind any) *gomock.Call

Get indicates an expected call of Get.

func (*MockResourceValidationRecordStoreMockRecorder) Upsert

Upsert indicates an expected call of Upsert.

type MockSecretStore

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

MockSecretStore is a mock of SecretStore interface.

func NewMockSecretStore

func NewMockSecretStore(ctrl *gomock.Controller) *MockSecretStore

NewMockSecretStore creates a new mock instance.

func (*MockSecretStore) Create

Create mocks base method.

func (*MockSecretStore) Delete

Delete mocks base method.

func (*MockSecretStore) EXPECT

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

func (*MockSecretStore) GetByID

GetByID mocks base method.

func (*MockSecretStore) GetByName

func (m *MockSecretStore) GetByName(ctx context.Context, organisationID, name string) (*models.Secret, *errors.ServiceError)

GetByName mocks base method.

func (*MockSecretStore) GetSecretKeys

func (m *MockSecretStore) GetSecretKeys(ctx context.Context, secretID string) ([]string, *errors.ServiceError)

GetSecretKeys mocks base method.

func (*MockSecretStore) ListByOrganisation

func (m *MockSecretStore) ListByOrganisation(ctx context.Context, organisationID string, params stores.ListParams) ([]*models.Secret, *errors.ServiceError)

ListByOrganisation mocks base method.

func (*MockSecretStore) ListByProjectID

func (m *MockSecretStore) ListByProjectID(ctx context.Context, projectID string, params stores.ListParams) ([]*models.Secret, *errors.ServiceError)

ListByProjectID mocks base method.

func (*MockSecretStore) ListByProjectIDs

func (m *MockSecretStore) ListByProjectIDs(ctx context.Context, projectIDs []string, params stores.ListParams) ([]*models.Secret, *errors.ServiceError)

ListByProjectIDs mocks base method.

func (*MockSecretStore) ListByType

func (m *MockSecretStore) ListByType(ctx context.Context, organisationID, secretType models.SecretType) ([]*models.Secret, *errors.ServiceError)

ListByType mocks base method.

func (*MockSecretStore) ListByUser

func (m *MockSecretStore) ListByUser(ctx context.Context, organisationID, userID string) ([]*models.Secret, *errors.ServiceError)

ListByUser mocks base method.

func (*MockSecretStore) Update

Update mocks base method.

func (*MockSecretStore) UpdateEncryptedData

func (m *MockSecretStore) UpdateEncryptedData(ctx context.Context, secretID, encryptedData string, keys []string, dataHash string) *errors.ServiceError

UpdateEncryptedData mocks base method.

func (*MockSecretStore) ValidateSecretExists

func (m *MockSecretStore) ValidateSecretExists(ctx context.Context, secretID string) (bool, *errors.ServiceError)

ValidateSecretExists mocks base method.

func (*MockSecretStore) ValidateSecretHasKeys

func (m *MockSecretStore) ValidateSecretHasKeys(ctx context.Context, secretID string, requiredKeys []string) (bool, []string, *errors.ServiceError)

ValidateSecretHasKeys mocks base method.

type MockSecretStoreMockRecorder

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

MockSecretStoreMockRecorder is the mock recorder for MockSecretStore.

func (*MockSecretStoreMockRecorder) Create

func (mr *MockSecretStoreMockRecorder) Create(ctx, secret any) *gomock.Call

Create indicates an expected call of Create.

func (*MockSecretStoreMockRecorder) Delete

func (mr *MockSecretStoreMockRecorder) Delete(ctx, ID any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockSecretStoreMockRecorder) GetByID

func (mr *MockSecretStoreMockRecorder) GetByID(ctx, ID any) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockSecretStoreMockRecorder) GetByName

func (mr *MockSecretStoreMockRecorder) GetByName(ctx, organisationID, name any) *gomock.Call

GetByName indicates an expected call of GetByName.

func (*MockSecretStoreMockRecorder) GetSecretKeys

func (mr *MockSecretStoreMockRecorder) GetSecretKeys(ctx, secretID any) *gomock.Call

GetSecretKeys indicates an expected call of GetSecretKeys.

func (*MockSecretStoreMockRecorder) ListByOrganisation

func (mr *MockSecretStoreMockRecorder) ListByOrganisation(ctx, organisationID, params any) *gomock.Call

ListByOrganisation indicates an expected call of ListByOrganisation.

func (*MockSecretStoreMockRecorder) ListByProjectID

func (mr *MockSecretStoreMockRecorder) ListByProjectID(ctx, projectID, params any) *gomock.Call

ListByProjectID indicates an expected call of ListByProjectID.

func (*MockSecretStoreMockRecorder) ListByProjectIDs

func (mr *MockSecretStoreMockRecorder) ListByProjectIDs(ctx, projectIDs, params any) *gomock.Call

ListByProjectIDs indicates an expected call of ListByProjectIDs.

func (*MockSecretStoreMockRecorder) ListByType

func (mr *MockSecretStoreMockRecorder) ListByType(ctx, organisationID, secretType any) *gomock.Call

ListByType indicates an expected call of ListByType.

func (*MockSecretStoreMockRecorder) ListByUser

func (mr *MockSecretStoreMockRecorder) ListByUser(ctx, organisationID, userID any) *gomock.Call

ListByUser indicates an expected call of ListByUser.

func (*MockSecretStoreMockRecorder) Update

func (mr *MockSecretStoreMockRecorder) Update(ctx, secret any) *gomock.Call

Update indicates an expected call of Update.

func (*MockSecretStoreMockRecorder) UpdateEncryptedData

func (mr *MockSecretStoreMockRecorder) UpdateEncryptedData(ctx, secretID, encryptedData, keys, dataHash any) *gomock.Call

UpdateEncryptedData indicates an expected call of UpdateEncryptedData.

func (*MockSecretStoreMockRecorder) ValidateSecretExists

func (mr *MockSecretStoreMockRecorder) ValidateSecretExists(ctx, secretID any) *gomock.Call

ValidateSecretExists indicates an expected call of ValidateSecretExists.

func (*MockSecretStoreMockRecorder) ValidateSecretHasKeys

func (mr *MockSecretStoreMockRecorder) ValidateSecretHasKeys(ctx, secretID, requiredKeys any) *gomock.Call

ValidateSecretHasKeys indicates an expected call of ValidateSecretHasKeys.

type MockStackDomainsService

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

MockStackDomainsService is a mock of StackDomainsService interface.

func NewMockStackDomainsService

func NewMockStackDomainsService(ctrl *gomock.Controller) *MockStackDomainsService

NewMockStackDomainsService creates a new mock instance.

func (*MockStackDomainsService) Create

Create mocks base method.

func (*MockStackDomainsService) Delete

Delete mocks base method.

func (*MockStackDomainsService) EXPECT

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

func (*MockStackDomainsService) Get

Get mocks base method.

func (*MockStackDomainsService) GetByFqdn

GetByFqdn mocks base method.

func (*MockStackDomainsService) InternalCreateWithTx

InternalCreateWithTx mocks base method.

func (*MockStackDomainsService) InternalDeleteDomainsForResourceWithTx

func (m *MockStackDomainsService) InternalDeleteDomainsForResourceWithTx(ctx context.Context, resourceID string) *errors.ServiceError

InternalDeleteDomainsForResourceWithTx mocks base method.

func (*MockStackDomainsService) InternalDeleteWithTx

func (m *MockStackDomainsService) InternalDeleteWithTx(ctx context.Context, id string) *errors.ServiceError

InternalDeleteWithTx mocks base method.

func (*MockStackDomainsService) ListByFqdnPrefix

func (m *MockStackDomainsService) ListByFqdnPrefix(ctx context.Context, prefix string) ([]*models.StackDomain, *errors.ServiceError)

ListByFqdnPrefix mocks base method.

func (*MockStackDomainsService) PopulateAndSaveExposedPortDomainsForResourceWithTx

func (m *MockStackDomainsService) PopulateAndSaveExposedPortDomainsForResourceWithTx(ctx context.Context, stack *models.Stack, resource *models.StackResource) *errors.ServiceError

PopulateAndSaveExposedPortDomainsForResourceWithTx mocks base method.

type MockStackDomainsServiceMockRecorder

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

MockStackDomainsServiceMockRecorder is the mock recorder for MockStackDomainsService.

func (*MockStackDomainsServiceMockRecorder) Create

func (mr *MockStackDomainsServiceMockRecorder) Create(ctx, spec any) *gomock.Call

Create indicates an expected call of Create.

func (*MockStackDomainsServiceMockRecorder) Delete

func (mr *MockStackDomainsServiceMockRecorder) Delete(ctx, id any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockStackDomainsServiceMockRecorder) Get

Get indicates an expected call of Get.

func (*MockStackDomainsServiceMockRecorder) GetByFqdn

func (mr *MockStackDomainsServiceMockRecorder) GetByFqdn(ctx, fqdn any) *gomock.Call

GetByFqdn indicates an expected call of GetByFqdn.

func (*MockStackDomainsServiceMockRecorder) InternalCreateWithTx

func (mr *MockStackDomainsServiceMockRecorder) InternalCreateWithTx(ctx, spec any) *gomock.Call

InternalCreateWithTx indicates an expected call of InternalCreateWithTx.

func (*MockStackDomainsServiceMockRecorder) InternalDeleteDomainsForResourceWithTx

func (mr *MockStackDomainsServiceMockRecorder) InternalDeleteDomainsForResourceWithTx(ctx, resourceID any) *gomock.Call

InternalDeleteDomainsForResourceWithTx indicates an expected call of InternalDeleteDomainsForResourceWithTx.

func (*MockStackDomainsServiceMockRecorder) InternalDeleteWithTx

func (mr *MockStackDomainsServiceMockRecorder) InternalDeleteWithTx(ctx, id any) *gomock.Call

InternalDeleteWithTx indicates an expected call of InternalDeleteWithTx.

func (*MockStackDomainsServiceMockRecorder) ListByFqdnPrefix

func (mr *MockStackDomainsServiceMockRecorder) ListByFqdnPrefix(ctx, prefix any) *gomock.Call

ListByFqdnPrefix indicates an expected call of ListByFqdnPrefix.

func (*MockStackDomainsServiceMockRecorder) PopulateAndSaveExposedPortDomainsForResourceWithTx

func (mr *MockStackDomainsServiceMockRecorder) PopulateAndSaveExposedPortDomainsForResourceWithTx(ctx, stack, resource any) *gomock.Call

PopulateAndSaveExposedPortDomainsForResourceWithTx indicates an expected call of PopulateAndSaveExposedPortDomainsForResourceWithTx.

type MockStackDomainsStore

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

MockStackDomainsStore is a mock of StackDomainsStore interface.

func NewMockStackDomainsStore

func NewMockStackDomainsStore(ctrl *gomock.Controller) *MockStackDomainsStore

NewMockStackDomainsStore creates a new mock instance.

func (*MockStackDomainsStore) BulkCreate

BulkCreate mocks base method.

func (*MockStackDomainsStore) Create

Create mocks base method.

func (*MockStackDomainsStore) CreateWithTx

CreateWithTx mocks base method.

func (*MockStackDomainsStore) Delete

Delete mocks base method.

func (*MockStackDomainsStore) DeleteForStackResourceAndPort

func (m *MockStackDomainsStore) DeleteForStackResourceAndPort(ctx context.Context, stackResourceID string, port int) *errors.ServiceError

DeleteForStackResourceAndPort mocks base method.

func (*MockStackDomainsStore) DeleteForStackResourceAndPortWithTx

func (m *MockStackDomainsStore) DeleteForStackResourceAndPortWithTx(ctx context.Context, stackResourceID string, port int) *errors.ServiceError

DeleteForStackResourceAndPortWithTx mocks base method.

func (*MockStackDomainsStore) DeleteWithTx

func (m *MockStackDomainsStore) DeleteWithTx(ctx context.Context, id string) *errors.ServiceError

DeleteWithTx mocks base method.

func (*MockStackDomainsStore) EXPECT

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

func (*MockStackDomainsStore) Get

Get mocks base method.

func (*MockStackDomainsStore) GetByFqdn

GetByFqdn mocks base method.

func (*MockStackDomainsStore) GetByStackResourceAndPort

func (m *MockStackDomainsStore) GetByStackResourceAndPort(ctx context.Context, stackResourceID string, port int) (*models.StackDomain, *errors.ServiceError)

GetByStackResourceAndPort mocks base method.

func (*MockStackDomainsStore) ListByFqdnPrefix

ListByFqdnPrefix mocks base method.

func (*MockStackDomainsStore) ListByOrganisationID

func (m *MockStackDomainsStore) ListByOrganisationID(ctx context.Context, organisationID string) (models.StackDomainList, *errors.ServiceError)

ListByOrganisationID mocks base method.

func (*MockStackDomainsStore) ListByStackID

ListByStackID mocks base method.

func (*MockStackDomainsStore) ListByStackResourceID

func (m *MockStackDomainsStore) ListByStackResourceID(ctx context.Context, stackResourceID string) (models.StackDomainList, *errors.ServiceError)

ListByStackResourceID mocks base method.

func (*MockStackDomainsStore) Update

Update mocks base method.

type MockStackDomainsStoreMockRecorder

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

MockStackDomainsStoreMockRecorder is the mock recorder for MockStackDomainsStore.

func (*MockStackDomainsStoreMockRecorder) BulkCreate

func (mr *MockStackDomainsStoreMockRecorder) BulkCreate(ctx, domains any) *gomock.Call

BulkCreate indicates an expected call of BulkCreate.

func (*MockStackDomainsStoreMockRecorder) Create

func (mr *MockStackDomainsStoreMockRecorder) Create(ctx, domain any) *gomock.Call

Create indicates an expected call of Create.

func (*MockStackDomainsStoreMockRecorder) CreateWithTx

func (mr *MockStackDomainsStoreMockRecorder) CreateWithTx(ctx, domain any) *gomock.Call

CreateWithTx indicates an expected call of CreateWithTx.

func (*MockStackDomainsStoreMockRecorder) Delete

func (mr *MockStackDomainsStoreMockRecorder) Delete(ctx, id any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockStackDomainsStoreMockRecorder) DeleteForStackResourceAndPort

func (mr *MockStackDomainsStoreMockRecorder) DeleteForStackResourceAndPort(ctx, stackResourceID, port any) *gomock.Call

DeleteForStackResourceAndPort indicates an expected call of DeleteForStackResourceAndPort.

func (*MockStackDomainsStoreMockRecorder) DeleteForStackResourceAndPortWithTx

func (mr *MockStackDomainsStoreMockRecorder) DeleteForStackResourceAndPortWithTx(ctx, stackResourceID, port any) *gomock.Call

DeleteForStackResourceAndPortWithTx indicates an expected call of DeleteForStackResourceAndPortWithTx.

func (*MockStackDomainsStoreMockRecorder) DeleteWithTx

func (mr *MockStackDomainsStoreMockRecorder) DeleteWithTx(ctx, id any) *gomock.Call

DeleteWithTx indicates an expected call of DeleteWithTx.

func (*MockStackDomainsStoreMockRecorder) Get

Get indicates an expected call of Get.

func (*MockStackDomainsStoreMockRecorder) GetByFqdn

func (mr *MockStackDomainsStoreMockRecorder) GetByFqdn(ctx, fqdn any) *gomock.Call

GetByFqdn indicates an expected call of GetByFqdn.

func (*MockStackDomainsStoreMockRecorder) GetByStackResourceAndPort

func (mr *MockStackDomainsStoreMockRecorder) GetByStackResourceAndPort(ctx, stackResourceID, port any) *gomock.Call

GetByStackResourceAndPort indicates an expected call of GetByStackResourceAndPort.

func (*MockStackDomainsStoreMockRecorder) ListByFqdnPrefix

func (mr *MockStackDomainsStoreMockRecorder) ListByFqdnPrefix(ctx, prefix any) *gomock.Call

ListByFqdnPrefix indicates an expected call of ListByFqdnPrefix.

func (*MockStackDomainsStoreMockRecorder) ListByOrganisationID

func (mr *MockStackDomainsStoreMockRecorder) ListByOrganisationID(ctx, organisationID any) *gomock.Call

ListByOrganisationID indicates an expected call of ListByOrganisationID.

func (*MockStackDomainsStoreMockRecorder) ListByStackID

func (mr *MockStackDomainsStoreMockRecorder) ListByStackID(ctx, stackID any) *gomock.Call

ListByStackID indicates an expected call of ListByStackID.

func (*MockStackDomainsStoreMockRecorder) ListByStackResourceID

func (mr *MockStackDomainsStoreMockRecorder) ListByStackResourceID(ctx, stackResourceID any) *gomock.Call

ListByStackResourceID indicates an expected call of ListByStackResourceID.

func (*MockStackDomainsStoreMockRecorder) Update

func (mr *MockStackDomainsStoreMockRecorder) Update(ctx, id, domain any) *gomock.Call

Update indicates an expected call of Update.

type MockStackPreviewConfigStore

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

MockStackPreviewConfigStore is a mock of StackPreviewConfigStore interface.

func NewMockStackPreviewConfigStore

func NewMockStackPreviewConfigStore(ctrl *gomock.Controller) *MockStackPreviewConfigStore

NewMockStackPreviewConfigStore creates a new mock instance.

func (*MockStackPreviewConfigStore) Create

Create mocks base method.

func (*MockStackPreviewConfigStore) Delete

Delete mocks base method.

func (*MockStackPreviewConfigStore) EXPECT

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

func (*MockStackPreviewConfigStore) GetByID

GetByID mocks base method.

func (*MockStackPreviewConfigStore) GetByOrgAndRepo

func (m *MockStackPreviewConfigStore) GetByOrgAndRepo(ctx context.Context, organisationID, normalizedRepoURL string) (*models.StackPreviewConfig, *errors.ServiceError)

GetByOrgAndRepo mocks base method.

func (*MockStackPreviewConfigStore) GetByProjectAndName

func (m *MockStackPreviewConfigStore) GetByProjectAndName(ctx context.Context, projectID, name string) (*models.StackPreviewConfig, *errors.ServiceError)

GetByProjectAndName mocks base method.

func (*MockStackPreviewConfigStore) ListByProjectID

ListByProjectID mocks base method.

func (*MockStackPreviewConfigStore) Update

Update mocks base method.

func (*MockStackPreviewConfigStore) WithTransaction

WithTransaction mocks base method.

type MockStackPreviewConfigStoreMockRecorder

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

MockStackPreviewConfigStoreMockRecorder is the mock recorder for MockStackPreviewConfigStore.

func (*MockStackPreviewConfigStoreMockRecorder) Create

func (mr *MockStackPreviewConfigStoreMockRecorder) Create(ctx, config any) *gomock.Call

Create indicates an expected call of Create.

func (*MockStackPreviewConfigStoreMockRecorder) Delete

Delete indicates an expected call of Delete.

func (*MockStackPreviewConfigStoreMockRecorder) GetByID

GetByID indicates an expected call of GetByID.

func (*MockStackPreviewConfigStoreMockRecorder) GetByOrgAndRepo

func (mr *MockStackPreviewConfigStoreMockRecorder) GetByOrgAndRepo(ctx, organisationID, normalizedRepoURL any) *gomock.Call

GetByOrgAndRepo indicates an expected call of GetByOrgAndRepo.

func (*MockStackPreviewConfigStoreMockRecorder) GetByProjectAndName

func (mr *MockStackPreviewConfigStoreMockRecorder) GetByProjectAndName(ctx, projectID, name any) *gomock.Call

GetByProjectAndName indicates an expected call of GetByProjectAndName.

func (*MockStackPreviewConfigStoreMockRecorder) ListByProjectID

func (mr *MockStackPreviewConfigStoreMockRecorder) ListByProjectID(ctx, projectID, params any) *gomock.Call

ListByProjectID indicates an expected call of ListByProjectID.

func (*MockStackPreviewConfigStoreMockRecorder) Update

func (mr *MockStackPreviewConfigStoreMockRecorder) Update(ctx, config any) *gomock.Call

Update indicates an expected call of Update.

func (*MockStackPreviewConfigStoreMockRecorder) WithTransaction

func (mr *MockStackPreviewConfigStoreMockRecorder) WithTransaction(ctx, fn any) *gomock.Call

WithTransaction indicates an expected call of WithTransaction.

type MockStackReleaseStore

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

MockStackReleaseStore is a mock of StackReleaseStore interface.

func NewMockStackReleaseStore

func NewMockStackReleaseStore(ctrl *gomock.Controller) *MockStackReleaseStore

NewMockStackReleaseStore creates a new mock instance.

func (*MockStackReleaseStore) AppendImageDigests

func (m *MockStackReleaseStore) AppendImageDigests(ctx context.Context, id string, digests map[string]string) *errors.ServiceError

AppendImageDigests mocks base method.

func (*MockStackReleaseStore) Cancel

Cancel mocks base method.

func (*MockStackReleaseStore) Create

Create mocks base method.

func (*MockStackReleaseStore) DeleteByIDs

func (m *MockStackReleaseStore) DeleteByIDs(ctx context.Context, ids []string) *errors.ServiceError

DeleteByIDs mocks base method.

func (*MockStackReleaseStore) EXPECT

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

func (*MockStackReleaseStore) GetActiveByStackID

func (m *MockStackReleaseStore) GetActiveByStackID(ctx context.Context, stackID string) (*models.StackRelease, *errors.ServiceError)

GetActiveByStackID mocks base method.

func (*MockStackReleaseStore) GetByID

GetByID mocks base method.

func (*MockStackReleaseStore) GetByIDs

GetByIDs mocks base method.

func (*MockStackReleaseStore) GetLatestByStackID

func (m *MockStackReleaseStore) GetLatestByStackID(ctx context.Context, stackID string) (*models.StackRelease, *errors.ServiceError)

GetLatestByStackID mocks base method.

func (*MockStackReleaseStore) GetLatestByStackIDs

func (m *MockStackReleaseStore) GetLatestByStackIDs(ctx context.Context, stackIDs []string) (map[string]*models.StackRelease, *errors.ServiceError)

GetLatestByStackIDs mocks base method.

func (*MockStackReleaseStore) ListActive

ListActive mocks base method.

func (*MockStackReleaseStore) ListByStackID

ListByStackID mocks base method.

func (*MockStackReleaseStore) ListStackIDsExceedingRetention

func (m *MockStackReleaseStore) ListStackIDsExceedingRetention(ctx context.Context, cap int) ([]string, *errors.ServiceError)

ListStackIDsExceedingRetention mocks base method.

func (*MockStackReleaseStore) ListTerminalSummariesByStackID

func (m *MockStackReleaseStore) ListTerminalSummariesByStackID(ctx context.Context, stackID string) ([]models.ReleaseSummary, *errors.ServiceError)

ListTerminalSummariesByStackID mocks base method.

func (*MockStackReleaseStore) MarkCancelled

func (m *MockStackReleaseStore) MarkCancelled(ctx context.Context, id, reason string) (bool, *errors.ServiceError)

MarkCancelled mocks base method.

func (*MockStackReleaseStore) MarkFailed

func (m *MockStackReleaseStore) MarkFailed(ctx context.Context, id, message string, outcome *models.ReleaseOutcome) (bool, *errors.ServiceError)

MarkFailed mocks base method.

func (*MockStackReleaseStore) MarkFailedWithValidationErrors

func (m *MockStackReleaseStore) MarkFailedWithValidationErrors(ctx context.Context, id, message string, verrs models.ReleaseValidationErrors) (bool, *errors.ServiceError)

MarkFailedWithValidationErrors mocks base method.

func (*MockStackReleaseStore) MarkInProgress

func (m *MockStackReleaseStore) MarkInProgress(ctx context.Context, id string) (bool, *errors.ServiceError)

MarkInProgress mocks base method.

func (*MockStackReleaseStore) MarkReleased

MarkReleased mocks base method.

func (*MockStackReleaseStore) MarkSuperseded

func (m *MockStackReleaseStore) MarkSuperseded(ctx context.Context, id, reason string) (bool, *errors.ServiceError)

MarkSuperseded mocks base method.

func (*MockStackReleaseStore) SaveManifest

func (m_2 *MockStackReleaseStore) SaveManifest(ctx context.Context, id string, m *models.ReleaseManifest, rev string, pins models.ReleasePins, rendererVersion string) (bool, *errors.ServiceError)

SaveManifest mocks base method.

func (*MockStackReleaseStore) SetConvergeClockStartedAt

func (m *MockStackReleaseStore) SetConvergeClockStartedAt(ctx context.Context, id string, startedAt *time.Time) *errors.ServiceError

SetConvergeClockStartedAt mocks base method.

func (*MockStackReleaseStore) WithTransaction

WithTransaction mocks base method.

type MockStackReleaseStoreMockRecorder

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

MockStackReleaseStoreMockRecorder is the mock recorder for MockStackReleaseStore.

func (*MockStackReleaseStoreMockRecorder) AppendImageDigests

func (mr *MockStackReleaseStoreMockRecorder) AppendImageDigests(ctx, id, digests any) *gomock.Call

AppendImageDigests indicates an expected call of AppendImageDigests.

func (*MockStackReleaseStoreMockRecorder) Cancel

func (mr *MockStackReleaseStoreMockRecorder) Cancel(ctx, id any) *gomock.Call

Cancel indicates an expected call of Cancel.

func (*MockStackReleaseStoreMockRecorder) Create

func (mr *MockStackReleaseStoreMockRecorder) Create(ctx, release any) *gomock.Call

Create indicates an expected call of Create.

func (*MockStackReleaseStoreMockRecorder) DeleteByIDs

func (mr *MockStackReleaseStoreMockRecorder) DeleteByIDs(ctx, ids any) *gomock.Call

DeleteByIDs indicates an expected call of DeleteByIDs.

func (*MockStackReleaseStoreMockRecorder) GetActiveByStackID

func (mr *MockStackReleaseStoreMockRecorder) GetActiveByStackID(ctx, stackID any) *gomock.Call

GetActiveByStackID indicates an expected call of GetActiveByStackID.

func (*MockStackReleaseStoreMockRecorder) GetByID

func (mr *MockStackReleaseStoreMockRecorder) GetByID(ctx, id any) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockStackReleaseStoreMockRecorder) GetByIDs

func (mr *MockStackReleaseStoreMockRecorder) GetByIDs(ctx, ids any) *gomock.Call

GetByIDs indicates an expected call of GetByIDs.

func (*MockStackReleaseStoreMockRecorder) GetLatestByStackID

func (mr *MockStackReleaseStoreMockRecorder) GetLatestByStackID(ctx, stackID any) *gomock.Call

GetLatestByStackID indicates an expected call of GetLatestByStackID.

func (*MockStackReleaseStoreMockRecorder) GetLatestByStackIDs

func (mr *MockStackReleaseStoreMockRecorder) GetLatestByStackIDs(ctx, stackIDs any) *gomock.Call

GetLatestByStackIDs indicates an expected call of GetLatestByStackIDs.

func (*MockStackReleaseStoreMockRecorder) ListActive

func (mr *MockStackReleaseStoreMockRecorder) ListActive(ctx any) *gomock.Call

ListActive indicates an expected call of ListActive.

func (*MockStackReleaseStoreMockRecorder) ListByStackID

func (mr *MockStackReleaseStoreMockRecorder) ListByStackID(ctx, stackID, params any) *gomock.Call

ListByStackID indicates an expected call of ListByStackID.

func (*MockStackReleaseStoreMockRecorder) ListStackIDsExceedingRetention

func (mr *MockStackReleaseStoreMockRecorder) ListStackIDsExceedingRetention(ctx, cap any) *gomock.Call

ListStackIDsExceedingRetention indicates an expected call of ListStackIDsExceedingRetention.

func (*MockStackReleaseStoreMockRecorder) ListTerminalSummariesByStackID

func (mr *MockStackReleaseStoreMockRecorder) ListTerminalSummariesByStackID(ctx, stackID any) *gomock.Call

ListTerminalSummariesByStackID indicates an expected call of ListTerminalSummariesByStackID.

func (*MockStackReleaseStoreMockRecorder) MarkCancelled

func (mr *MockStackReleaseStoreMockRecorder) MarkCancelled(ctx, id, reason any) *gomock.Call

MarkCancelled indicates an expected call of MarkCancelled.

func (*MockStackReleaseStoreMockRecorder) MarkFailed

func (mr *MockStackReleaseStoreMockRecorder) MarkFailed(ctx, id, message, outcome any) *gomock.Call

MarkFailed indicates an expected call of MarkFailed.

func (*MockStackReleaseStoreMockRecorder) MarkFailedWithValidationErrors

func (mr *MockStackReleaseStoreMockRecorder) MarkFailedWithValidationErrors(ctx, id, message, verrs any) *gomock.Call

MarkFailedWithValidationErrors indicates an expected call of MarkFailedWithValidationErrors.

func (*MockStackReleaseStoreMockRecorder) MarkInProgress

func (mr *MockStackReleaseStoreMockRecorder) MarkInProgress(ctx, id any) *gomock.Call

MarkInProgress indicates an expected call of MarkInProgress.

func (*MockStackReleaseStoreMockRecorder) MarkReleased

func (mr *MockStackReleaseStoreMockRecorder) MarkReleased(ctx, id, outcome any) *gomock.Call

MarkReleased indicates an expected call of MarkReleased.

func (*MockStackReleaseStoreMockRecorder) MarkSuperseded

func (mr *MockStackReleaseStoreMockRecorder) MarkSuperseded(ctx, id, reason any) *gomock.Call

MarkSuperseded indicates an expected call of MarkSuperseded.

func (*MockStackReleaseStoreMockRecorder) SaveManifest

func (mr *MockStackReleaseStoreMockRecorder) SaveManifest(ctx, id, m, rev, pins, rendererVersion any) *gomock.Call

SaveManifest indicates an expected call of SaveManifest.

func (*MockStackReleaseStoreMockRecorder) SetConvergeClockStartedAt

func (mr *MockStackReleaseStoreMockRecorder) SetConvergeClockStartedAt(ctx, id, startedAt any) *gomock.Call

SetConvergeClockStartedAt indicates an expected call of SetConvergeClockStartedAt.

func (*MockStackReleaseStoreMockRecorder) WithTransaction

func (mr *MockStackReleaseStoreMockRecorder) WithTransaction(ctx, fn any) *gomock.Call

WithTransaction indicates an expected call of WithTransaction.

type MockStackResourceService

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

MockStackResourceService is a mock of StackResourceService interface.

func NewMockStackResourceService

func NewMockStackResourceService(ctrl *gomock.Controller) *MockStackResourceService

NewMockStackResourceService creates a new mock instance.

func (*MockStackResourceService) Create

Create mocks base method.

func (*MockStackResourceService) Delete

func (m *MockStackResourceService) Delete(ctx context.Context, stackID, resourceName string) *errors.ServiceError

Delete mocks base method.

func (*MockStackResourceService) EXPECT

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

func (*MockStackResourceService) GetByID

GetByID mocks base method.

func (*MockStackResourceService) GetByStackID

GetByStackID mocks base method.

func (*MockStackResourceService) GetByStackIDAndResourceName

func (m *MockStackResourceService) GetByStackIDAndResourceName(ctx context.Context, stackID, resourceName string) (*models.StackResource, *errors.ServiceError)

GetByStackIDAndResourceName mocks base method.

func (*MockStackResourceService) InjectClusterManager

func (m *MockStackResourceService) InjectClusterManager(clusterManager clustermanager.ClusterManager)

InjectClusterManager mocks base method.

func (*MockStackResourceService) InternalCreateWithTx

func (m *MockStackResourceService) InternalCreateWithTx(ctx context.Context, stack *models.Stack, resource *models.StackResource) (*models.StackResource, *errors.ServiceError)

InternalCreateWithTx mocks base method.

func (*MockStackResourceService) InternalDeleteWithTx

func (m *MockStackResourceService) InternalDeleteWithTx(ctx context.Context, resourceID string) *errors.ServiceError

InternalDeleteWithTx mocks base method.

func (*MockStackResourceService) InternalGetByStackIDAndResourceName

func (m *MockStackResourceService) InternalGetByStackIDAndResourceName(ctx context.Context, stackID, resourceName string) (*models.StackResource, *errors.ServiceError)

InternalGetByStackIDAndResourceName mocks base method.

func (*MockStackResourceService) InternalSyncResourcesWithTx

func (m *MockStackResourceService) InternalSyncResourcesWithTx(ctx context.Context, stack, existingStack *models.Stack, desired []*models.StackResource) *errors.ServiceError

InternalSyncResourcesWithTx mocks base method.

func (*MockStackResourceService) InternalUpdateWithTx

func (m *MockStackResourceService) InternalUpdateWithTx(ctx context.Context, stack *models.Stack, resourceID string, resource *models.StackResource) (*models.StackResource, *errors.ServiceError)

InternalUpdateWithTx mocks base method.

func (*MockStackResourceService) Restart

func (m *MockStackResourceService) Restart(ctx context.Context, stackID, resourceName string) (*models.StackResource, *errors.ServiceError)

Restart mocks base method.

func (*MockStackResourceService) Update

func (m *MockStackResourceService) Update(ctx context.Context, stackID, resourceName string, resource *models.StackResource) (*models.StackResource, *errors.ServiceError)

Update mocks base method.

func (*MockStackResourceService) UpdateStatus

func (m *MockStackResourceService) UpdateStatus(ctx context.Context, resourceID string, status *models.StackResourceStatus) *errors.ServiceError

UpdateStatus mocks base method.

type MockStackResourceServiceMockRecorder

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

MockStackResourceServiceMockRecorder is the mock recorder for MockStackResourceService.

func (*MockStackResourceServiceMockRecorder) Create

func (mr *MockStackResourceServiceMockRecorder) Create(ctx, resource any) *gomock.Call

Create indicates an expected call of Create.

func (*MockStackResourceServiceMockRecorder) Delete

func (mr *MockStackResourceServiceMockRecorder) Delete(ctx, stackID, resourceName any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockStackResourceServiceMockRecorder) GetByID

func (mr *MockStackResourceServiceMockRecorder) GetByID(ctx, ID any) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockStackResourceServiceMockRecorder) GetByStackID

func (mr *MockStackResourceServiceMockRecorder) GetByStackID(ctx, stackID any) *gomock.Call

GetByStackID indicates an expected call of GetByStackID.

func (*MockStackResourceServiceMockRecorder) GetByStackIDAndResourceName

func (mr *MockStackResourceServiceMockRecorder) GetByStackIDAndResourceName(ctx, stackID, resourceName any) *gomock.Call

GetByStackIDAndResourceName indicates an expected call of GetByStackIDAndResourceName.

func (*MockStackResourceServiceMockRecorder) InjectClusterManager

func (mr *MockStackResourceServiceMockRecorder) InjectClusterManager(clusterManager any) *gomock.Call

InjectClusterManager indicates an expected call of InjectClusterManager.

func (*MockStackResourceServiceMockRecorder) InternalCreateWithTx

func (mr *MockStackResourceServiceMockRecorder) InternalCreateWithTx(ctx, stack, resource any) *gomock.Call

InternalCreateWithTx indicates an expected call of InternalCreateWithTx.

func (*MockStackResourceServiceMockRecorder) InternalDeleteWithTx

func (mr *MockStackResourceServiceMockRecorder) InternalDeleteWithTx(ctx, resourceID any) *gomock.Call

InternalDeleteWithTx indicates an expected call of InternalDeleteWithTx.

func (*MockStackResourceServiceMockRecorder) InternalGetByStackIDAndResourceName

func (mr *MockStackResourceServiceMockRecorder) InternalGetByStackIDAndResourceName(ctx, stackID, resourceName any) *gomock.Call

InternalGetByStackIDAndResourceName indicates an expected call of InternalGetByStackIDAndResourceName.

func (*MockStackResourceServiceMockRecorder) InternalSyncResourcesWithTx

func (mr *MockStackResourceServiceMockRecorder) InternalSyncResourcesWithTx(ctx, stack, existingStack, desired any) *gomock.Call

InternalSyncResourcesWithTx indicates an expected call of InternalSyncResourcesWithTx.

func (*MockStackResourceServiceMockRecorder) InternalUpdateWithTx

func (mr *MockStackResourceServiceMockRecorder) InternalUpdateWithTx(ctx, stack, resourceID, resource any) *gomock.Call

InternalUpdateWithTx indicates an expected call of InternalUpdateWithTx.

func (*MockStackResourceServiceMockRecorder) Restart

func (mr *MockStackResourceServiceMockRecorder) Restart(ctx, stackID, resourceName any) *gomock.Call

Restart indicates an expected call of Restart.

func (*MockStackResourceServiceMockRecorder) Update

func (mr *MockStackResourceServiceMockRecorder) Update(ctx, stackID, resourceName, resource any) *gomock.Call

Update indicates an expected call of Update.

func (*MockStackResourceServiceMockRecorder) UpdateStatus

func (mr *MockStackResourceServiceMockRecorder) UpdateStatus(ctx, resourceID, status any) *gomock.Call

UpdateStatus indicates an expected call of UpdateStatus.

type MockStackResourceStore

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

MockStackResourceStore is a mock of StackResourceStore interface.

func NewMockStackResourceStore

func NewMockStackResourceStore(ctrl *gomock.Controller) *MockStackResourceStore

NewMockStackResourceStore creates a new mock instance.

func (*MockStackResourceStore) Create

Create mocks base method.

func (*MockStackResourceStore) CreateWithTx

CreateWithTx mocks base method.

func (*MockStackResourceStore) Delete

Delete mocks base method.

func (*MockStackResourceStore) DeleteWithTx

func (m *MockStackResourceStore) DeleteWithTx(ctx context.Context, ID string) *errors.ServiceError

DeleteWithTx mocks base method.

func (*MockStackResourceStore) EXPECT

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

func (*MockStackResourceStore) GetByID

GetByID mocks base method.

func (*MockStackResourceStore) GetByStackID

func (m *MockStackResourceStore) GetByStackID(ctx context.Context, stackID string) ([]*models.StackResource, *errors.ServiceError)

GetByStackID mocks base method.

func (*MockStackResourceStore) GetByStackIDAndResourceName

func (m *MockStackResourceStore) GetByStackIDAndResourceName(ctx context.Context, stackID, resourceName string) (*models.StackResource, *errors.ServiceError)

GetByStackIDAndResourceName mocks base method.

func (*MockStackResourceStore) Update

Update mocks base method.

func (*MockStackResourceStore) UpdatePortsWithTx

func (m *MockStackResourceStore) UpdatePortsWithTx(ctx context.Context, resourceID string, resource *models.StackResource) *errors.ServiceError

UpdatePortsWithTx mocks base method.

func (*MockStackResourceStore) UpdateStatus

func (m *MockStackResourceStore) UpdateStatus(ctx context.Context, resourceID string, status *models.StackResourceStatus) *errors.ServiceError

UpdateStatus mocks base method.

func (*MockStackResourceStore) UpdateWithTx

func (m *MockStackResourceStore) UpdateWithTx(ctx context.Context, resourceID string, resource *models.StackResource, stack *models.Stack) (*models.StackResource, *errors.ServiceError)

UpdateWithTx mocks base method.

type MockStackResourceStoreMockRecorder

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

MockStackResourceStoreMockRecorder is the mock recorder for MockStackResourceStore.

func (*MockStackResourceStoreMockRecorder) Create

func (mr *MockStackResourceStoreMockRecorder) Create(ctx, resource any) *gomock.Call

Create indicates an expected call of Create.

func (*MockStackResourceStoreMockRecorder) CreateWithTx

func (mr *MockStackResourceStoreMockRecorder) CreateWithTx(ctx, resource, stack any) *gomock.Call

CreateWithTx indicates an expected call of CreateWithTx.

func (*MockStackResourceStoreMockRecorder) Delete

func (mr *MockStackResourceStoreMockRecorder) Delete(ctx, ID any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockStackResourceStoreMockRecorder) DeleteWithTx

func (mr *MockStackResourceStoreMockRecorder) DeleteWithTx(ctx, ID any) *gomock.Call

DeleteWithTx indicates an expected call of DeleteWithTx.

func (*MockStackResourceStoreMockRecorder) GetByID

func (mr *MockStackResourceStoreMockRecorder) GetByID(ctx, ID any) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockStackResourceStoreMockRecorder) GetByStackID

func (mr *MockStackResourceStoreMockRecorder) GetByStackID(ctx, stackID any) *gomock.Call

GetByStackID indicates an expected call of GetByStackID.

func (*MockStackResourceStoreMockRecorder) GetByStackIDAndResourceName

func (mr *MockStackResourceStoreMockRecorder) GetByStackIDAndResourceName(ctx, stackID, resourceName any) *gomock.Call

GetByStackIDAndResourceName indicates an expected call of GetByStackIDAndResourceName.

func (*MockStackResourceStoreMockRecorder) Update

func (mr *MockStackResourceStoreMockRecorder) Update(ctx, resourceID, resource, stack any) *gomock.Call

Update indicates an expected call of Update.

func (*MockStackResourceStoreMockRecorder) UpdatePortsWithTx

func (mr *MockStackResourceStoreMockRecorder) UpdatePortsWithTx(ctx, resourceID, resource any) *gomock.Call

UpdatePortsWithTx indicates an expected call of UpdatePortsWithTx.

func (*MockStackResourceStoreMockRecorder) UpdateStatus

func (mr *MockStackResourceStoreMockRecorder) UpdateStatus(ctx, resourceID, status any) *gomock.Call

UpdateStatus indicates an expected call of UpdateStatus.

func (*MockStackResourceStoreMockRecorder) UpdateWithTx

func (mr *MockStackResourceStoreMockRecorder) UpdateWithTx(ctx, resourceID, resource, stack any) *gomock.Call

UpdateWithTx indicates an expected call of UpdateWithTx.

type MockStackStore

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

MockStackStore is a mock of StackStore interface.

func NewMockStackStore

func NewMockStackStore(ctrl *gomock.Controller) *MockStackStore

NewMockStackStore creates a new mock instance.

func (*MockStackStore) Create

Create mocks base method.

func (*MockStackStore) CreateConnectionWithTx

func (m *MockStackStore) CreateConnectionWithTx(ctx context.Context, id string, connection *models.StackConnection) (*models.StackConnection, *errors.ServiceError)

CreateConnectionWithTx mocks base method.

func (*MockStackStore) CreateWithTx

func (m *MockStackStore) CreateWithTx(ctx context.Context, spec *models.Stack) (*models.Stack, *errors.ServiceError)

CreateWithTx mocks base method.

func (*MockStackStore) Delete

Delete mocks base method.

func (*MockStackStore) DeleteConnectionWithTx

func (m *MockStackStore) DeleteConnectionWithTx(ctx context.Context, id, connectionID string) *errors.ServiceError

DeleteConnectionWithTx mocks base method.

func (*MockStackStore) DeleteWithTx

func (m *MockStackStore) DeleteWithTx(ctx context.Context, id string) *errors.ServiceError

DeleteWithTx mocks base method.

func (*MockStackStore) EXPECT

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

func (*MockStackStore) GetByID

GetByID mocks base method.

func (*MockStackStore) GetByNameAndProjectID

func (m *MockStackStore) GetByNameAndProjectID(ctx context.Context, name, projectID string) (*models.Stack, *errors.ServiceError)

GetByNameAndProjectID mocks base method.

func (*MockStackStore) InternalList

func (m *MockStackStore) InternalList(ctx context.Context, query string, args ...any) ([]*models.Stack, *errors.ServiceError)

InternalList mocks base method.

func (*MockStackStore) ListByOrganisationID

func (m *MockStackStore) ListByOrganisationID(ctx context.Context, organisationID string) ([]*models.Stack, *errors.ServiceError)

ListByOrganisationID mocks base method.

func (*MockStackStore) ListByProjectID

func (m *MockStackStore) ListByProjectID(ctx context.Context, projectID string) ([]*models.Stack, *errors.ServiceError)

ListByProjectID mocks base method.

func (*MockStackStore) ListByProjectIDs

func (m *MockStackStore) ListByProjectIDs(ctx context.Context, projectIDs []string) ([]*models.Stack, *errors.ServiceError)

ListByProjectIDs mocks base method.

func (*MockStackStore) ListByUserID

func (m *MockStackStore) ListByUserID(ctx context.Context, userID string) ([]*models.Stack, *errors.ServiceError)

ListByUserID mocks base method.

func (*MockStackStore) LockByID

func (m *MockStackStore) LockByID(ctx context.Context, id string) *errors.ServiceError

LockByID mocks base method.

func (*MockStackStore) Update

Update mocks base method.

func (*MockStackStore) UpdateConnectionWithTx

func (m *MockStackStore) UpdateConnectionWithTx(ctx context.Context, id, connectionID string, connection *models.StackConnection) (*models.StackConnection, *errors.ServiceError)

UpdateConnectionWithTx mocks base method.

func (*MockStackStore) UpdateConnectionsWithTx

func (m *MockStackStore) UpdateConnectionsWithTx(ctx context.Context, id string, connections models.StackConnections) *errors.ServiceError

UpdateConnectionsWithTx mocks base method.

func (*MockStackStore) UpdateForDelete

func (m *MockStackStore) UpdateForDelete(ctx context.Context, id string, spec *models.Stack) (*models.Stack, *errors.ServiceError)

UpdateForDelete mocks base method.

func (*MockStackStore) UpdateRevision

func (m *MockStackStore) UpdateRevision(ctx context.Context, id, revision string) *errors.ServiceError

UpdateRevision mocks base method.

func (*MockStackStore) UpdateShellWithTx

func (m *MockStackStore) UpdateShellWithTx(ctx context.Context, id string, spec *models.Stack) (*models.Stack, *errors.ServiceError)

UpdateShellWithTx mocks base method.

func (*MockStackStore) UpdateStatus

func (m *MockStackStore) UpdateStatus(ctx context.Context, id string, status *models.StackStatus) *errors.ServiceError

UpdateStatus mocks base method.

func (*MockStackStore) UpdateWithTx

func (m *MockStackStore) UpdateWithTx(ctx context.Context, id string, spec *models.Stack) (*models.Stack, *errors.ServiceError)

UpdateWithTx mocks base method.

func (*MockStackStore) WithTransaction

func (m *MockStackStore) WithTransaction(ctx context.Context, fn func(context.Context) *errors.ServiceError) *errors.ServiceError

WithTransaction mocks base method.

type MockStackStoreMockRecorder

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

MockStackStoreMockRecorder is the mock recorder for MockStackStore.

func (*MockStackStoreMockRecorder) Create

func (mr *MockStackStoreMockRecorder) Create(ctx, spec any) *gomock.Call

Create indicates an expected call of Create.

func (*MockStackStoreMockRecorder) CreateConnectionWithTx

func (mr *MockStackStoreMockRecorder) CreateConnectionWithTx(ctx, id, connection any) *gomock.Call

CreateConnectionWithTx indicates an expected call of CreateConnectionWithTx.

func (*MockStackStoreMockRecorder) CreateWithTx

func (mr *MockStackStoreMockRecorder) CreateWithTx(ctx, spec any) *gomock.Call

CreateWithTx indicates an expected call of CreateWithTx.

func (*MockStackStoreMockRecorder) Delete

func (mr *MockStackStoreMockRecorder) Delete(ctx, id any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockStackStoreMockRecorder) DeleteConnectionWithTx

func (mr *MockStackStoreMockRecorder) DeleteConnectionWithTx(ctx, id, connectionID any) *gomock.Call

DeleteConnectionWithTx indicates an expected call of DeleteConnectionWithTx.

func (*MockStackStoreMockRecorder) DeleteWithTx

func (mr *MockStackStoreMockRecorder) DeleteWithTx(ctx, id any) *gomock.Call

DeleteWithTx indicates an expected call of DeleteWithTx.

func (*MockStackStoreMockRecorder) GetByID

func (mr *MockStackStoreMockRecorder) GetByID(ctx, id any) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockStackStoreMockRecorder) GetByNameAndProjectID

func (mr *MockStackStoreMockRecorder) GetByNameAndProjectID(ctx, name, projectID any) *gomock.Call

GetByNameAndProjectID indicates an expected call of GetByNameAndProjectID.

func (*MockStackStoreMockRecorder) InternalList

func (mr *MockStackStoreMockRecorder) InternalList(ctx, query any, args ...any) *gomock.Call

InternalList indicates an expected call of InternalList.

func (*MockStackStoreMockRecorder) ListByOrganisationID

func (mr *MockStackStoreMockRecorder) ListByOrganisationID(ctx, organisationID any) *gomock.Call

ListByOrganisationID indicates an expected call of ListByOrganisationID.

func (*MockStackStoreMockRecorder) ListByProjectID

func (mr *MockStackStoreMockRecorder) ListByProjectID(ctx, projectID any) *gomock.Call

ListByProjectID indicates an expected call of ListByProjectID.

func (*MockStackStoreMockRecorder) ListByProjectIDs

func (mr *MockStackStoreMockRecorder) ListByProjectIDs(ctx, projectIDs any) *gomock.Call

ListByProjectIDs indicates an expected call of ListByProjectIDs.

func (*MockStackStoreMockRecorder) ListByUserID

func (mr *MockStackStoreMockRecorder) ListByUserID(ctx, userID any) *gomock.Call

ListByUserID indicates an expected call of ListByUserID.

func (*MockStackStoreMockRecorder) LockByID

func (mr *MockStackStoreMockRecorder) LockByID(ctx, id any) *gomock.Call

LockByID indicates an expected call of LockByID.

func (*MockStackStoreMockRecorder) Update

func (mr *MockStackStoreMockRecorder) Update(ctx, id, spec any) *gomock.Call

Update indicates an expected call of Update.

func (*MockStackStoreMockRecorder) UpdateConnectionWithTx

func (mr *MockStackStoreMockRecorder) UpdateConnectionWithTx(ctx, id, connectionID, connection any) *gomock.Call

UpdateConnectionWithTx indicates an expected call of UpdateConnectionWithTx.

func (*MockStackStoreMockRecorder) UpdateConnectionsWithTx

func (mr *MockStackStoreMockRecorder) UpdateConnectionsWithTx(ctx, id, connections any) *gomock.Call

UpdateConnectionsWithTx indicates an expected call of UpdateConnectionsWithTx.

func (*MockStackStoreMockRecorder) UpdateForDelete

func (mr *MockStackStoreMockRecorder) UpdateForDelete(ctx, id, spec any) *gomock.Call

UpdateForDelete indicates an expected call of UpdateForDelete.

func (*MockStackStoreMockRecorder) UpdateRevision

func (mr *MockStackStoreMockRecorder) UpdateRevision(ctx, id, revision any) *gomock.Call

UpdateRevision indicates an expected call of UpdateRevision.

func (*MockStackStoreMockRecorder) UpdateShellWithTx

func (mr *MockStackStoreMockRecorder) UpdateShellWithTx(ctx, id, spec any) *gomock.Call

UpdateShellWithTx indicates an expected call of UpdateShellWithTx.

func (*MockStackStoreMockRecorder) UpdateStatus

func (mr *MockStackStoreMockRecorder) UpdateStatus(ctx, id, status any) *gomock.Call

UpdateStatus indicates an expected call of UpdateStatus.

func (*MockStackStoreMockRecorder) UpdateWithTx

func (mr *MockStackStoreMockRecorder) UpdateWithTx(ctx, id, spec any) *gomock.Call

UpdateWithTx indicates an expected call of UpdateWithTx.

func (*MockStackStoreMockRecorder) WithTransaction

func (mr *MockStackStoreMockRecorder) WithTransaction(ctx, fn any) *gomock.Call

WithTransaction indicates an expected call of WithTransaction.

type MockStackValidator

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

MockStackValidator is a mock of StackValidator interface.

func NewMockStackValidator

func NewMockStackValidator(ctrl *gomock.Controller) *MockStackValidator

NewMockStackValidator creates a new mock instance.

func (*MockStackValidator) EXPECT

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

func (*MockStackValidator) ValidateConnections

func (m *MockStackValidator) ValidateConnections(ctx context.Context, spec *models.Stack) *errors.ServiceError

ValidateConnections mocks base method.

func (*MockStackValidator) ValidateForCreate

func (m *MockStackValidator) ValidateForCreate(ctx context.Context, spec *models.Stack) *errors.ServiceError

ValidateForCreate mocks base method.

func (*MockStackValidator) ValidateForUpdate

func (m *MockStackValidator) ValidateForUpdate(ctx context.Context, existing, spec *models.Stack) *errors.ServiceError

ValidateForUpdate mocks base method.

func (*MockStackValidator) ValidateShell

func (m *MockStackValidator) ValidateShell(ctx context.Context, spec *models.Stack) *errors.ServiceError

ValidateShell mocks base method.

type MockStackValidatorMockRecorder

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

MockStackValidatorMockRecorder is the mock recorder for MockStackValidator.

func (*MockStackValidatorMockRecorder) ValidateConnections

func (mr *MockStackValidatorMockRecorder) ValidateConnections(ctx, spec any) *gomock.Call

ValidateConnections indicates an expected call of ValidateConnections.

func (*MockStackValidatorMockRecorder) ValidateForCreate

func (mr *MockStackValidatorMockRecorder) ValidateForCreate(ctx, spec any) *gomock.Call

ValidateForCreate indicates an expected call of ValidateForCreate.

func (*MockStackValidatorMockRecorder) ValidateForUpdate

func (mr *MockStackValidatorMockRecorder) ValidateForUpdate(ctx, existing, spec any) *gomock.Call

ValidateForUpdate indicates an expected call of ValidateForUpdate.

func (*MockStackValidatorMockRecorder) ValidateShell

func (mr *MockStackValidatorMockRecorder) ValidateShell(ctx, spec any) *gomock.Call

ValidateShell indicates an expected call of ValidateShell.

type MockStackVolumeStore

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

MockStackVolumeStore is a mock of StackVolumeStore interface.

func NewMockStackVolumeStore

func NewMockStackVolumeStore(ctrl *gomock.Controller) *MockStackVolumeStore

NewMockStackVolumeStore creates a new mock instance.

func (*MockStackVolumeStore) Create

Create mocks base method.

func (*MockStackVolumeStore) CreateWithTx

CreateWithTx mocks base method.

func (*MockStackVolumeStore) Delete

func (m *MockStackVolumeStore) Delete(ctx context.Context, stackID, volumeID string) *errors.ServiceError

Delete mocks base method.

func (*MockStackVolumeStore) DeleteWithTx

func (m *MockStackVolumeStore) DeleteWithTx(ctx context.Context, stackID, volumeID string) *errors.ServiceError

DeleteWithTx mocks base method.

func (*MockStackVolumeStore) EXPECT

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

func (*MockStackVolumeStore) GetByVolumeID

func (m *MockStackVolumeStore) GetByVolumeID(ctx context.Context, volumeID string) (*models.StackVolume, *errors.ServiceError)

GetByVolumeID mocks base method.

func (*MockStackVolumeStore) ListVolumesByStackID

func (m *MockStackVolumeStore) ListVolumesByStackID(ctx context.Context, stackID string) ([]*models.Volume, *errors.ServiceError)

ListVolumesByStackID mocks base method.

type MockStackVolumeStoreMockRecorder

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

MockStackVolumeStoreMockRecorder is the mock recorder for MockStackVolumeStore.

func (*MockStackVolumeStoreMockRecorder) Create

func (mr *MockStackVolumeStoreMockRecorder) Create(ctx, sv any) *gomock.Call

Create indicates an expected call of Create.

func (*MockStackVolumeStoreMockRecorder) CreateWithTx

func (mr *MockStackVolumeStoreMockRecorder) CreateWithTx(ctx, sv any) *gomock.Call

CreateWithTx indicates an expected call of CreateWithTx.

func (*MockStackVolumeStoreMockRecorder) Delete

func (mr *MockStackVolumeStoreMockRecorder) Delete(ctx, stackID, volumeID any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockStackVolumeStoreMockRecorder) DeleteWithTx

func (mr *MockStackVolumeStoreMockRecorder) DeleteWithTx(ctx, stackID, volumeID any) *gomock.Call

DeleteWithTx indicates an expected call of DeleteWithTx.

func (*MockStackVolumeStoreMockRecorder) GetByVolumeID

func (mr *MockStackVolumeStoreMockRecorder) GetByVolumeID(ctx, volumeID any) *gomock.Call

GetByVolumeID indicates an expected call of GetByVolumeID.

func (*MockStackVolumeStoreMockRecorder) ListVolumesByStackID

func (mr *MockStackVolumeStoreMockRecorder) ListVolumesByStackID(ctx, stackID any) *gomock.Call

ListVolumesByStackID indicates an expected call of ListVolumesByStackID.

type MockUserService

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

MockUserService is a mock of UserService interface.

func NewMockUserService

func NewMockUserService(ctrl *gomock.Controller) *MockUserService

NewMockUserService creates a new mock instance.

func (*MockUserService) EXPECT

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

func (*MockUserService) Get

Get mocks base method.

func (*MockUserService) GetUserFromContext

GetUserFromContext mocks base method.

func (*MockUserService) InternalCreate

func (m *MockUserService) InternalCreate(ctx context.Context, user *models.User) (*models.User, *errors.ServiceError)

InternalCreate mocks base method.

func (*MockUserService) InternalCreateInvitedOAuthUser

func (m *MockUserService) InternalCreateInvitedOAuthUser(ctx context.Context, email, name, githubID, avatarURL string, invite *models.OrgInvite) (*models.User, error)

InternalCreateInvitedOAuthUser mocks base method.

func (*MockUserService) InternalCreateInvitedUser

func (m *MockUserService) InternalCreateInvitedUser(ctx context.Context, user *models.User, invite *models.OrgInvite) (*models.User, *errors.ServiceError)

InternalCreateInvitedUser mocks base method.

func (*MockUserService) InternalCreateOAuthUser

func (m *MockUserService) InternalCreateOAuthUser(ctx context.Context, email, name, githubID, avatarURL string) (*models.User, error)

InternalCreateOAuthUser mocks base method.

func (*MockUserService) InternalGet

func (m *MockUserService) InternalGet(ctx context.Context, ID string) (*models.User, *errors.ServiceError)

InternalGet mocks base method.

func (*MockUserService) InternalGetByEmail

func (m *MockUserService) InternalGetByEmail(ctx context.Context, email string) (*models.User, *errors.ServiceError)

InternalGetByEmail mocks base method.

func (*MockUserService) ListByOrgID

ListByOrgID mocks base method.

func (*MockUserService) Login

Login mocks base method.

type MockUserServiceMockRecorder

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

MockUserServiceMockRecorder is the mock recorder for MockUserService.

func (*MockUserServiceMockRecorder) Get

func (mr *MockUserServiceMockRecorder) Get(ctx, ID any) *gomock.Call

Get indicates an expected call of Get.

func (*MockUserServiceMockRecorder) GetUserFromContext

func (mr *MockUserServiceMockRecorder) GetUserFromContext(ctx any) *gomock.Call

GetUserFromContext indicates an expected call of GetUserFromContext.

func (*MockUserServiceMockRecorder) InternalCreate

func (mr *MockUserServiceMockRecorder) InternalCreate(ctx, user any) *gomock.Call

InternalCreate indicates an expected call of InternalCreate.

func (*MockUserServiceMockRecorder) InternalCreateInvitedOAuthUser

func (mr *MockUserServiceMockRecorder) InternalCreateInvitedOAuthUser(ctx, email, name, githubID, avatarURL, invite any) *gomock.Call

InternalCreateInvitedOAuthUser indicates an expected call of InternalCreateInvitedOAuthUser.

func (*MockUserServiceMockRecorder) InternalCreateInvitedUser

func (mr *MockUserServiceMockRecorder) InternalCreateInvitedUser(ctx, user, invite any) *gomock.Call

InternalCreateInvitedUser indicates an expected call of InternalCreateInvitedUser.

func (*MockUserServiceMockRecorder) InternalCreateOAuthUser

func (mr *MockUserServiceMockRecorder) InternalCreateOAuthUser(ctx, email, name, githubID, avatarURL any) *gomock.Call

InternalCreateOAuthUser indicates an expected call of InternalCreateOAuthUser.

func (*MockUserServiceMockRecorder) InternalGet

func (mr *MockUserServiceMockRecorder) InternalGet(ctx, ID any) *gomock.Call

InternalGet indicates an expected call of InternalGet.

func (*MockUserServiceMockRecorder) InternalGetByEmail

func (mr *MockUserServiceMockRecorder) InternalGetByEmail(ctx, email any) *gomock.Call

InternalGetByEmail indicates an expected call of InternalGetByEmail.

func (*MockUserServiceMockRecorder) ListByOrgID

func (mr *MockUserServiceMockRecorder) ListByOrgID(ctx, orgID, params any) *gomock.Call

ListByOrgID indicates an expected call of ListByOrgID.

func (*MockUserServiceMockRecorder) Login

func (mr *MockUserServiceMockRecorder) Login(ctx, loginRequest any) *gomock.Call

Login indicates an expected call of Login.

type MockUserStore

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

MockUserStore is a mock of UserStore interface.

func NewMockUserStore

func NewMockUserStore(ctrl *gomock.Controller) *MockUserStore

NewMockUserStore creates a new mock instance.

func (*MockUserStore) Create

func (m *MockUserStore) Create(ctx context.Context, user *models.User) (*models.User, *errors.ServiceError)

Create mocks base method.

func (*MockUserStore) EXPECT

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

func (*MockUserStore) GetByEmail

func (m *MockUserStore) GetByEmail(ctx context.Context, email string) (*models.User, *errors.ServiceError)

GetByEmail mocks base method.

func (*MockUserStore) GetByID

func (m *MockUserStore) GetByID(ctx context.Context, id string) (*models.User, *errors.ServiceError)

GetByID mocks base method.

func (*MockUserStore) ListByOrgAndRole

func (m *MockUserStore) ListByOrgAndRole(ctx context.Context, orgID string, role models.UserRole) ([]*models.User, *errors.ServiceError)

ListByOrgAndRole mocks base method.

func (*MockUserStore) ListByOrgID

ListByOrgID mocks base method.

func (*MockUserStore) Update

func (m *MockUserStore) Update(ctx context.Context, id string, user *models.User) (*models.User, *errors.ServiceError)

Update mocks base method.

type MockUserStoreMockRecorder

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

MockUserStoreMockRecorder is the mock recorder for MockUserStore.

func (*MockUserStoreMockRecorder) Create

func (mr *MockUserStoreMockRecorder) Create(ctx, user any) *gomock.Call

Create indicates an expected call of Create.

func (*MockUserStoreMockRecorder) GetByEmail

func (mr *MockUserStoreMockRecorder) GetByEmail(ctx, email any) *gomock.Call

GetByEmail indicates an expected call of GetByEmail.

func (*MockUserStoreMockRecorder) GetByID

func (mr *MockUserStoreMockRecorder) GetByID(ctx, id any) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockUserStoreMockRecorder) ListByOrgAndRole

func (mr *MockUserStoreMockRecorder) ListByOrgAndRole(ctx, orgID, role any) *gomock.Call

ListByOrgAndRole indicates an expected call of ListByOrgAndRole.

func (*MockUserStoreMockRecorder) ListByOrgID

func (mr *MockUserStoreMockRecorder) ListByOrgID(ctx, orgID, params any) *gomock.Call

ListByOrgID indicates an expected call of ListByOrgID.

func (*MockUserStoreMockRecorder) Update

func (mr *MockUserStoreMockRecorder) Update(ctx, id, user any) *gomock.Call

Update indicates an expected call of Update.

type MockValidator

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

MockValidator is a mock of Validator interface.

func NewMockValidator

func NewMockValidator(ctrl *gomock.Controller) *MockValidator

NewMockValidator creates a new mock instance.

func (*MockValidator) EXPECT

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

func (*MockValidator) Validate

func (m *MockValidator) Validate(ctx context.Context, stack *models.Stack, resource *models.StackResource, siblings []*models.StackResource) ([]errors.FieldError, *errors.ServiceError)

Validate mocks base method.

type MockValidatorMockRecorder

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

MockValidatorMockRecorder is the mock recorder for MockValidator.

func (*MockValidatorMockRecorder) Validate

func (mr *MockValidatorMockRecorder) Validate(ctx, stack, resource, siblings any) *gomock.Call

Validate indicates an expected call of Validate.

type MockVolumeClusterResourceService

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

MockVolumeClusterResourceService is a mock of VolumeClusterResourceService interface.

func NewMockVolumeClusterResourceService

func NewMockVolumeClusterResourceService(ctrl *gomock.Controller) *MockVolumeClusterResourceService

NewMockVolumeClusterResourceService creates a new mock instance.

func (*MockVolumeClusterResourceService) CreateVolumeInCluster

CreateVolumeInCluster mocks base method.

func (*MockVolumeClusterResourceService) DeleteVolumeInCluster

DeleteVolumeInCluster mocks base method.

func (*MockVolumeClusterResourceService) EXPECT

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

func (*MockVolumeClusterResourceService) UpdateVolumeGitRevisionInCluster

func (m *MockVolumeClusterResourceService) UpdateVolumeGitRevisionInCluster(ctx context.Context, volume *models.Volume) *clusterresource.ClusterResourceError

UpdateVolumeGitRevisionInCluster mocks base method.

func (*MockVolumeClusterResourceService) UpdateVolumeRemoteDirRevisionInCluster

func (m *MockVolumeClusterResourceService) UpdateVolumeRemoteDirRevisionInCluster(ctx context.Context, volume *models.Volume) *clusterresource.ClusterResourceError

UpdateVolumeRemoteDirRevisionInCluster mocks base method.

type MockVolumeClusterResourceServiceMockRecorder

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

MockVolumeClusterResourceServiceMockRecorder is the mock recorder for MockVolumeClusterResourceService.

func (*MockVolumeClusterResourceServiceMockRecorder) CreateVolumeInCluster

func (mr *MockVolumeClusterResourceServiceMockRecorder) CreateVolumeInCluster(ctx, volume any) *gomock.Call

CreateVolumeInCluster indicates an expected call of CreateVolumeInCluster.

func (*MockVolumeClusterResourceServiceMockRecorder) DeleteVolumeInCluster

func (mr *MockVolumeClusterResourceServiceMockRecorder) DeleteVolumeInCluster(ctx, volume any) *gomock.Call

DeleteVolumeInCluster indicates an expected call of DeleteVolumeInCluster.

func (*MockVolumeClusterResourceServiceMockRecorder) UpdateVolumeGitRevisionInCluster

func (mr *MockVolumeClusterResourceServiceMockRecorder) UpdateVolumeGitRevisionInCluster(ctx, volume any) *gomock.Call

UpdateVolumeGitRevisionInCluster indicates an expected call of UpdateVolumeGitRevisionInCluster.

func (*MockVolumeClusterResourceServiceMockRecorder) UpdateVolumeRemoteDirRevisionInCluster

func (mr *MockVolumeClusterResourceServiceMockRecorder) UpdateVolumeRemoteDirRevisionInCluster(ctx, volume any) *gomock.Call

UpdateVolumeRemoteDirRevisionInCluster indicates an expected call of UpdateVolumeRemoteDirRevisionInCluster.

type MockVolumeService

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

MockVolumeService is a mock of VolumeService interface.

func NewMockVolumeService

func NewMockVolumeService(ctrl *gomock.Controller) *MockVolumeService

NewMockVolumeService creates a new mock instance.

func (*MockVolumeService) CreateInCluster

func (m *MockVolumeService) CreateInCluster(ctx context.Context, spec *models.Volume) *errors.ServiceError

CreateInCluster mocks base method.

func (*MockVolumeService) CreateInDbWithTx

func (m *MockVolumeService) CreateInDbWithTx(ctx context.Context, spec *models.Volume) (*models.Volume, *errors.ServiceError)

CreateInDbWithTx mocks base method.

func (*MockVolumeService) CreateWithTx

func (m *MockVolumeService) CreateWithTx(ctx context.Context, spec *models.Volume) (*models.Volume, *errors.ServiceError)

CreateWithTx mocks base method.

func (*MockVolumeService) Delete

Delete mocks base method.

func (*MockVolumeService) DeleteWithTx

func (m *MockVolumeService) DeleteWithTx(ctx context.Context, ID string) *errors.ServiceError

DeleteWithTx mocks base method.

func (*MockVolumeService) EXPECT

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

func (*MockVolumeService) Get

Get mocks base method.

func (*MockVolumeService) GetByVolumeNameAndNamespace

func (m *MockVolumeService) GetByVolumeNameAndNamespace(ctx context.Context, volumeName, namespace string) (*models.Volume, *errors.ServiceError)

GetByVolumeNameAndNamespace mocks base method.

func (*MockVolumeService) InjectClusterResourceService

func (m *MockVolumeService) InjectClusterResourceService(volumeClusterService clusterresource.VolumeClusterResourceService)

InjectClusterResourceService mocks base method.

func (*MockVolumeService) InternalCreateWithTx

func (m *MockVolumeService) InternalCreateWithTx(ctx context.Context, stack *models.Stack, volume *models.Volume) (*models.Volume, *errors.ServiceError)

InternalCreateWithTx mocks base method.

func (*MockVolumeService) InternalDeleteFromDB

func (m *MockVolumeService) InternalDeleteFromDB(ctx context.Context, ID string) *errors.ServiceError

InternalDeleteFromDB mocks base method.

func (*MockVolumeService) InternalDeleteVolumesUsedByStackFromDB

func (m *MockVolumeService) InternalDeleteVolumesUsedByStackFromDB(ctx context.Context, stackID string) *errors.ServiceError

InternalDeleteVolumesUsedByStackFromDB mocks base method.

func (*MockVolumeService) InternalGet

func (m *MockVolumeService) InternalGet(ctx context.Context, ID string) (*models.Volume, *errors.ServiceError)

InternalGet mocks base method.

func (*MockVolumeService) InternalList

func (m *MockVolumeService) InternalList(ctx context.Context, ids []string) ([]*models.Volume, *errors.ServiceError)

InternalList mocks base method.

func (*MockVolumeService) InternalListNotReady

func (m *MockVolumeService) InternalListNotReady(ctx context.Context) ([]*models.Volume, *errors.ServiceError)

InternalListNotReady mocks base method.

func (*MockVolumeService) InternalSyncVolumesWithTx

func (m *MockVolumeService) InternalSyncVolumesWithTx(ctx context.Context, stack, existingStack *models.Stack, desired []*models.Volume) *errors.ServiceError

InternalSyncVolumesWithTx mocks base method.

func (*MockVolumeService) ListByUserID

func (m *MockVolumeService) ListByUserID(ctx context.Context, projectID, userID string) ([]*models.Volume, *errors.ServiceError)

ListByUserID mocks base method.

func (*MockVolumeService) ListVolumesUsedByStack

func (m *MockVolumeService) ListVolumesUsedByStack(ctx context.Context, stackID string) ([]*models.Volume, *errors.ServiceError)

ListVolumesUsedByStack mocks base method.

func (*MockVolumeService) UpdateGitRepoSourceRevision

func (m *MockVolumeService) UpdateGitRepoSourceRevision(ctx context.Context, ID string, revision models.GitRepoRevision) (*models.Volume, *errors.ServiceError)

UpdateGitRepoSourceRevision mocks base method.

func (*MockVolumeService) UpdateRemoteSourceRevision

func (m *MockVolumeService) UpdateRemoteSourceRevision(ctx context.Context, ID string, revision models.RemoteDirSource) (*models.Volume, *errors.ServiceError)

UpdateRemoteSourceRevision mocks base method.

func (*MockVolumeService) UpdateStatus

func (m *MockVolumeService) UpdateStatus(ctx context.Context, ID string, status *models.VolumeStatus) *errors.ServiceError

UpdateStatus mocks base method.

type MockVolumeServiceMockRecorder

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

MockVolumeServiceMockRecorder is the mock recorder for MockVolumeService.

func (*MockVolumeServiceMockRecorder) CreateInCluster

func (mr *MockVolumeServiceMockRecorder) CreateInCluster(ctx, spec any) *gomock.Call

CreateInCluster indicates an expected call of CreateInCluster.

func (*MockVolumeServiceMockRecorder) CreateInDbWithTx

func (mr *MockVolumeServiceMockRecorder) CreateInDbWithTx(ctx, spec any) *gomock.Call

CreateInDbWithTx indicates an expected call of CreateInDbWithTx.

func (*MockVolumeServiceMockRecorder) CreateWithTx

func (mr *MockVolumeServiceMockRecorder) CreateWithTx(ctx, spec any) *gomock.Call

CreateWithTx indicates an expected call of CreateWithTx.

func (*MockVolumeServiceMockRecorder) Delete

func (mr *MockVolumeServiceMockRecorder) Delete(ctx, ID any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockVolumeServiceMockRecorder) DeleteWithTx

func (mr *MockVolumeServiceMockRecorder) DeleteWithTx(ctx, ID any) *gomock.Call

DeleteWithTx indicates an expected call of DeleteWithTx.

func (*MockVolumeServiceMockRecorder) Get

func (mr *MockVolumeServiceMockRecorder) Get(ctx, ID any) *gomock.Call

Get indicates an expected call of Get.

func (*MockVolumeServiceMockRecorder) GetByVolumeNameAndNamespace

func (mr *MockVolumeServiceMockRecorder) GetByVolumeNameAndNamespace(ctx, volumeName, namespace any) *gomock.Call

GetByVolumeNameAndNamespace indicates an expected call of GetByVolumeNameAndNamespace.

func (*MockVolumeServiceMockRecorder) InjectClusterResourceService

func (mr *MockVolumeServiceMockRecorder) InjectClusterResourceService(volumeClusterService any) *gomock.Call

InjectClusterResourceService indicates an expected call of InjectClusterResourceService.

func (*MockVolumeServiceMockRecorder) InternalCreateWithTx

func (mr *MockVolumeServiceMockRecorder) InternalCreateWithTx(ctx, stack, volume any) *gomock.Call

InternalCreateWithTx indicates an expected call of InternalCreateWithTx.

func (*MockVolumeServiceMockRecorder) InternalDeleteFromDB

func (mr *MockVolumeServiceMockRecorder) InternalDeleteFromDB(ctx, ID any) *gomock.Call

InternalDeleteFromDB indicates an expected call of InternalDeleteFromDB.

func (*MockVolumeServiceMockRecorder) InternalDeleteVolumesUsedByStackFromDB

func (mr *MockVolumeServiceMockRecorder) InternalDeleteVolumesUsedByStackFromDB(ctx, stackID any) *gomock.Call

InternalDeleteVolumesUsedByStackFromDB indicates an expected call of InternalDeleteVolumesUsedByStackFromDB.

func (*MockVolumeServiceMockRecorder) InternalGet

func (mr *MockVolumeServiceMockRecorder) InternalGet(ctx, ID any) *gomock.Call

InternalGet indicates an expected call of InternalGet.

func (*MockVolumeServiceMockRecorder) InternalList

func (mr *MockVolumeServiceMockRecorder) InternalList(ctx, ids any) *gomock.Call

InternalList indicates an expected call of InternalList.

func (*MockVolumeServiceMockRecorder) InternalListNotReady

func (mr *MockVolumeServiceMockRecorder) InternalListNotReady(ctx any) *gomock.Call

InternalListNotReady indicates an expected call of InternalListNotReady.

func (*MockVolumeServiceMockRecorder) InternalSyncVolumesWithTx

func (mr *MockVolumeServiceMockRecorder) InternalSyncVolumesWithTx(ctx, stack, existingStack, desired any) *gomock.Call

InternalSyncVolumesWithTx indicates an expected call of InternalSyncVolumesWithTx.

func (*MockVolumeServiceMockRecorder) ListByUserID

func (mr *MockVolumeServiceMockRecorder) ListByUserID(ctx, projectID, userID any) *gomock.Call

ListByUserID indicates an expected call of ListByUserID.

func (*MockVolumeServiceMockRecorder) ListVolumesUsedByStack

func (mr *MockVolumeServiceMockRecorder) ListVolumesUsedByStack(ctx, stackID any) *gomock.Call

ListVolumesUsedByStack indicates an expected call of ListVolumesUsedByStack.

func (*MockVolumeServiceMockRecorder) UpdateGitRepoSourceRevision

func (mr *MockVolumeServiceMockRecorder) UpdateGitRepoSourceRevision(ctx, ID, revision any) *gomock.Call

UpdateGitRepoSourceRevision indicates an expected call of UpdateGitRepoSourceRevision.

func (*MockVolumeServiceMockRecorder) UpdateRemoteSourceRevision

func (mr *MockVolumeServiceMockRecorder) UpdateRemoteSourceRevision(ctx, ID, revision any) *gomock.Call

UpdateRemoteSourceRevision indicates an expected call of UpdateRemoteSourceRevision.

func (*MockVolumeServiceMockRecorder) UpdateStatus

func (mr *MockVolumeServiceMockRecorder) UpdateStatus(ctx, ID, status any) *gomock.Call

UpdateStatus indicates an expected call of UpdateStatus.

type MockVolumeStore

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

MockVolumeStore is a mock of VolumeStore interface.

func NewMockVolumeStore

func NewMockVolumeStore(ctrl *gomock.Controller) *MockVolumeStore

NewMockVolumeStore creates a new mock instance.

func (*MockVolumeStore) Create

Create mocks base method.

func (*MockVolumeStore) CreateWithTx

func (m *MockVolumeStore) CreateWithTx(ctx context.Context, spec *models.Volume) (*models.Volume, *errors.ServiceError)

CreateWithTx mocks base method.

func (*MockVolumeStore) Delete

Delete mocks base method.

func (*MockVolumeStore) DeleteWithTx

func (m *MockVolumeStore) DeleteWithTx(ctx context.Context, id string) *errors.ServiceError

DeleteWithTx mocks base method.

func (*MockVolumeStore) EXPECT

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

func (*MockVolumeStore) GetByID

GetByID mocks base method.

func (*MockVolumeStore) GetByUserID

func (m *MockVolumeStore) GetByUserID(ctx context.Context, id string) ([]*models.Volume, *errors.ServiceError)

GetByUserID mocks base method.

func (*MockVolumeStore) GetByVolumeNameAndNamespace

func (m *MockVolumeStore) GetByVolumeNameAndNamespace(ctx context.Context, volumeName, namespace string) (*models.Volume, *errors.ServiceError)

GetByVolumeNameAndNamespace mocks base method.

func (*MockVolumeStore) InternalList

func (m *MockVolumeStore) InternalList(ctx context.Context, ids []string) ([]*models.Volume, *errors.ServiceError)

InternalList mocks base method.

func (*MockVolumeStore) InternalListNotReady

func (m *MockVolumeStore) InternalListNotReady(ctx context.Context) ([]*models.Volume, *errors.ServiceError)

InternalListNotReady mocks base method.

func (*MockVolumeStore) ListByProjectID

func (m *MockVolumeStore) ListByProjectID(ctx context.Context, projectID string) ([]*models.Volume, *errors.ServiceError)

ListByProjectID mocks base method.

func (*MockVolumeStore) UpdateGitRepoSourceRevision

func (m *MockVolumeStore) UpdateGitRepoSourceRevision(ctx context.Context, id string, revision models.GitRepoRevision) (*models.Volume, *errors.ServiceError)

UpdateGitRepoSourceRevision mocks base method.

func (*MockVolumeStore) UpdateGitRepoSourceRevisionWithTx

func (m *MockVolumeStore) UpdateGitRepoSourceRevisionWithTx(ctx context.Context, id string, revision models.GitRepoRevision) (*models.Volume, *errors.ServiceError)

UpdateGitRepoSourceRevisionWithTx mocks base method.

func (*MockVolumeStore) UpdateRemoteDirSourceHash

func (m *MockVolumeStore) UpdateRemoteDirSourceHash(ctx context.Context, id, remoteDirHash string) (*models.Volume, *errors.ServiceError)

UpdateRemoteDirSourceHash mocks base method.

func (*MockVolumeStore) UpdateRemoteDirSourceHashWithTx

func (m *MockVolumeStore) UpdateRemoteDirSourceHashWithTx(ctx context.Context, id, remoteDirHash string) (*models.Volume, *errors.ServiceError)

UpdateRemoteDirSourceHashWithTx mocks base method.

func (*MockVolumeStore) UpdateStatus

func (m *MockVolumeStore) UpdateStatus(ctx context.Context, id string, status *models.VolumeStatus) *errors.ServiceError

UpdateStatus mocks base method.

func (*MockVolumeStore) WithTransaction

func (m *MockVolumeStore) WithTransaction(ctx context.Context, fn func(context.Context) *errors.ServiceError) *errors.ServiceError

WithTransaction mocks base method.

type MockVolumeStoreMockRecorder

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

MockVolumeStoreMockRecorder is the mock recorder for MockVolumeStore.

func (*MockVolumeStoreMockRecorder) Create

func (mr *MockVolumeStoreMockRecorder) Create(ctx, spec any) *gomock.Call

Create indicates an expected call of Create.

func (*MockVolumeStoreMockRecorder) CreateWithTx

func (mr *MockVolumeStoreMockRecorder) CreateWithTx(ctx, spec any) *gomock.Call

CreateWithTx indicates an expected call of CreateWithTx.

func (*MockVolumeStoreMockRecorder) Delete

func (mr *MockVolumeStoreMockRecorder) Delete(ctx, id any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockVolumeStoreMockRecorder) DeleteWithTx

func (mr *MockVolumeStoreMockRecorder) DeleteWithTx(ctx, id any) *gomock.Call

DeleteWithTx indicates an expected call of DeleteWithTx.

func (*MockVolumeStoreMockRecorder) GetByID

func (mr *MockVolumeStoreMockRecorder) GetByID(ctx, id any) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockVolumeStoreMockRecorder) GetByUserID

func (mr *MockVolumeStoreMockRecorder) GetByUserID(ctx, id any) *gomock.Call

GetByUserID indicates an expected call of GetByUserID.

func (*MockVolumeStoreMockRecorder) GetByVolumeNameAndNamespace

func (mr *MockVolumeStoreMockRecorder) GetByVolumeNameAndNamespace(ctx, volumeName, namespace any) *gomock.Call

GetByVolumeNameAndNamespace indicates an expected call of GetByVolumeNameAndNamespace.

func (*MockVolumeStoreMockRecorder) InternalList

func (mr *MockVolumeStoreMockRecorder) InternalList(ctx, ids any) *gomock.Call

InternalList indicates an expected call of InternalList.

func (*MockVolumeStoreMockRecorder) InternalListNotReady

func (mr *MockVolumeStoreMockRecorder) InternalListNotReady(ctx any) *gomock.Call

InternalListNotReady indicates an expected call of InternalListNotReady.

func (*MockVolumeStoreMockRecorder) ListByProjectID

func (mr *MockVolumeStoreMockRecorder) ListByProjectID(ctx, projectID any) *gomock.Call

ListByProjectID indicates an expected call of ListByProjectID.

func (*MockVolumeStoreMockRecorder) UpdateGitRepoSourceRevision

func (mr *MockVolumeStoreMockRecorder) UpdateGitRepoSourceRevision(ctx, id, revision any) *gomock.Call

UpdateGitRepoSourceRevision indicates an expected call of UpdateGitRepoSourceRevision.

func (*MockVolumeStoreMockRecorder) UpdateGitRepoSourceRevisionWithTx

func (mr *MockVolumeStoreMockRecorder) UpdateGitRepoSourceRevisionWithTx(ctx, id, revision any) *gomock.Call

UpdateGitRepoSourceRevisionWithTx indicates an expected call of UpdateGitRepoSourceRevisionWithTx.

func (*MockVolumeStoreMockRecorder) UpdateRemoteDirSourceHash

func (mr *MockVolumeStoreMockRecorder) UpdateRemoteDirSourceHash(ctx, id, remoteDirHash any) *gomock.Call

UpdateRemoteDirSourceHash indicates an expected call of UpdateRemoteDirSourceHash.

func (*MockVolumeStoreMockRecorder) UpdateRemoteDirSourceHashWithTx

func (mr *MockVolumeStoreMockRecorder) UpdateRemoteDirSourceHashWithTx(ctx, id, remoteDirHash any) *gomock.Call

UpdateRemoteDirSourceHashWithTx indicates an expected call of UpdateRemoteDirSourceHashWithTx.

func (*MockVolumeStoreMockRecorder) UpdateStatus

func (mr *MockVolumeStoreMockRecorder) UpdateStatus(ctx, id, status any) *gomock.Call

UpdateStatus indicates an expected call of UpdateStatus.

func (*MockVolumeStoreMockRecorder) WithTransaction

func (mr *MockVolumeStoreMockRecorder) WithTransaction(ctx, fn any) *gomock.Call

WithTransaction indicates an expected call of WithTransaction.

type MockWorkerManager

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

MockWorkerManager is a mock of WorkerManager interface.

func NewMockWorkerManager

func NewMockWorkerManager(ctrl *gomock.Controller) *MockWorkerManager

NewMockWorkerManager creates a new mock instance.

func (*MockWorkerManager) EXPECT

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

func (*MockWorkerManager) Enqueue

func (m *MockWorkerManager) Enqueue(operand any) error

Enqueue mocks base method.

func (*MockWorkerManager) EnqueueAfter

func (m *MockWorkerManager) EnqueueAfter(operand any, after time.Duration) error

EnqueueAfter mocks base method.

func (*MockWorkerManager) EnqueueAfterCommit

func (m *MockWorkerManager) EnqueueAfterCommit(ctx context.Context, operand any) error

EnqueueAfterCommit mocks base method.

func (*MockWorkerManager) Find

func (m *MockWorkerManager) Find(operand any) worker.Worker

Find mocks base method.

func (*MockWorkerManager) RegisterWorker

func (m *MockWorkerManager) RegisterWorker(arg0 worker.Worker, operand any)

RegisterWorker mocks base method.

func (*MockWorkerManager) Start

func (m *MockWorkerManager) Start(ctx context.Context) error

Start mocks base method.

func (*MockWorkerManager) Stop

func (m *MockWorkerManager) Stop(drain bool)

Stop mocks base method.

type MockWorkerManagerMockRecorder

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

MockWorkerManagerMockRecorder is the mock recorder for MockWorkerManager.

func (*MockWorkerManagerMockRecorder) Enqueue

func (mr *MockWorkerManagerMockRecorder) Enqueue(operand any) *gomock.Call

Enqueue indicates an expected call of Enqueue.

func (*MockWorkerManagerMockRecorder) EnqueueAfter

func (mr *MockWorkerManagerMockRecorder) EnqueueAfter(operand, after any) *gomock.Call

EnqueueAfter indicates an expected call of EnqueueAfter.

func (*MockWorkerManagerMockRecorder) EnqueueAfterCommit

func (mr *MockWorkerManagerMockRecorder) EnqueueAfterCommit(ctx, operand any) *gomock.Call

EnqueueAfterCommit indicates an expected call of EnqueueAfterCommit.

func (*MockWorkerManagerMockRecorder) Find

func (mr *MockWorkerManagerMockRecorder) Find(operand any) *gomock.Call

Find indicates an expected call of Find.

func (*MockWorkerManagerMockRecorder) RegisterWorker

func (mr *MockWorkerManagerMockRecorder) RegisterWorker(arg0, operand any) *gomock.Call

RegisterWorker indicates an expected call of RegisterWorker.

func (*MockWorkerManagerMockRecorder) Start

func (mr *MockWorkerManagerMockRecorder) Start(ctx any) *gomock.Call

Start indicates an expected call of Start.

func (*MockWorkerManagerMockRecorder) Stop

func (mr *MockWorkerManagerMockRecorder) Stop(drain any) *gomock.Call

Stop indicates an expected call of Stop.

type MockpostgresAddonService

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

MockpostgresAddonService is a mock of postgresAddonService interface.

func NewMockpostgresAddonService

func NewMockpostgresAddonService(ctrl *gomock.Controller) *MockpostgresAddonService

NewMockpostgresAddonService creates a new mock instance.

func (*MockpostgresAddonService) EXPECT

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

func (*MockpostgresAddonService) GetPostgresAddon

GetPostgresAddon mocks base method.

type MockpostgresAddonServiceMockRecorder

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

MockpostgresAddonServiceMockRecorder is the mock recorder for MockpostgresAddonService.

func (*MockpostgresAddonServiceMockRecorder) GetPostgresAddon

func (mr *MockpostgresAddonServiceMockRecorder) GetPostgresAddon(ctx, id any) *gomock.Call

GetPostgresAddon indicates an expected call of GetPostgresAddon.

type MocksecretService

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

MocksecretService is a mock of secretService interface.

func NewMocksecretService

func NewMocksecretService(ctrl *gomock.Controller) *MocksecretService

NewMocksecretService creates a new mock instance.

func (*MocksecretService) EXPECT

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

func (*MocksecretService) InternalGetByID

func (m *MocksecretService) InternalGetByID(ctx context.Context, ID string) (*models.Secret, *errors.ServiceError)

InternalGetByID mocks base method.

func (*MocksecretService) ValidateSecretExists

func (m *MocksecretService) ValidateSecretExists(ctx context.Context, secretID string) (bool, *errors.ServiceError)

ValidateSecretExists mocks base method.

func (*MocksecretService) ValidateSecretHasKeys

func (m *MocksecretService) ValidateSecretHasKeys(ctx context.Context, secretID string, requiredKeys []string) (bool, []string, *errors.ServiceError)

ValidateSecretHasKeys mocks base method.

type MocksecretServiceMockRecorder

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

MocksecretServiceMockRecorder is the mock recorder for MocksecretService.

func (*MocksecretServiceMockRecorder) InternalGetByID

func (mr *MocksecretServiceMockRecorder) InternalGetByID(ctx, ID any) *gomock.Call

InternalGetByID indicates an expected call of InternalGetByID.

func (*MocksecretServiceMockRecorder) ValidateSecretExists

func (mr *MocksecretServiceMockRecorder) ValidateSecretExists(ctx, secretID any) *gomock.Call

ValidateSecretExists indicates an expected call of ValidateSecretExists.

func (*MocksecretServiceMockRecorder) ValidateSecretHasKeys

func (mr *MocksecretServiceMockRecorder) ValidateSecretHasKeys(ctx, secretID, requiredKeys any) *gomock.Call

ValidateSecretHasKeys indicates an expected call of ValidateSecretHasKeys.

Source Files

Jump to

Keyboard shortcuts

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