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 ¶
- type MockAPITokenStore
- func (m *MockAPITokenStore) Create(ctx context.Context, token *models.APIToken) (*models.APIToken, *errors.ServiceError)
- func (m *MockAPITokenStore) EXPECT() *MockAPITokenStoreMockRecorder
- func (m *MockAPITokenStore) GetByID(ctx context.Context, id string) (*models.APIToken, *errors.ServiceError)
- func (m *MockAPITokenStore) GetByTokenHash(ctx context.Context, hash string) (*models.APIToken, *errors.ServiceError)
- func (m *MockAPITokenStore) ListByUserID(ctx context.Context, userID string) ([]*models.APIToken, *errors.ServiceError)
- func (m *MockAPITokenStore) Revoke(ctx context.Context, id string) *errors.ServiceError
- func (m *MockAPITokenStore) UpdateLastUsed(ctx context.Context, id string) *errors.ServiceError
- type MockAPITokenStoreMockRecorder
- func (mr *MockAPITokenStoreMockRecorder) Create(ctx, token any) *gomock.Call
- func (mr *MockAPITokenStoreMockRecorder) GetByID(ctx, id any) *gomock.Call
- func (mr *MockAPITokenStoreMockRecorder) GetByTokenHash(ctx, hash any) *gomock.Call
- func (mr *MockAPITokenStoreMockRecorder) ListByUserID(ctx, userID any) *gomock.Call
- func (mr *MockAPITokenStoreMockRecorder) Revoke(ctx, id any) *gomock.Call
- func (mr *MockAPITokenStoreMockRecorder) UpdateLastUsed(ctx, id any) *gomock.Call
- type MockAtomicExecutor
- type MockAtomicExecutorMockRecorder
- type MockBackgroundJobEnqueuer
- func (m *MockBackgroundJobEnqueuer) EXPECT() *MockBackgroundJobEnqueuerMockRecorder
- func (m *MockBackgroundJobEnqueuer) Enqueue(operand any) error
- func (m *MockBackgroundJobEnqueuer) EnqueueAfter(operand any, after time.Duration) error
- func (m *MockBackgroundJobEnqueuer) EnqueueAfterCommit(ctx context.Context, operand any) error
- type MockBackgroundJobEnqueuerMockRecorder
- type MockClusterImageRegistryStore
- func (m *MockClusterImageRegistryStore) Create(ctx context.Context, spec *models.ClusterImageRegistry) (*models.ClusterImageRegistry, *errors.ServiceError)
- func (m *MockClusterImageRegistryStore) CreateWithTx(ctx context.Context, spec *models.ClusterImageRegistry) (*models.ClusterImageRegistry, *errors.ServiceError)
- func (m *MockClusterImageRegistryStore) Delete(ctx context.Context, ID string) *errors.ServiceError
- func (m *MockClusterImageRegistryStore) DeleteWithTx(ctx context.Context, ID string) *errors.ServiceError
- func (m *MockClusterImageRegistryStore) EXPECT() *MockClusterImageRegistryStoreMockRecorder
- func (m *MockClusterImageRegistryStore) GetByID(ctx context.Context, ID string) (*models.ClusterImageRegistry, *errors.ServiceError)
- func (m *MockClusterImageRegistryStore) GetForOrgAndCluster(ctx context.Context, orgID, clusterID string) (*models.ClusterImageRegistry, *errors.ServiceError)
- func (m *MockClusterImageRegistryStore) ListByClusterID(ctx context.Context, orgID, clusterID string) ([]*models.ClusterImageRegistry, *errors.ServiceError)
- func (m *MockClusterImageRegistryStore) ListByClusterIDInternal(ctx context.Context, clusterID string) ([]*models.ClusterImageRegistry, *errors.ServiceError)
- func (m *MockClusterImageRegistryStore) ListForOrg(ctx context.Context, orgID string) ([]*models.ClusterImageRegistry, *errors.ServiceError)
- func (m *MockClusterImageRegistryStore) MarkAllDeletingByClusterIDWithTx(ctx context.Context, clusterID string) *errors.ServiceError
- func (m *MockClusterImageRegistryStore) MarkDeletingWithTx(ctx context.Context, ID string) *errors.ServiceError
- func (m *MockClusterImageRegistryStore) UpdateStatus(ctx context.Context, ID string, status *models.ClusterImageRegistryStatus) *errors.ServiceError
- func (m *MockClusterImageRegistryStore) WithTransaction(ctx context.Context, fn func(context.Context) *errors.ServiceError) *errors.ServiceError
- type MockClusterImageRegistryStoreMockRecorder
- func (mr *MockClusterImageRegistryStoreMockRecorder) Create(ctx, spec any) *gomock.Call
- func (mr *MockClusterImageRegistryStoreMockRecorder) CreateWithTx(ctx, spec any) *gomock.Call
- func (mr *MockClusterImageRegistryStoreMockRecorder) Delete(ctx, ID any) *gomock.Call
- func (mr *MockClusterImageRegistryStoreMockRecorder) DeleteWithTx(ctx, ID any) *gomock.Call
- func (mr *MockClusterImageRegistryStoreMockRecorder) GetByID(ctx, ID any) *gomock.Call
- func (mr *MockClusterImageRegistryStoreMockRecorder) GetForOrgAndCluster(ctx, orgID, clusterID any) *gomock.Call
- func (mr *MockClusterImageRegistryStoreMockRecorder) ListByClusterID(ctx, orgID, clusterID any) *gomock.Call
- func (mr *MockClusterImageRegistryStoreMockRecorder) ListByClusterIDInternal(ctx, clusterID any) *gomock.Call
- func (mr *MockClusterImageRegistryStoreMockRecorder) ListForOrg(ctx, orgID any) *gomock.Call
- func (mr *MockClusterImageRegistryStoreMockRecorder) MarkAllDeletingByClusterIDWithTx(ctx, clusterID any) *gomock.Call
- func (mr *MockClusterImageRegistryStoreMockRecorder) MarkDeletingWithTx(ctx, ID any) *gomock.Call
- func (mr *MockClusterImageRegistryStoreMockRecorder) UpdateStatus(ctx, ID, status any) *gomock.Call
- func (mr *MockClusterImageRegistryStoreMockRecorder) WithTransaction(ctx, fn any) *gomock.Call
- type MockClusterManager
- func (m *MockClusterManager) EXPECT() *MockClusterManagerMockRecorder
- func (m *MockClusterManager) GetClient(clusterID string) (client.Client, error)
- func (m *MockClusterManager) GetRestConfig(clusterID string) (*rest.Config, error)
- func (m *MockClusterManager) IsClusterRegistered(clusterID string) bool
- func (m *MockClusterManager) IsRunning() bool
- func (m *MockClusterManager) ReRegisterCluster(cluster *models.Cluster) error
- func (m *MockClusterManager) RegisterCluster(cluster *models.Cluster) error
- func (m *MockClusterManager) Start(ctx context.Context)
- func (m *MockClusterManager) Stop(ctx context.Context) error
- func (m *MockClusterManager) UnregisterCluster(clusterID string) error
- type MockClusterManagerMockRecorder
- func (mr *MockClusterManagerMockRecorder) GetClient(clusterID any) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) GetRestConfig(clusterID any) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) IsClusterRegistered(clusterID any) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) IsRunning() *gomock.Call
- func (mr *MockClusterManagerMockRecorder) ReRegisterCluster(cluster any) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) RegisterCluster(cluster any) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) Start(ctx any) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) Stop(ctx any) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) UnregisterCluster(clusterID any) *gomock.Call
- type MockClusterResourceImageRegistryService
- func (m *MockClusterResourceImageRegistryService) DeleteImageRegistryInCluster(ctx context.Context, registry *models.ClusterImageRegistry) (bool, *clusterresource.ClusterResourceError)
- func (m *MockClusterResourceImageRegistryService) EXPECT() *MockClusterResourceImageRegistryServiceMockRecorder
- func (m *MockClusterResourceImageRegistryService) EnsureImageRegistryInCluster(ctx context.Context, registry *models.ClusterImageRegistry) *clusterresource.ClusterResourceError
- type MockClusterResourceImageRegistryServiceMockRecorder
- type MockClusterService
- func (m *MockClusterService) AddCluster(ctx context.Context, cluster *models.Cluster) (*models.Cluster, *errors.ServiceError)
- func (m *MockClusterService) DefaultStorageClass(ctx context.Context, clusterID string) (string, *errors.ServiceError)
- func (m *MockClusterService) Delete(ctx context.Context, ID string) *errors.ServiceError
- func (m *MockClusterService) EXPECT() *MockClusterServiceMockRecorder
- func (m *MockClusterService) Get(ctx context.Context, ID string) (*models.Cluster, *errors.ServiceError)
- func (m *MockClusterService) GetClusterForOrg(ctx context.Context, orgID string) (*models.Cluster, *errors.ServiceError)
- func (m *MockClusterService) GetOwnedClusterForOrg(ctx context.Context, orgID string) (*models.Cluster, *errors.ServiceError)
- func (m *MockClusterService) InjectBackgroundJobEnqueuer(dep clusterresource.BackgroundJobEnqueuerDep)
- func (m *MockClusterService) InjectClusterManager(clusterManager clustermanager.ClusterManager)
- func (m *MockClusterService) InternalEnsurePlatformWildcardTLS(ctx context.Context, cluster *models.Cluster, cfg *config.PlatformConfig) *errors.ServiceError
- func (m *MockClusterService) InternalGet(ctx context.Context, ID string) (*models.Cluster, *errors.ServiceError)
- func (m *MockClusterService) InternalListAllClusters(ctx context.Context) ([]*models.Cluster, *errors.ServiceError)
- func (m *MockClusterService) InternalUpdateClusterInfo(ctx context.Context, clusterID string, info *models.ClusterInfo) *errors.ServiceError
- func (m *MockClusterService) InternalUpsertSharedComputeCluster(ctx context.Context, spec *models.Cluster) (*models.Cluster, *errors.ServiceError)
- type MockClusterServiceMockRecorder
- func (mr *MockClusterServiceMockRecorder) AddCluster(ctx, cluster any) *gomock.Call
- func (mr *MockClusterServiceMockRecorder) DefaultStorageClass(ctx, clusterID any) *gomock.Call
- func (mr *MockClusterServiceMockRecorder) Delete(ctx, ID any) *gomock.Call
- func (mr *MockClusterServiceMockRecorder) Get(ctx, ID any) *gomock.Call
- func (mr *MockClusterServiceMockRecorder) GetClusterForOrg(ctx, orgID any) *gomock.Call
- func (mr *MockClusterServiceMockRecorder) GetOwnedClusterForOrg(ctx, orgID any) *gomock.Call
- func (mr *MockClusterServiceMockRecorder) InjectBackgroundJobEnqueuer(dep any) *gomock.Call
- func (mr *MockClusterServiceMockRecorder) InjectClusterManager(clusterManager any) *gomock.Call
- func (mr *MockClusterServiceMockRecorder) InternalEnsurePlatformWildcardTLS(ctx, cluster, cfg any) *gomock.Call
- func (mr *MockClusterServiceMockRecorder) InternalGet(ctx, ID any) *gomock.Call
- func (mr *MockClusterServiceMockRecorder) InternalListAllClusters(ctx any) *gomock.Call
- func (mr *MockClusterServiceMockRecorder) InternalUpdateClusterInfo(ctx, clusterID, info any) *gomock.Call
- func (mr *MockClusterServiceMockRecorder) InternalUpsertSharedComputeCluster(ctx, spec any) *gomock.Call
- type MockClusterStore
- func (m *MockClusterStore) Create(ctx context.Context, spec *models.Cluster) (*models.Cluster, *errors.ServiceError)
- func (m *MockClusterStore) CreateWithTx(ctx context.Context, spec *models.Cluster) (*models.Cluster, *errors.ServiceError)
- func (m *MockClusterStore) Delete(ctx context.Context, ID string) *errors.ServiceError
- func (m *MockClusterStore) DeleteWithTx(ctx context.Context, ID string) *errors.ServiceError
- func (m *MockClusterStore) EXPECT() *MockClusterStoreMockRecorder
- func (m *MockClusterStore) FindAnyClusterIDBySharedCompute(ctx context.Context, sharedCompute bool) (string, *errors.ServiceError)
- func (m *MockClusterStore) Get(ctx context.Context, ID string) (*models.Cluster, *errors.ServiceError)
- func (m *MockClusterStore) GetByClusterUrl(ctx context.Context, clusterURL string) (*models.Cluster, *errors.ServiceError)
- func (m *MockClusterStore) ListAll(ctx context.Context) ([]*models.Cluster, *errors.ServiceError)
- func (m *MockClusterStore) ListBYOCClustersForOrg(ctx context.Context, orgID string) ([]*models.Cluster, *errors.ServiceError)
- func (m *MockClusterStore) ListIDsForImageRegistryReconciliation(ctx context.Context) ([]string, *errors.ServiceError)
- func (m *MockClusterStore) ListSharedComputeClusters(ctx context.Context) ([]*models.Cluster, *errors.ServiceError)
- func (m *MockClusterStore) ListSharedComputeClustersForOrg(ctx context.Context, orgID string) ([]*models.Cluster, *errors.ServiceError)
- func (m *MockClusterStore) MarkDeletingWithTx(ctx context.Context, ID string, at time.Time) *errors.ServiceError
- func (m *MockClusterStore) PersistManagerState(ctx context.Context, ID string, running bool) *errors.ServiceError
- func (m *MockClusterStore) UpdateClusterInfo(ctx context.Context, ID string, info *models.ClusterInfo) *errors.ServiceError
- func (m *MockClusterStore) UpdateSharedComputeCluster(ctx context.Context, cluster *models.Cluster) *errors.ServiceError
- func (m *MockClusterStore) WithTransaction(ctx context.Context, fn func(context.Context) *errors.ServiceError) *errors.ServiceError
- type MockClusterStoreMockRecorder
- func (mr *MockClusterStoreMockRecorder) Create(ctx, spec any) *gomock.Call
- func (mr *MockClusterStoreMockRecorder) CreateWithTx(ctx, spec any) *gomock.Call
- func (mr *MockClusterStoreMockRecorder) Delete(ctx, ID any) *gomock.Call
- func (mr *MockClusterStoreMockRecorder) DeleteWithTx(ctx, ID any) *gomock.Call
- func (mr *MockClusterStoreMockRecorder) FindAnyClusterIDBySharedCompute(ctx, sharedCompute any) *gomock.Call
- func (mr *MockClusterStoreMockRecorder) Get(ctx, ID any) *gomock.Call
- func (mr *MockClusterStoreMockRecorder) GetByClusterUrl(ctx, clusterURL any) *gomock.Call
- func (mr *MockClusterStoreMockRecorder) ListAll(ctx any) *gomock.Call
- func (mr *MockClusterStoreMockRecorder) ListBYOCClustersForOrg(ctx, orgID any) *gomock.Call
- func (mr *MockClusterStoreMockRecorder) ListIDsForImageRegistryReconciliation(ctx any) *gomock.Call
- func (mr *MockClusterStoreMockRecorder) ListSharedComputeClusters(ctx any) *gomock.Call
- func (mr *MockClusterStoreMockRecorder) ListSharedComputeClustersForOrg(ctx, orgID any) *gomock.Call
- func (mr *MockClusterStoreMockRecorder) MarkDeletingWithTx(ctx, ID, at any) *gomock.Call
- func (mr *MockClusterStoreMockRecorder) PersistManagerState(ctx, ID, running any) *gomock.Call
- func (mr *MockClusterStoreMockRecorder) UpdateClusterInfo(ctx, ID, info any) *gomock.Call
- func (mr *MockClusterStoreMockRecorder) UpdateSharedComputeCluster(ctx, cluster any) *gomock.Call
- func (mr *MockClusterStoreMockRecorder) WithTransaction(ctx, fn any) *gomock.Call
- type MockCredentialResolver
- func (m *MockCredentialResolver) EXPECT() *MockCredentialResolverMockRecorder
- func (m *MockCredentialResolver) GitCredentials(ctx context.Context, orgID, repoURL string, ...) (*credentials.ResolvedGitCredential, *errors.ServiceError)
- func (m *MockCredentialResolver) RegistryCredentials(ctx context.Context, orgID, ref string, purpose credentials.RegistryPurpose, ...) (*credentials.ResolvedRegistryCredential, *errors.ServiceError)
- type MockCredentialResolverMockRecorder
- type MockGitClient
- func (m *MockGitClient) CheckAccess(ctx context.Context, repoURL string) (bool, error)
- func (m *MockGitClient) CheckTagExists(ctx context.Context, repoURL, tag string) (bool, error)
- func (m *MockGitClient) EXPECT() *MockGitClientMockRecorder
- func (m *MockGitClient) FetchFile(ctx context.Context, repoURL, ref, filePath string) ([]byte, error)
- func (m *MockGitClient) GetBranchHeadSHA(ctx context.Context, repoURL, branch string) (*git.RepoResult, error)
- func (m *MockGitClient) GetDefaultBranch(ctx context.Context, repoURL string) (string, error)
- func (m *MockGitClient) GetTagSHA(ctx context.Context, repoURL, tag string) (string, error)
- type MockGitClientMockRecorder
- func (mr *MockGitClientMockRecorder) CheckAccess(ctx, repoURL any) *gomock.Call
- func (mr *MockGitClientMockRecorder) CheckTagExists(ctx, repoURL, tag any) *gomock.Call
- func (mr *MockGitClientMockRecorder) FetchFile(ctx, repoURL, ref, filePath any) *gomock.Call
- func (mr *MockGitClientMockRecorder) GetBranchHeadSHA(ctx, repoURL, branch any) *gomock.Call
- func (mr *MockGitClientMockRecorder) GetDefaultBranch(ctx, repoURL any) *gomock.Call
- func (mr *MockGitClientMockRecorder) GetTagSHA(ctx, repoURL, tag any) *gomock.Call
- type MockGitHubAppClient
- func (m *MockGitHubAppClient) ConvertManifestCode(ctx context.Context, code string) (*githubapp.AppCredentials, error)
- func (m *MockGitHubAppClient) DeleteInstallation(ctx context.Context, creds *githubapp.AppCredentials, installationID int64) error
- func (m *MockGitHubAppClient) EXPECT() *MockGitHubAppClientMockRecorder
- func (m *MockGitHubAppClient) GetInstallation(ctx context.Context, creds *githubapp.AppCredentials, installationID int64) (*githubapp.Installation, error)
- func (m *MockGitHubAppClient) GetRepo(ctx context.Context, creds *githubapp.AppCredentials, installationID int64, ...) (*githubapp.Repo, error)
- func (m *MockGitHubAppClient) ListBranches(ctx context.Context, creds *githubapp.AppCredentials, installationID int64, ...) ([]string, error)
- func (m *MockGitHubAppClient) ListInstallationRepos(ctx context.Context, creds *githubapp.AppCredentials, installationID int64, ...) (*githubapp.RepoPage, error)
- func (m *MockGitHubAppClient) ListInstallations(ctx context.Context, creds *githubapp.AppCredentials) ([]githubapp.Installation, error)
- func (m *MockGitHubAppClient) MintInstallationToken(ctx context.Context, creds *githubapp.AppCredentials, installationID int64) (*githubapp.Token, error)
- type MockGitHubAppClientMockRecorder
- func (mr *MockGitHubAppClientMockRecorder) ConvertManifestCode(ctx, code any) *gomock.Call
- func (mr *MockGitHubAppClientMockRecorder) DeleteInstallation(ctx, creds, installationID any) *gomock.Call
- func (mr *MockGitHubAppClientMockRecorder) GetInstallation(ctx, creds, installationID any) *gomock.Call
- func (mr *MockGitHubAppClientMockRecorder) GetRepo(ctx, creds, installationID, owner, repo any) *gomock.Call
- func (mr *MockGitHubAppClientMockRecorder) ListBranches(ctx, creds, installationID, owner, repo any) *gomock.Call
- func (mr *MockGitHubAppClientMockRecorder) ListInstallationRepos(ctx, creds, installationID, page any) *gomock.Call
- func (mr *MockGitHubAppClientMockRecorder) ListInstallations(ctx, creds any) *gomock.Call
- func (mr *MockGitHubAppClientMockRecorder) MintInstallationToken(ctx, creds, installationID any) *gomock.Call
- type MockGitHubWebhookService
- type MockGitHubWebhookServiceMockRecorder
- type MockGitInstallationStore
- func (m *MockGitInstallationStore) DeleteByInstallationID(ctx context.Context, integrationID string, installationID int64) *errors.ServiceError
- func (m *MockGitInstallationStore) EXPECT() *MockGitInstallationStoreMockRecorder
- func (m *MockGitInstallationStore) GetByInstallationID(ctx context.Context, installationID int64) (*models.GitInstallation, *errors.ServiceError)
- func (m *MockGitInstallationStore) GetByIntegrationAndAccount(ctx context.Context, integrationID, accountLogin string) (*models.GitInstallation, *errors.ServiceError)
- func (m *MockGitInstallationStore) GetByIntegrationAndID(ctx context.Context, integrationID, id string) (*models.GitInstallation, *errors.ServiceError)
- func (m *MockGitInstallationStore) ListByIntegrationID(ctx context.Context, integrationID string) ([]*models.GitInstallation, *errors.ServiceError)
- func (m *MockGitInstallationStore) Upsert(ctx context.Context, installation *models.GitInstallation) (*models.GitInstallation, *errors.ServiceError)
- type MockGitInstallationStoreMockRecorder
- func (mr *MockGitInstallationStoreMockRecorder) DeleteByInstallationID(ctx, integrationID, installationID any) *gomock.Call
- func (mr *MockGitInstallationStoreMockRecorder) GetByInstallationID(ctx, installationID any) *gomock.Call
- func (mr *MockGitInstallationStoreMockRecorder) GetByIntegrationAndAccount(ctx, integrationID, accountLogin any) *gomock.Call
- func (mr *MockGitInstallationStoreMockRecorder) GetByIntegrationAndID(ctx, integrationID, id any) *gomock.Call
- func (mr *MockGitInstallationStoreMockRecorder) ListByIntegrationID(ctx, integrationID any) *gomock.Call
- func (mr *MockGitInstallationStoreMockRecorder) Upsert(ctx, installation any) *gomock.Call
- type MockGitIntegrationService
- func (m *MockGitIntegrationService) Create(ctx context.Context, integration *models.GitIntegration) (*models.GitIntegration, *errors.ServiceError)
- func (m *MockGitIntegrationService) CreateGitHubAppManifest(ctx context.Context, organisationID string) (*models.GitHubAppManifestFlow, *errors.ServiceError)
- func (m *MockGitIntegrationService) Delete(ctx context.Context, ID string) *errors.ServiceError
- func (m *MockGitIntegrationService) EXPECT() *MockGitIntegrationServiceMockRecorder
- func (m *MockGitIntegrationService) GetByID(ctx context.Context, ID string) (*models.GitIntegration, *errors.ServiceError)
- func (m *MockGitIntegrationService) GetRepository(ctx context.Context, integrationID, owner, repo string) (*githubapp.Repo, *errors.ServiceError)
- func (m *MockGitIntegrationService) HandleGitHubAppSetup(ctx context.Context, installationID int64, state string) (string, *errors.ServiceError)
- func (m *MockGitIntegrationService) HandleGitHubManifestCallback(ctx context.Context, code, state string) (string, *errors.ServiceError)
- func (m *MockGitIntegrationService) InternalGetByID(ctx context.Context, ID string) (*models.GitIntegration, *errors.ServiceError)
- func (m *MockGitIntegrationService) InternalGetForHost(ctx context.Context, organisationID, host string) (*models.GitIntegration, *errors.ServiceError)
- func (m *MockGitIntegrationService) InternalMintCloneToken(ctx context.Context, integrationID, repoURL string) (*models.GitHubAppMintResult, *errors.ServiceError)
- func (m *MockGitIntegrationService) InternalMintForRepo(ctx context.Context, organisationID, repoURL string) (*models.GitHubAppMintResult, *errors.ServiceError)
- func (m *MockGitIntegrationService) ListByOrgID(ctx context.Context, organisationID string) ([]*models.GitIntegration, *errors.ServiceError)
- func (m *MockGitIntegrationService) ListInstallations(ctx context.Context, integrationID string, refresh bool) ([]*models.GitInstallation, *errors.ServiceError)
- func (m *MockGitIntegrationService) ListRepositories(ctx context.Context, integrationID string, page int, installationUUID string) (*githubapp.RepoPage, *errors.ServiceError)
- func (m *MockGitIntegrationService) ListRepositoryBranches(ctx context.Context, integrationID, owner, repo string) ([]string, *errors.ServiceError)
- func (m *MockGitIntegrationService) Update(ctx context.Context, ID string, integration *models.GitIntegration) (*models.GitIntegration, *errors.ServiceError)
- func (m *MockGitIntegrationService) Verify(ctx context.Context, ID, repoURL string) *errors.ServiceError
- type MockGitIntegrationServiceMockRecorder
- func (mr *MockGitIntegrationServiceMockRecorder) Create(ctx, integration any) *gomock.Call
- func (mr *MockGitIntegrationServiceMockRecorder) CreateGitHubAppManifest(ctx, organisationID any) *gomock.Call
- func (mr *MockGitIntegrationServiceMockRecorder) Delete(ctx, ID any) *gomock.Call
- func (mr *MockGitIntegrationServiceMockRecorder) GetByID(ctx, ID any) *gomock.Call
- func (mr *MockGitIntegrationServiceMockRecorder) GetRepository(ctx, integrationID, owner, repo any) *gomock.Call
- func (mr *MockGitIntegrationServiceMockRecorder) HandleGitHubAppSetup(ctx, installationID, state any) *gomock.Call
- func (mr *MockGitIntegrationServiceMockRecorder) HandleGitHubManifestCallback(ctx, code, state any) *gomock.Call
- func (mr *MockGitIntegrationServiceMockRecorder) InternalGetByID(ctx, ID any) *gomock.Call
- func (mr *MockGitIntegrationServiceMockRecorder) InternalGetForHost(ctx, organisationID, host any) *gomock.Call
- func (mr *MockGitIntegrationServiceMockRecorder) InternalMintCloneToken(ctx, integrationID, repoURL any) *gomock.Call
- func (mr *MockGitIntegrationServiceMockRecorder) InternalMintForRepo(ctx, organisationID, repoURL any) *gomock.Call
- func (mr *MockGitIntegrationServiceMockRecorder) ListByOrgID(ctx, organisationID any) *gomock.Call
- func (mr *MockGitIntegrationServiceMockRecorder) ListInstallations(ctx, integrationID, refresh any) *gomock.Call
- func (mr *MockGitIntegrationServiceMockRecorder) ListRepositories(ctx, integrationID, page, installationUUID any) *gomock.Call
- func (mr *MockGitIntegrationServiceMockRecorder) ListRepositoryBranches(ctx, integrationID, owner, repo any) *gomock.Call
- func (mr *MockGitIntegrationServiceMockRecorder) Update(ctx, ID, integration any) *gomock.Call
- func (mr *MockGitIntegrationServiceMockRecorder) Verify(ctx, ID, repoURL any) *gomock.Call
- type MockGitIntegrationStore
- func (m *MockGitIntegrationStore) Create(ctx context.Context, integration *models.GitIntegration) (*models.GitIntegration, *errors.ServiceError)
- func (m *MockGitIntegrationStore) Delete(ctx context.Context, ID string) *errors.ServiceError
- func (m *MockGitIntegrationStore) EXPECT() *MockGitIntegrationStoreMockRecorder
- func (m *MockGitIntegrationStore) GetByID(ctx context.Context, ID string) (*models.GitIntegration, *errors.ServiceError)
- func (m *MockGitIntegrationStore) GetByOrgAndHost(ctx context.Context, organisationID, host string) (*models.GitIntegration, *errors.ServiceError)
- func (m *MockGitIntegrationStore) GetGitHubAppForOrg(ctx context.Context, organisationID string) (*models.GitIntegration, *errors.ServiceError)
- func (m *MockGitIntegrationStore) ListByOrgID(ctx context.Context, organisationID string) ([]*models.GitIntegration, *errors.ServiceError)
- func (m *MockGitIntegrationStore) ListGitHubApps(ctx context.Context) ([]*models.GitIntegration, *errors.ServiceError)
- func (m *MockGitIntegrationStore) Update(ctx context.Context, integration *models.GitIntegration) (*models.GitIntegration, *errors.ServiceError)
- type MockGitIntegrationStoreMockRecorder
- func (mr *MockGitIntegrationStoreMockRecorder) Create(ctx, integration any) *gomock.Call
- func (mr *MockGitIntegrationStoreMockRecorder) Delete(ctx, ID any) *gomock.Call
- func (mr *MockGitIntegrationStoreMockRecorder) GetByID(ctx, ID any) *gomock.Call
- func (mr *MockGitIntegrationStoreMockRecorder) GetByOrgAndHost(ctx, organisationID, host any) *gomock.Call
- func (mr *MockGitIntegrationStoreMockRecorder) GetGitHubAppForOrg(ctx, organisationID any) *gomock.Call
- func (mr *MockGitIntegrationStoreMockRecorder) ListByOrgID(ctx, organisationID any) *gomock.Call
- func (mr *MockGitIntegrationStoreMockRecorder) ListGitHubApps(ctx any) *gomock.Call
- func (mr *MockGitIntegrationStoreMockRecorder) Update(ctx, integration any) *gomock.Call
- type MockImageBuildService
- func (m *MockImageBuildService) EXPECT() *MockImageBuildServiceMockRecorder
- func (m *MockImageBuildService) GetByID(ctx context.Context, ID string) (*models.ImageBuild, *errors.ServiceError)
- func (m *MockImageBuildService) InternalCreate(ctx context.Context, resourceBuild *models.ImageBuild) (*models.ImageBuild, *errors.ServiceError)
- func (m *MockImageBuildService) InternalGetByID(ctx context.Context, ID string) (*models.ImageBuild, *errors.ServiceError)
- func (m *MockImageBuildService) InternalUpdateStatus(ctx context.Context, BuildID string, status *models.ImageBuildStatus) *errors.ServiceError
- func (m *MockImageBuildService) ListByResourceName(ctx context.Context, stackID, resourceName string) ([]*models.ImageBuild, *errors.ServiceError)
- func (m *MockImageBuildService) ListByStackID(ctx context.Context, stackID string) ([]*models.ImageBuild, *errors.ServiceError)
- type MockImageBuildServiceMockRecorder
- func (mr *MockImageBuildServiceMockRecorder) GetByID(ctx, ID any) *gomock.Call
- func (mr *MockImageBuildServiceMockRecorder) InternalCreate(ctx, resourceBuild any) *gomock.Call
- func (mr *MockImageBuildServiceMockRecorder) InternalGetByID(ctx, ID any) *gomock.Call
- func (mr *MockImageBuildServiceMockRecorder) InternalUpdateStatus(ctx, BuildID, status any) *gomock.Call
- func (mr *MockImageBuildServiceMockRecorder) ListByResourceName(ctx, stackID, resourceName any) *gomock.Call
- func (mr *MockImageBuildServiceMockRecorder) ListByStackID(ctx, stackID any) *gomock.Call
- type MockImageRegistryService
- func (m *MockImageRegistryService) Create(ctx context.Context, spec *models.ClusterImageRegistry) (*models.ClusterImageRegistry, *errors.ServiceError)
- func (m *MockImageRegistryService) CreateWithTx(ctx context.Context, spec *models.ClusterImageRegistry) (*models.ClusterImageRegistry, *errors.ServiceError)
- func (m *MockImageRegistryService) Delete(ctx context.Context, orgID, ID string) *errors.ServiceError
- func (m *MockImageRegistryService) DeleteWithTx(ctx context.Context, orgID string, registry *models.ClusterImageRegistry) *errors.ServiceError
- func (m *MockImageRegistryService) EXPECT() *MockImageRegistryServiceMockRecorder
- func (m *MockImageRegistryService) Get(ctx context.Context, ID string) (*models.ClusterImageRegistry, *errors.ServiceError)
- func (m *MockImageRegistryService) InjectBackgroundJobEnqueuer(dep clusterresource.BackgroundJobEnqueuerDep)
- func (m *MockImageRegistryService) InternalCreateSeedRegistry(ctx context.Context, spec *models.ClusterImageRegistry) (*models.ClusterImageRegistry, *errors.ServiceError)
- func (m *MockImageRegistryService) InternalGet(ctx context.Context, ID string) (*models.ClusterImageRegistry, *errors.ServiceError)
- func (m *MockImageRegistryService) InternalMarkAllDeletingByClusterIDWithTx(ctx context.Context, clusterID string) *errors.ServiceError
- func (m *MockImageRegistryService) ListByClusterID(ctx context.Context, orgID, clusterID string) ([]*models.ClusterImageRegistry, *errors.ServiceError)
- func (m *MockImageRegistryService) ListForOrg(ctx context.Context, orgID string) ([]*models.ClusterImageRegistry, *errors.ServiceError)
- func (m *MockImageRegistryService) PopulateInClusterRegistryNameForResource(ctx context.Context, orgID, clusterID, stackName string, ...) *errors.ServiceError
- func (m *MockImageRegistryService) UpdateStatus(ctx context.Context, ID string, status *models.ClusterImageRegistryStatus) *errors.ServiceError
- type MockImageRegistryServiceMockRecorder
- func (mr *MockImageRegistryServiceMockRecorder) Create(ctx, spec any) *gomock.Call
- func (mr *MockImageRegistryServiceMockRecorder) CreateWithTx(ctx, spec any) *gomock.Call
- func (mr *MockImageRegistryServiceMockRecorder) Delete(ctx, orgID, ID any) *gomock.Call
- func (mr *MockImageRegistryServiceMockRecorder) DeleteWithTx(ctx, orgID, registry any) *gomock.Call
- func (mr *MockImageRegistryServiceMockRecorder) Get(ctx, ID any) *gomock.Call
- func (mr *MockImageRegistryServiceMockRecorder) InjectBackgroundJobEnqueuer(dep any) *gomock.Call
- func (mr *MockImageRegistryServiceMockRecorder) InternalCreateSeedRegistry(ctx, spec any) *gomock.Call
- func (mr *MockImageRegistryServiceMockRecorder) InternalGet(ctx, ID any) *gomock.Call
- func (mr *MockImageRegistryServiceMockRecorder) InternalMarkAllDeletingByClusterIDWithTx(ctx, clusterID any) *gomock.Call
- func (mr *MockImageRegistryServiceMockRecorder) ListByClusterID(ctx, orgID, clusterID any) *gomock.Call
- func (mr *MockImageRegistryServiceMockRecorder) ListForOrg(ctx, orgID any) *gomock.Call
- func (mr *MockImageRegistryServiceMockRecorder) PopulateInClusterRegistryNameForResource(ctx, orgID, clusterID, stackName, resource any) *gomock.Call
- func (mr *MockImageRegistryServiceMockRecorder) UpdateStatus(ctx, ID, status any) *gomock.Call
- type MockLogger
- func (m *MockLogger) Debug(ctx context.Context, format string, args ...any)
- func (m *MockLogger) DebugEnabled() bool
- func (m *MockLogger) Debugf(format string, args ...any)
- func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
- func (m *MockLogger) Error(ctx context.Context, format string, args ...any)
- func (m *MockLogger) ErrorEnabled() bool
- func (m *MockLogger) Errorf(format string, args ...any)
- func (m *MockLogger) Fatal(ctx context.Context, format string, args ...any)
- func (m *MockLogger) Fatalf(format string, args ...any)
- func (m *MockLogger) GetLevel() logrus.Level
- func (m *MockLogger) Info(ctx context.Context, format string, args ...any)
- func (m *MockLogger) InfoEnabled() bool
- func (m *MockLogger) Infof(format string, args ...any)
- func (m *MockLogger) SetLevel(level logrus.Level) logger.Logger
- func (m *MockLogger) Warn(ctx context.Context, format string, args ...any)
- func (m *MockLogger) WarnEnabled() bool
- func (m *MockLogger) Warnf(format string, args ...any)
- func (m *MockLogger) WithField(key string, value any) logger.Logger
- func (m *MockLogger) WithFields(fields map[string]any) logger.Logger
- type MockLoggerMockRecorder
- func (mr *MockLoggerMockRecorder) Debug(ctx, format any, args ...any) *gomock.Call
- func (mr *MockLoggerMockRecorder) DebugEnabled() *gomock.Call
- func (mr *MockLoggerMockRecorder) Debugf(format any, args ...any) *gomock.Call
- func (mr *MockLoggerMockRecorder) Error(ctx, format any, args ...any) *gomock.Call
- func (mr *MockLoggerMockRecorder) ErrorEnabled() *gomock.Call
- func (mr *MockLoggerMockRecorder) Errorf(format any, args ...any) *gomock.Call
- func (mr *MockLoggerMockRecorder) Fatal(ctx, format any, args ...any) *gomock.Call
- func (mr *MockLoggerMockRecorder) Fatalf(format any, args ...any) *gomock.Call
- func (mr *MockLoggerMockRecorder) GetLevel() *gomock.Call
- func (mr *MockLoggerMockRecorder) Info(ctx, format any, args ...any) *gomock.Call
- func (mr *MockLoggerMockRecorder) InfoEnabled() *gomock.Call
- func (mr *MockLoggerMockRecorder) Infof(format any, args ...any) *gomock.Call
- func (mr *MockLoggerMockRecorder) SetLevel(level any) *gomock.Call
- func (mr *MockLoggerMockRecorder) Warn(ctx, format any, args ...any) *gomock.Call
- func (mr *MockLoggerMockRecorder) WarnEnabled() *gomock.Call
- func (mr *MockLoggerMockRecorder) Warnf(format any, args ...any) *gomock.Call
- func (mr *MockLoggerMockRecorder) WithField(key, value any) *gomock.Call
- func (mr *MockLoggerMockRecorder) WithFields(fields any) *gomock.Call
- type MockNamespaceService
- func (m *MockNamespaceService) CreateInCluster(ctx context.Context, ns *models.Namespace) *errors.ServiceError
- func (m *MockNamespaceService) CreateInDB(ctx context.Context, ns *models.Namespace) (*models.Namespace, *errors.ServiceError)
- func (m *MockNamespaceService) CreateInDBWithTx(ctx context.Context, ns *models.Namespace) (*models.Namespace, *errors.ServiceError)
- func (m *MockNamespaceService) DeleteFromDB(ctx context.Context, id string) *errors.ServiceError
- func (m *MockNamespaceService) DeleteFromDBWithTx(ctx context.Context, id string) *errors.ServiceError
- func (m *MockNamespaceService) EXPECT() *MockNamespaceServiceMockRecorder
- func (m *MockNamespaceService) Get(ctx context.Context, id string) (*models.Namespace, *errors.ServiceError)
- func (m *MockNamespaceService) InjectClusterResourceServiceDeps(deps clusterresource.ClusterResourceServiceDeps)
- func (m *MockNamespaceService) InternalDeleteFromDB(ctx context.Context, id string) *errors.ServiceError
- func (m *MockNamespaceService) ListByOrganisation(ctx context.Context, organisationID string) ([]*models.Namespace, *errors.ServiceError)
- func (m *MockNamespaceService) ListByStack(ctx context.Context, stackID string) ([]*models.Namespace, *errors.ServiceError)
- func (m *MockNamespaceService) PrepareNamespaceForAddon(ctx context.Context, addon models.Addon, orgID string) (*models.Namespace, *errors.ServiceError)
- func (m *MockNamespaceService) PrepareNamespaceForStack(ctx context.Context, stack *models.Stack) (*models.Namespace, *errors.ServiceError)
- func (m *MockNamespaceService) UpdateInDB(ctx context.Context, id string, ns *models.Namespace) (*models.Namespace, *errors.ServiceError)
- type MockNamespaceServiceMockRecorder
- func (mr *MockNamespaceServiceMockRecorder) CreateInCluster(ctx, ns any) *gomock.Call
- func (mr *MockNamespaceServiceMockRecorder) CreateInDB(ctx, ns any) *gomock.Call
- func (mr *MockNamespaceServiceMockRecorder) CreateInDBWithTx(ctx, ns any) *gomock.Call
- func (mr *MockNamespaceServiceMockRecorder) DeleteFromDB(ctx, id any) *gomock.Call
- func (mr *MockNamespaceServiceMockRecorder) DeleteFromDBWithTx(ctx, id any) *gomock.Call
- func (mr *MockNamespaceServiceMockRecorder) Get(ctx, id any) *gomock.Call
- func (mr *MockNamespaceServiceMockRecorder) InjectClusterResourceServiceDeps(deps any) *gomock.Call
- func (mr *MockNamespaceServiceMockRecorder) InternalDeleteFromDB(ctx, id any) *gomock.Call
- func (mr *MockNamespaceServiceMockRecorder) ListByOrganisation(ctx, organisationID any) *gomock.Call
- func (mr *MockNamespaceServiceMockRecorder) ListByStack(ctx, stackID any) *gomock.Call
- func (mr *MockNamespaceServiceMockRecorder) PrepareNamespaceForAddon(ctx, addon, orgID any) *gomock.Call
- func (mr *MockNamespaceServiceMockRecorder) PrepareNamespaceForStack(ctx, stack any) *gomock.Call
- func (mr *MockNamespaceServiceMockRecorder) UpdateInDB(ctx, id, ns any) *gomock.Call
- type MockOAuthStateStore
- func (m *MockOAuthStateStore) Consume(ctx context.Context, state, provider string) (*models.OAuthState, *errors.ServiceError)
- func (m *MockOAuthStateStore) Create(ctx context.Context, state *models.OAuthState) *errors.ServiceError
- func (m *MockOAuthStateStore) DeleteExpired(ctx context.Context, maxAge time.Duration) error
- func (m *MockOAuthStateStore) EXPECT() *MockOAuthStateStoreMockRecorder
- type MockOAuthStateStoreMockRecorder
- type MockOrgInviteStore
- func (m *MockOrgInviteStore) Create(ctx context.Context, invite *models.OrgInvite) (*models.OrgInvite, *errors.ServiceError)
- func (m *MockOrgInviteStore) DeleteIDs(ctx context.Context, ids []string) *errors.ServiceError
- func (m *MockOrgInviteStore) EXPECT() *MockOrgInviteStoreMockRecorder
- func (m *MockOrgInviteStore) GetByID(ctx context.Context, id string) (*models.OrgInvite, *errors.ServiceError)
- func (m *MockOrgInviteStore) GetByTokenHash(ctx context.Context, tokenHash string) (*models.OrgInvite, *errors.ServiceError)
- func (m *MockOrgInviteStore) GetPendingByOrgAndEmail(ctx context.Context, orgID, email string) (*models.OrgInvite, *errors.ServiceError)
- func (m *MockOrgInviteStore) ListByOrgID(ctx context.Context, orgID string, params stores.ListParams) (*stores.PaginatedResult[*models.OrgInvite], *errors.ServiceError)
- func (m *MockOrgInviteStore) ListExpiredOrPastDue(ctx context.Context, now time.Time, params stores.ListParams) (*stores.PaginatedResult[*models.OrgInvite], *errors.ServiceError)
- func (m *MockOrgInviteStore) ListPendingUnsent(ctx context.Context, params stores.ListParams) (*stores.PaginatedResult[*models.OrgInvite], *errors.ServiceError)
- func (m *MockOrgInviteStore) MarkAccepted(ctx context.Context, id string) *errors.ServiceError
- func (m *MockOrgInviteStore) MarkEmailError(ctx context.Context, id, errMsg string) *errors.ServiceError
- func (m *MockOrgInviteStore) MarkEmailSent(ctx context.Context, id string) *errors.ServiceError
- func (m *MockOrgInviteStore) ResetEmailStatus(ctx context.Context, id string) *errors.ServiceError
- func (m *MockOrgInviteStore) UpdateStatus(ctx context.Context, id string, status models.InviteStatus) *errors.ServiceError
- func (m *MockOrgInviteStore) WithTransaction(ctx context.Context, fn func(context.Context) *errors.ServiceError) *errors.ServiceError
- type MockOrgInviteStoreMockRecorder
- func (mr *MockOrgInviteStoreMockRecorder) Create(ctx, invite any) *gomock.Call
- func (mr *MockOrgInviteStoreMockRecorder) DeleteIDs(ctx, ids any) *gomock.Call
- func (mr *MockOrgInviteStoreMockRecorder) GetByID(ctx, id any) *gomock.Call
- func (mr *MockOrgInviteStoreMockRecorder) GetByTokenHash(ctx, tokenHash any) *gomock.Call
- func (mr *MockOrgInviteStoreMockRecorder) GetPendingByOrgAndEmail(ctx, orgID, email any) *gomock.Call
- func (mr *MockOrgInviteStoreMockRecorder) ListByOrgID(ctx, orgID, params any) *gomock.Call
- func (mr *MockOrgInviteStoreMockRecorder) ListExpiredOrPastDue(ctx, now, params any) *gomock.Call
- func (mr *MockOrgInviteStoreMockRecorder) ListPendingUnsent(ctx, params any) *gomock.Call
- func (mr *MockOrgInviteStoreMockRecorder) MarkAccepted(ctx, id any) *gomock.Call
- func (mr *MockOrgInviteStoreMockRecorder) MarkEmailError(ctx, id, errMsg any) *gomock.Call
- func (mr *MockOrgInviteStoreMockRecorder) MarkEmailSent(ctx, id any) *gomock.Call
- func (mr *MockOrgInviteStoreMockRecorder) ResetEmailStatus(ctx, id any) *gomock.Call
- func (mr *MockOrgInviteStoreMockRecorder) UpdateStatus(ctx, id, status any) *gomock.Call
- func (mr *MockOrgInviteStoreMockRecorder) WithTransaction(ctx, fn any) *gomock.Call
- type MockOrganisationDomainStore
- func (m *MockOrganisationDomainStore) BulkCreate(ctx context.Context, domains []*models.OrganisationDomain) ([]*models.OrganisationDomain, *errors.ServiceError)
- func (m *MockOrganisationDomainStore) Create(ctx context.Context, domain *models.OrganisationDomain) (*models.OrganisationDomain, *errors.ServiceError)
- func (m *MockOrganisationDomainStore) CreateWithTx(ctx context.Context, domain *models.OrganisationDomain) (*models.OrganisationDomain, *errors.ServiceError)
- func (m *MockOrganisationDomainStore) Delete(ctx context.Context, id string) *errors.ServiceError
- func (m *MockOrganisationDomainStore) DeleteWithTx(ctx context.Context, id string) *errors.ServiceError
- func (m *MockOrganisationDomainStore) EXPECT() *MockOrganisationDomainStoreMockRecorder
- func (m *MockOrganisationDomainStore) Get(ctx context.Context, id string) (*models.OrganisationDomain, *errors.ServiceError)
- func (m *MockOrganisationDomainStore) ListByOrganisationID(ctx context.Context, organisationID string) ([]*models.OrganisationDomain, *errors.ServiceError)
- func (m *MockOrganisationDomainStore) Update(ctx context.Context, id string, domain *models.OrganisationDomain) (*models.OrganisationDomain, *errors.ServiceError)
- type MockOrganisationDomainStoreMockRecorder
- func (mr *MockOrganisationDomainStoreMockRecorder) BulkCreate(ctx, domains any) *gomock.Call
- func (mr *MockOrganisationDomainStoreMockRecorder) Create(ctx, domain any) *gomock.Call
- func (mr *MockOrganisationDomainStoreMockRecorder) CreateWithTx(ctx, domain any) *gomock.Call
- func (mr *MockOrganisationDomainStoreMockRecorder) Delete(ctx, id any) *gomock.Call
- func (mr *MockOrganisationDomainStoreMockRecorder) DeleteWithTx(ctx, id any) *gomock.Call
- func (mr *MockOrganisationDomainStoreMockRecorder) Get(ctx, id any) *gomock.Call
- func (mr *MockOrganisationDomainStoreMockRecorder) ListByOrganisationID(ctx, organisationID any) *gomock.Call
- func (mr *MockOrganisationDomainStoreMockRecorder) Update(ctx, id, domain any) *gomock.Call
- type MockOrganisationDomainsService
- func (m *MockOrganisationDomainsService) Create(ctx context.Context, spec *models.OrganisationDomain) (*models.OrganisationDomain, *errors.ServiceError)
- func (m *MockOrganisationDomainsService) Delete(ctx context.Context, id string) *errors.ServiceError
- func (m *MockOrganisationDomainsService) EXPECT() *MockOrganisationDomainsServiceMockRecorder
- func (m *MockOrganisationDomainsService) Get(ctx context.Context, id string) (*models.OrganisationDomain, *errors.ServiceError)
- func (m *MockOrganisationDomainsService) GetDefaultDomainForOrganisation(ctx context.Context, organisationID string) (*models.OrganisationDomain, *errors.ServiceError)
- func (m *MockOrganisationDomainsService) InternalCreateWithTx(ctx context.Context, spec *models.OrganisationDomain) (*models.OrganisationDomain, *errors.ServiceError)
- func (m *MockOrganisationDomainsService) InternalDeleteWithTx(ctx context.Context, id string) *errors.ServiceError
- func (m *MockOrganisationDomainsService) ListByOrganisationID(ctx context.Context, organisationID string) ([]*models.OrganisationDomain, *errors.ServiceError)
- func (m *MockOrganisationDomainsService) Update(ctx context.Context, id string, spec *models.OrganisationDomain) (*models.OrganisationDomain, *errors.ServiceError)
- type MockOrganisationDomainsServiceMockRecorder
- func (mr *MockOrganisationDomainsServiceMockRecorder) Create(ctx, spec any) *gomock.Call
- func (mr *MockOrganisationDomainsServiceMockRecorder) Delete(ctx, id any) *gomock.Call
- func (mr *MockOrganisationDomainsServiceMockRecorder) Get(ctx, id any) *gomock.Call
- func (mr *MockOrganisationDomainsServiceMockRecorder) GetDefaultDomainForOrganisation(ctx, organisationID any) *gomock.Call
- func (mr *MockOrganisationDomainsServiceMockRecorder) InternalCreateWithTx(ctx, spec any) *gomock.Call
- func (mr *MockOrganisationDomainsServiceMockRecorder) InternalDeleteWithTx(ctx, id any) *gomock.Call
- func (mr *MockOrganisationDomainsServiceMockRecorder) ListByOrganisationID(ctx, organisationID any) *gomock.Call
- func (mr *MockOrganisationDomainsServiceMockRecorder) Update(ctx, id, spec any) *gomock.Call
- type MockOrganisationService
- func (m *MockOrganisationService) Delete(ctx context.Context, ID string) *errors.ServiceError
- func (m *MockOrganisationService) DemoteOrgAdmin(ctx context.Context, orgID, userID, projectID string, role models.ProjectRole) *errors.ServiceError
- func (m *MockOrganisationService) EXPECT() *MockOrganisationServiceMockRecorder
- func (m *MockOrganisationService) Get(ctx context.Context, ID string) (*models.Organisation, *errors.ServiceError)
- func (m *MockOrganisationService) InternalCreate(ctx context.Context, spec *models.Organisation) (*models.Organisation, *errors.ServiceError)
- func (m *MockOrganisationService) InternalGetPlatformOrg(ctx context.Context) (*models.Organisation, *errors.ServiceError)
- func (m *MockOrganisationService) ListOrgAdmins(ctx context.Context, orgID string) ([]*models.User, *errors.ServiceError)
- func (m *MockOrganisationService) PromoteToOrgAdmin(ctx context.Context, orgID, userID string) *errors.ServiceError
- func (m *MockOrganisationService) Update(ctx context.Context, ID string, spec *models.Organisation) (*models.Organisation, *errors.ServiceError)
- type MockOrganisationServiceMockRecorder
- func (mr *MockOrganisationServiceMockRecorder) Delete(ctx, ID any) *gomock.Call
- func (mr *MockOrganisationServiceMockRecorder) DemoteOrgAdmin(ctx, orgID, userID, projectID, role any) *gomock.Call
- func (mr *MockOrganisationServiceMockRecorder) Get(ctx, ID any) *gomock.Call
- func (mr *MockOrganisationServiceMockRecorder) InternalCreate(ctx, spec any) *gomock.Call
- func (mr *MockOrganisationServiceMockRecorder) InternalGetPlatformOrg(ctx any) *gomock.Call
- func (mr *MockOrganisationServiceMockRecorder) ListOrgAdmins(ctx, orgID any) *gomock.Call
- func (mr *MockOrganisationServiceMockRecorder) PromoteToOrgAdmin(ctx, orgID, userID any) *gomock.Call
- func (mr *MockOrganisationServiceMockRecorder) Update(ctx, ID, spec any) *gomock.Call
- type MockOrganisationStore
- func (m *MockOrganisationStore) Create(ctx context.Context, spec *models.Organisation) (*models.Organisation, *errors.ServiceError)
- func (m *MockOrganisationStore) Delete(ctx context.Context, ID string) *errors.ServiceError
- func (m *MockOrganisationStore) EXPECT() *MockOrganisationStoreMockRecorder
- func (m *MockOrganisationStore) Get(ctx context.Context, ID string) (*models.Organisation, *errors.ServiceError)
- func (m *MockOrganisationStore) GetPlatformOrg(ctx context.Context) (*models.Organisation, *errors.ServiceError)
- func (m *MockOrganisationStore) LockByID(ctx context.Context, ID string) *errors.ServiceError
- func (m *MockOrganisationStore) OrganisationNameExists(ctx context.Context, name string) (bool, *errors.ServiceError)
- func (m *MockOrganisationStore) Update(ctx context.Context, id string, org *models.Organisation) (*models.Organisation, *errors.ServiceError)
- type MockOrganisationStoreMockRecorder
- func (mr *MockOrganisationStoreMockRecorder) Create(ctx, spec any) *gomock.Call
- func (mr *MockOrganisationStoreMockRecorder) Delete(ctx, ID any) *gomock.Call
- func (mr *MockOrganisationStoreMockRecorder) Get(ctx, ID any) *gomock.Call
- func (mr *MockOrganisationStoreMockRecorder) GetPlatformOrg(ctx any) *gomock.Call
- func (mr *MockOrganisationStoreMockRecorder) LockByID(ctx, ID any) *gomock.Call
- func (mr *MockOrganisationStoreMockRecorder) OrganisationNameExists(ctx, name any) *gomock.Call
- func (mr *MockOrganisationStoreMockRecorder) Update(ctx, id, org any) *gomock.Call
- type MockPermissionService
- type MockPermissionServiceMockRecorder
- type MockPostgresAddonDatabaseService
- func (m *MockPostgresAddonDatabaseService) Create(ctx context.Context, database *models.PostgresAddonDatabase) (*models.PostgresAddonDatabase, *errors.ServiceError)
- func (m *MockPostgresAddonDatabaseService) CreateWithTx(ctx context.Context, database *models.PostgresAddonDatabase) (*models.PostgresAddonDatabase, *errors.ServiceError)
- func (m *MockPostgresAddonDatabaseService) Delete(ctx context.Context, ID string) *errors.ServiceError
- func (m *MockPostgresAddonDatabaseService) DeleteWithTx(ctx context.Context, ID string) *errors.ServiceError
- func (m *MockPostgresAddonDatabaseService) EXPECT() *MockPostgresAddonDatabaseServiceMockRecorder
- func (m *MockPostgresAddonDatabaseService) GetByID(ctx context.Context, ID string) (*models.PostgresAddonDatabase, *errors.ServiceError)
- func (m *MockPostgresAddonDatabaseService) GetByName(ctx context.Context, postgresAddonID, name string) (*models.PostgresAddonDatabase, *errors.ServiceError)
- func (m *MockPostgresAddonDatabaseService) ListByPostgresAddon(ctx context.Context, postgresAddonID string) ([]*models.PostgresAddonDatabase, *errors.ServiceError)
- func (m *MockPostgresAddonDatabaseService) Update(ctx context.Context, id string, database *models.PostgresAddonDatabase) (*models.PostgresAddonDatabase, *errors.ServiceError)
- func (m *MockPostgresAddonDatabaseService) UpdateWithTx(ctx context.Context, id string, database *models.PostgresAddonDatabase) (*models.PostgresAddonDatabase, *errors.ServiceError)
- func (m *MockPostgresAddonDatabaseService) ValidateDatabaseExists(ctx context.Context, databaseID string) (bool, *errors.ServiceError)
- type MockPostgresAddonDatabaseServiceMockRecorder
- func (mr *MockPostgresAddonDatabaseServiceMockRecorder) Create(ctx, database any) *gomock.Call
- func (mr *MockPostgresAddonDatabaseServiceMockRecorder) CreateWithTx(ctx, database any) *gomock.Call
- func (mr *MockPostgresAddonDatabaseServiceMockRecorder) Delete(ctx, ID any) *gomock.Call
- func (mr *MockPostgresAddonDatabaseServiceMockRecorder) DeleteWithTx(ctx, ID any) *gomock.Call
- func (mr *MockPostgresAddonDatabaseServiceMockRecorder) GetByID(ctx, ID any) *gomock.Call
- func (mr *MockPostgresAddonDatabaseServiceMockRecorder) GetByName(ctx, postgresAddonID, name any) *gomock.Call
- func (mr *MockPostgresAddonDatabaseServiceMockRecorder) ListByPostgresAddon(ctx, postgresAddonID any) *gomock.Call
- func (mr *MockPostgresAddonDatabaseServiceMockRecorder) Update(ctx, id, database any) *gomock.Call
- func (mr *MockPostgresAddonDatabaseServiceMockRecorder) UpdateWithTx(ctx, id, database any) *gomock.Call
- func (mr *MockPostgresAddonDatabaseServiceMockRecorder) ValidateDatabaseExists(ctx, databaseID any) *gomock.Call
- type MockPostgresAddonStore
- func (m *MockPostgresAddonStore) Create(ctx context.Context, addon *models.PostgresAddon) (*models.PostgresAddon, *errors.ServiceError)
- func (m *MockPostgresAddonStore) CreateWithTx(ctx context.Context, addon *models.PostgresAddon) (*models.PostgresAddon, *errors.ServiceError)
- func (m *MockPostgresAddonStore) Delete(ctx context.Context, ID string) *errors.ServiceError
- func (m *MockPostgresAddonStore) EXPECT() *MockPostgresAddonStoreMockRecorder
- func (m *MockPostgresAddonStore) GetByID(ctx context.Context, ID string) (*models.PostgresAddon, *errors.ServiceError)
- func (m *MockPostgresAddonStore) GetByName(ctx context.Context, organisationID, name string) (*models.PostgresAddon, *errors.ServiceError)
- func (m *MockPostgresAddonStore) InternalList(ctx context.Context, query string, args ...any) ([]*models.PostgresAddon, *errors.ServiceError)
- func (m *MockPostgresAddonStore) ListByOrganisation(ctx context.Context, organisationID string) ([]*models.PostgresAddon, *errors.ServiceError)
- func (m *MockPostgresAddonStore) ListByProjectID(ctx context.Context, projectID string) ([]*models.PostgresAddon, *errors.ServiceError)
- func (m *MockPostgresAddonStore) ListByProjectIDs(ctx context.Context, projectIDs []string) ([]*models.PostgresAddon, *errors.ServiceError)
- func (m *MockPostgresAddonStore) Update(ctx context.Context, addon *models.PostgresAddon) (*models.PostgresAddon, *errors.ServiceError)
- func (m *MockPostgresAddonStore) UpdateBackupRequestedAt(ctx context.Context, id string, timestamp *time.Time) *errors.ServiceError
- func (m *MockPostgresAddonStore) UpdateDeletionTimestamp(ctx context.Context, id string, timestamp *time.Time) *errors.ServiceError
- func (m *MockPostgresAddonStore) UpdateStatus(ctx context.Context, id string, status *models.PostgresAddonStatus) *errors.ServiceError
- func (m *MockPostgresAddonStore) UpdateWithTx(ctx context.Context, addon *models.PostgresAddon) (*models.PostgresAddon, *errors.ServiceError)
- func (m *MockPostgresAddonStore) ValidateAddonExists(ctx context.Context, addonID string) (bool, *errors.ServiceError)
- func (m *MockPostgresAddonStore) ValidateAddonNameUnique(ctx context.Context, organisationID, name, excludeID string) (bool, *errors.ServiceError)
- func (m *MockPostgresAddonStore) WithTransaction(ctx context.Context, fn func(context.Context) *errors.ServiceError) *errors.ServiceError
- type MockPostgresAddonStoreMockRecorder
- func (mr *MockPostgresAddonStoreMockRecorder) Create(ctx, addon any) *gomock.Call
- func (mr *MockPostgresAddonStoreMockRecorder) CreateWithTx(ctx, addon any) *gomock.Call
- func (mr *MockPostgresAddonStoreMockRecorder) Delete(ctx, ID any) *gomock.Call
- func (mr *MockPostgresAddonStoreMockRecorder) GetByID(ctx, ID any) *gomock.Call
- func (mr *MockPostgresAddonStoreMockRecorder) GetByName(ctx, organisationID, name any) *gomock.Call
- func (mr *MockPostgresAddonStoreMockRecorder) InternalList(ctx, query any, args ...any) *gomock.Call
- func (mr *MockPostgresAddonStoreMockRecorder) ListByOrganisation(ctx, organisationID any) *gomock.Call
- func (mr *MockPostgresAddonStoreMockRecorder) ListByProjectID(ctx, projectID any) *gomock.Call
- func (mr *MockPostgresAddonStoreMockRecorder) ListByProjectIDs(ctx, projectIDs any) *gomock.Call
- func (mr *MockPostgresAddonStoreMockRecorder) Update(ctx, addon any) *gomock.Call
- func (mr *MockPostgresAddonStoreMockRecorder) UpdateBackupRequestedAt(ctx, id, timestamp any) *gomock.Call
- func (mr *MockPostgresAddonStoreMockRecorder) UpdateDeletionTimestamp(ctx, id, timestamp any) *gomock.Call
- func (mr *MockPostgresAddonStoreMockRecorder) UpdateStatus(ctx, id, status any) *gomock.Call
- func (mr *MockPostgresAddonStoreMockRecorder) UpdateWithTx(ctx, addon any) *gomock.Call
- func (mr *MockPostgresAddonStoreMockRecorder) ValidateAddonExists(ctx, addonID any) *gomock.Call
- func (mr *MockPostgresAddonStoreMockRecorder) ValidateAddonNameUnique(ctx, organisationID, name, excludeID any) *gomock.Call
- func (mr *MockPostgresAddonStoreMockRecorder) WithTransaction(ctx, fn any) *gomock.Call
- type MockPreviewStackStore
- func (m *MockPreviewStackStore) CountActiveByConfigID(ctx context.Context, configID string) (int64, *errors.ServiceError)
- func (m *MockPreviewStackStore) Create(ctx context.Context, preview *models.PreviewStack) (*models.PreviewStack, *errors.ServiceError)
- func (m *MockPreviewStackStore) Delete(ctx context.Context, id string) *errors.ServiceError
- func (m *MockPreviewStackStore) EXPECT() *MockPreviewStackStoreMockRecorder
- func (m *MockPreviewStackStore) GetByConfigAndPR(ctx context.Context, configID, prNumber string) (*models.PreviewStack, *errors.ServiceError)
- func (m *MockPreviewStackStore) GetByID(ctx context.Context, id string) (*models.PreviewStack, *errors.ServiceError)
- func (m *MockPreviewStackStore) ListByConfigID(ctx context.Context, configID string, params stores.ListParams) (*stores.PaginatedResult[*models.PreviewStack], *errors.ServiceError)
- func (m *MockPreviewStackStore) ListByProjectID(ctx context.Context, projectID string, params stores.ListParams) (*stores.PaginatedResult[*models.PreviewStack], *errors.ServiceError)
- func (m *MockPreviewStackStore) ListNeedingReconciliation(ctx context.Context, page, pageSize int) ([]*models.PreviewStack, *errors.ServiceError)
- func (m *MockPreviewStackStore) Update(ctx context.Context, preview *models.PreviewStack) (*models.PreviewStack, *errors.ServiceError)
- func (m *MockPreviewStackStore) WithTransaction(ctx context.Context, fn func(context.Context) *errors.ServiceError) *errors.ServiceError
- type MockPreviewStackStoreMockRecorder
- func (mr *MockPreviewStackStoreMockRecorder) CountActiveByConfigID(ctx, configID any) *gomock.Call
- func (mr *MockPreviewStackStoreMockRecorder) Create(ctx, preview any) *gomock.Call
- func (mr *MockPreviewStackStoreMockRecorder) Delete(ctx, id any) *gomock.Call
- func (mr *MockPreviewStackStoreMockRecorder) GetByConfigAndPR(ctx, configID, prNumber any) *gomock.Call
- func (mr *MockPreviewStackStoreMockRecorder) GetByID(ctx, id any) *gomock.Call
- func (mr *MockPreviewStackStoreMockRecorder) ListByConfigID(ctx, configID, params any) *gomock.Call
- func (mr *MockPreviewStackStoreMockRecorder) ListByProjectID(ctx, projectID, params any) *gomock.Call
- func (mr *MockPreviewStackStoreMockRecorder) ListNeedingReconciliation(ctx, page, pageSize any) *gomock.Call
- func (mr *MockPreviewStackStoreMockRecorder) Update(ctx, preview any) *gomock.Call
- func (mr *MockPreviewStackStoreMockRecorder) WithTransaction(ctx, fn any) *gomock.Call
- type MockProjectMembershipStore
- func (m *MockProjectMembershipStore) Create(ctx context.Context, membership *models.ProjectMembership) (*models.ProjectMembership, *errors.ServiceError)
- func (m *MockProjectMembershipStore) Delete(ctx context.Context, id string) *errors.ServiceError
- func (m *MockProjectMembershipStore) EXPECT() *MockProjectMembershipStoreMockRecorder
- func (m *MockProjectMembershipStore) GetByID(ctx context.Context, id string) (*models.ProjectMembership, *errors.ServiceError)
- func (m *MockProjectMembershipStore) GetByProjectAndUser(ctx context.Context, projectID, userID string) (*models.ProjectMembership, *errors.ServiceError)
- func (m *MockProjectMembershipStore) ListByProjectID(ctx context.Context, projectID string) ([]*models.ProjectMembership, *errors.ServiceError)
- func (m *MockProjectMembershipStore) ListByUserID(ctx context.Context, userID string) ([]*models.ProjectMembership, *errors.ServiceError)
- func (m *MockProjectMembershipStore) ListByUserIDAndOrgID(ctx context.Context, userID, orgID string) ([]*models.ProjectMembership, *errors.ServiceError)
- func (m *MockProjectMembershipStore) Update(ctx context.Context, id string, membership *models.ProjectMembership) (*models.ProjectMembership, *errors.ServiceError)
- type MockProjectMembershipStoreMockRecorder
- func (mr *MockProjectMembershipStoreMockRecorder) Create(ctx, membership any) *gomock.Call
- func (mr *MockProjectMembershipStoreMockRecorder) Delete(ctx, id any) *gomock.Call
- func (mr *MockProjectMembershipStoreMockRecorder) GetByID(ctx, id any) *gomock.Call
- func (mr *MockProjectMembershipStoreMockRecorder) GetByProjectAndUser(ctx, projectID, userID any) *gomock.Call
- func (mr *MockProjectMembershipStoreMockRecorder) ListByProjectID(ctx, projectID any) *gomock.Call
- func (mr *MockProjectMembershipStoreMockRecorder) ListByUserID(ctx, userID any) *gomock.Call
- func (mr *MockProjectMembershipStoreMockRecorder) ListByUserIDAndOrgID(ctx, userID, orgID any) *gomock.Call
- func (mr *MockProjectMembershipStoreMockRecorder) Update(ctx, id, membership any) *gomock.Call
- type MockProjectService
- func (m *MockProjectService) AddMember(ctx context.Context, projectID, userID string, role models.ProjectRole) (*models.ProjectMembership, *errors.ServiceError)
- func (m *MockProjectService) CreateProject(ctx context.Context, orgID string, project *models.Project) (*models.Project, *errors.ServiceError)
- func (m *MockProjectService) DeleteProject(ctx context.Context, id string) *errors.ServiceError
- func (m *MockProjectService) EXPECT() *MockProjectServiceMockRecorder
- func (m *MockProjectService) GetProject(ctx context.Context, orgID, projectID string) (*models.Project, *errors.ServiceError)
- func (m *MockProjectService) GetProjectByOrgAndName(ctx context.Context, orgID, name string) (*models.Project, *errors.ServiceError)
- func (m *MockProjectService) InternalAddMember(ctx context.Context, projectID, userID string, role models.ProjectRole) (*models.ProjectMembership, *errors.ServiceError)
- func (m *MockProjectService) InternalCreateDefaultProject(ctx context.Context, orgID string) (*models.Project, *errors.ServiceError)
- func (m *MockProjectService) InternalGetProjectByOrgAndName(ctx context.Context, orgID, name string) (*models.Project, *errors.ServiceError)
- func (m *MockProjectService) InternalListUserProjects(ctx context.Context, userID, orgID string) ([]*models.ProjectMembership, *errors.ServiceError)
- func (m *MockProjectService) ListMembers(ctx context.Context, projectID string) ([]*models.ProjectMembership, *errors.ServiceError)
- func (m *MockProjectService) ListProjects(ctx context.Context, orgID string) ([]*models.Project, *errors.ServiceError)
- func (m *MockProjectService) ListUserProjects(ctx context.Context, userID string) ([]*models.ProjectMembership, *errors.ServiceError)
- func (m *MockProjectService) RemoveMember(ctx context.Context, membershipID string) *errors.ServiceError
- func (m *MockProjectService) UpdateMemberRole(ctx context.Context, membershipID string, role models.ProjectRole) (*models.ProjectMembership, *errors.ServiceError)
- func (m *MockProjectService) UpdateProject(ctx context.Context, id string, project *models.Project) (*models.Project, *errors.ServiceError)
- type MockProjectServiceMockRecorder
- func (mr *MockProjectServiceMockRecorder) AddMember(ctx, projectID, userID, role any) *gomock.Call
- func (mr *MockProjectServiceMockRecorder) CreateProject(ctx, orgID, project any) *gomock.Call
- func (mr *MockProjectServiceMockRecorder) DeleteProject(ctx, id any) *gomock.Call
- func (mr *MockProjectServiceMockRecorder) GetProject(ctx, orgID, projectID any) *gomock.Call
- func (mr *MockProjectServiceMockRecorder) GetProjectByOrgAndName(ctx, orgID, name any) *gomock.Call
- func (mr *MockProjectServiceMockRecorder) InternalAddMember(ctx, projectID, userID, role any) *gomock.Call
- func (mr *MockProjectServiceMockRecorder) InternalCreateDefaultProject(ctx, orgID any) *gomock.Call
- func (mr *MockProjectServiceMockRecorder) InternalGetProjectByOrgAndName(ctx, orgID, name any) *gomock.Call
- func (mr *MockProjectServiceMockRecorder) InternalListUserProjects(ctx, userID, orgID any) *gomock.Call
- func (mr *MockProjectServiceMockRecorder) ListMembers(ctx, projectID any) *gomock.Call
- func (mr *MockProjectServiceMockRecorder) ListProjects(ctx, orgID any) *gomock.Call
- func (mr *MockProjectServiceMockRecorder) ListUserProjects(ctx, userID any) *gomock.Call
- func (mr *MockProjectServiceMockRecorder) RemoveMember(ctx, membershipID any) *gomock.Call
- func (mr *MockProjectServiceMockRecorder) UpdateMemberRole(ctx, membershipID, role any) *gomock.Call
- func (mr *MockProjectServiceMockRecorder) UpdateProject(ctx, id, project any) *gomock.Call
- type MockProjectStore
- func (m *MockProjectStore) Create(ctx context.Context, project *models.Project) (*models.Project, *errors.ServiceError)
- func (m *MockProjectStore) Delete(ctx context.Context, id string) *errors.ServiceError
- func (m *MockProjectStore) EXPECT() *MockProjectStoreMockRecorder
- func (m *MockProjectStore) GetByID(ctx context.Context, id string) (*models.Project, *errors.ServiceError)
- func (m *MockProjectStore) GetByOrgAndName(ctx context.Context, orgID, name string) (*models.Project, *errors.ServiceError)
- func (m *MockProjectStore) GetDefaultProjectForOrg(ctx context.Context, orgID string) (*models.Project, *errors.ServiceError)
- func (m *MockProjectStore) ListByOrgID(ctx context.Context, orgID string) ([]*models.Project, *errors.ServiceError)
- func (m *MockProjectStore) Update(ctx context.Context, id string, project *models.Project) (*models.Project, *errors.ServiceError)
- type MockProjectStoreMockRecorder
- func (mr *MockProjectStoreMockRecorder) Create(ctx, project any) *gomock.Call
- func (mr *MockProjectStoreMockRecorder) Delete(ctx, id any) *gomock.Call
- func (mr *MockProjectStoreMockRecorder) GetByID(ctx, id any) *gomock.Call
- func (mr *MockProjectStoreMockRecorder) GetByOrgAndName(ctx, orgID, name any) *gomock.Call
- func (mr *MockProjectStoreMockRecorder) GetDefaultProjectForOrg(ctx, orgID any) *gomock.Call
- func (mr *MockProjectStoreMockRecorder) ListByOrgID(ctx, orgID any) *gomock.Call
- func (mr *MockProjectStoreMockRecorder) Update(ctx, id, project any) *gomock.Call
- type MockReferenceService
- func (m *MockReferenceService) EXPECT() *MockReferenceServiceMockRecorder
- func (m *MockReferenceService) IsReferentInUse(ctx context.Context, referentType models.ReferentType, referentID string) (bool, []models.ResourceReference, *errors.ServiceError)
- func (m *MockReferenceService) ProjectRelease(ctx context.Context, release *models.StackRelease) *errors.ServiceError
- func (m *MockReferenceService) ReprojectSpec(ctx context.Context, stackID string) *errors.ServiceError
- type MockReferenceServiceMockRecorder
- type MockRefreshTokenStore
- func (m *MockRefreshTokenStore) Create(ctx context.Context, token *models.RefreshToken) (*models.RefreshToken, *errors.ServiceError)
- func (m *MockRefreshTokenStore) EXPECT() *MockRefreshTokenStoreMockRecorder
- func (m *MockRefreshTokenStore) GetByTokenHash(ctx context.Context, hash string) (*models.RefreshToken, *errors.ServiceError)
- func (m *MockRefreshTokenStore) Revoke(ctx context.Context, id string) *errors.ServiceError
- func (m *MockRefreshTokenStore) RevokeAllForUser(ctx context.Context, userID string) *errors.ServiceError
- type MockRefreshTokenStoreMockRecorder
- func (mr *MockRefreshTokenStoreMockRecorder) Create(ctx, token any) *gomock.Call
- func (mr *MockRefreshTokenStoreMockRecorder) GetByTokenHash(ctx, hash any) *gomock.Call
- func (mr *MockRefreshTokenStoreMockRecorder) Revoke(ctx, id any) *gomock.Call
- func (mr *MockRefreshTokenStoreMockRecorder) RevokeAllForUser(ctx, userID any) *gomock.Call
- type MockRegistryClient
- type MockRegistryClientMockRecorder
- type MockRegistryCredentialStore
- func (m *MockRegistryCredentialStore) Create(ctx context.Context, credential *models.RegistryCredential) (*models.RegistryCredential, *errors.ServiceError)
- func (m *MockRegistryCredentialStore) Delete(ctx context.Context, ID string) *errors.ServiceError
- func (m *MockRegistryCredentialStore) EXPECT() *MockRegistryCredentialStoreMockRecorder
- func (m *MockRegistryCredentialStore) GetByID(ctx context.Context, ID string) (*models.RegistryCredential, *errors.ServiceError)
- func (m *MockRegistryCredentialStore) GetByOrgAndHost(ctx context.Context, organisationID, host string) ([]*models.RegistryCredential, *errors.ServiceError)
- func (m *MockRegistryCredentialStore) ListByOrgID(ctx context.Context, organisationID string) ([]*models.RegistryCredential, *errors.ServiceError)
- func (m *MockRegistryCredentialStore) Update(ctx context.Context, credential *models.RegistryCredential) (*models.RegistryCredential, *errors.ServiceError)
- type MockRegistryCredentialStoreMockRecorder
- func (mr *MockRegistryCredentialStoreMockRecorder) Create(ctx, credential any) *gomock.Call
- func (mr *MockRegistryCredentialStoreMockRecorder) Delete(ctx, ID any) *gomock.Call
- func (mr *MockRegistryCredentialStoreMockRecorder) GetByID(ctx, ID any) *gomock.Call
- func (mr *MockRegistryCredentialStoreMockRecorder) GetByOrgAndHost(ctx, organisationID, host any) *gomock.Call
- func (mr *MockRegistryCredentialStoreMockRecorder) ListByOrgID(ctx, organisationID any) *gomock.Call
- func (mr *MockRegistryCredentialStoreMockRecorder) Update(ctx, credential any) *gomock.Call
- type MockReleaseEventStore
- func (m *MockReleaseEventStore) EXPECT() *MockReleaseEventStoreMockRecorder
- func (m *MockReleaseEventStore) Insert(ctx context.Context, event *models.ReleaseEvent) (*models.ReleaseEvent, *errors.ServiceError)
- func (m *MockReleaseEventStore) InsertWithTx(ctx context.Context, event *models.ReleaseEvent) (*models.ReleaseEvent, *errors.ServiceError)
- func (m *MockReleaseEventStore) ListByReleaseID(ctx context.Context, releaseID string, afterSequence, limit int) ([]*models.ReleaseEvent, *errors.ServiceError)
- func (m *MockReleaseEventStore) WithTransaction(ctx context.Context, fn func(context.Context) *errors.ServiceError) *errors.ServiceError
- type MockReleaseEventStoreMockRecorder
- func (mr *MockReleaseEventStoreMockRecorder) Insert(ctx, event any) *gomock.Call
- func (mr *MockReleaseEventStoreMockRecorder) InsertWithTx(ctx, event any) *gomock.Call
- func (mr *MockReleaseEventStoreMockRecorder) ListByReleaseID(ctx, releaseID, afterSequence, limit any) *gomock.Call
- func (mr *MockReleaseEventStoreMockRecorder) WithTransaction(ctx, fn any) *gomock.Call
- type MockReleaseResolver
- func (m *MockReleaseResolver) EXPECT() *MockReleaseResolverMockRecorder
- func (m *MockReleaseResolver) InternalGet(ctx context.Context, releaseID string) (*models.StackRelease, *errors.ServiceError)
- func (m *MockReleaseResolver) InternalGetActiveByStackID(ctx context.Context, stackID string) (*models.StackRelease, *errors.ServiceError)
- func (m *MockReleaseResolver) InternalGetLatestByStackID(ctx context.Context, stackID string) (*models.StackRelease, *errors.ServiceError)
- type MockReleaseResolverMockRecorder
- type MockResourceAccessPolicyManager
- func (m *MockResourceAccessPolicyManager) AddGroupingPolicy(subject, role, domain string) error
- func (m *MockResourceAccessPolicyManager) AddPolicy(subject, domain, resource, action string) error
- func (m *MockResourceAccessPolicyManager) CheckPermission(subject, domain, resource, action string) (bool, error)
- func (m *MockResourceAccessPolicyManager) EXPECT() *MockResourceAccessPolicyManagerMockRecorder
- func (m *MockResourceAccessPolicyManager) HasGroupingPolicy(subject, role, domain string) (bool, error)
- func (m *MockResourceAccessPolicyManager) RefreshPolicies() error
- func (m *MockResourceAccessPolicyManager) RemoveFilteredPolicy(fieldIndex int, fieldValues ...string) error
- func (m *MockResourceAccessPolicyManager) RemoveGroupingPolicy(subject, role, domain string) error
- func (m *MockResourceAccessPolicyManager) RemovePolicy(subject, domain, resource, action string) error
- type MockResourceAccessPolicyManagerMockRecorder
- func (mr *MockResourceAccessPolicyManagerMockRecorder) AddGroupingPolicy(subject, role, domain any) *gomock.Call
- func (mr *MockResourceAccessPolicyManagerMockRecorder) AddPolicy(subject, domain, resource, action any) *gomock.Call
- func (mr *MockResourceAccessPolicyManagerMockRecorder) CheckPermission(subject, domain, resource, action any) *gomock.Call
- func (mr *MockResourceAccessPolicyManagerMockRecorder) HasGroupingPolicy(subject, role, domain any) *gomock.Call
- func (mr *MockResourceAccessPolicyManagerMockRecorder) RefreshPolicies() *gomock.Call
- func (mr *MockResourceAccessPolicyManagerMockRecorder) RemoveFilteredPolicy(fieldIndex any, fieldValues ...any) *gomock.Call
- func (mr *MockResourceAccessPolicyManagerMockRecorder) RemoveGroupingPolicy(subject, role, domain any) *gomock.Call
- func (mr *MockResourceAccessPolicyManagerMockRecorder) RemovePolicy(subject, domain, resource, action any) *gomock.Call
- type MockResourceReferenceStore
- func (m *MockResourceReferenceStore) EXPECT() *MockResourceReferenceStoreMockRecorder
- func (m *MockResourceReferenceStore) InsertReleaseWithTx(ctx context.Context, releaseID, stackID string, ...) *errors.ServiceError
- func (m *MockResourceReferenceStore) ListByReferent(ctx context.Context, referentType models.ReferentType, referentID string) ([]models.ResourceReference, *errors.ServiceError)
- func (m *MockResourceReferenceStore) ReplaceSpecWithTx(ctx context.Context, stackID string, refs []models.ResourceReference) *errors.ServiceError
- type MockResourceReferenceStoreMockRecorder
- func (mr *MockResourceReferenceStoreMockRecorder) InsertReleaseWithTx(ctx, releaseID, stackID, refs any) *gomock.Call
- func (mr *MockResourceReferenceStoreMockRecorder) ListByReferent(ctx, referentType, referentID any) *gomock.Call
- func (mr *MockResourceReferenceStoreMockRecorder) ReplaceSpecWithTx(ctx, stackID, refs any) *gomock.Call
- type MockResourceValidationRecordStore
- func (m *MockResourceValidationRecordStore) EXPECT() *MockResourceValidationRecordStoreMockRecorder
- func (m *MockResourceValidationRecordStore) Get(ctx context.Context, stackID, resourceName string, ...) (*models.ResourceValidationRecord, *errors.ServiceError)
- func (m *MockResourceValidationRecordStore) Upsert(ctx context.Context, record *models.ResourceValidationRecord) *errors.ServiceError
- type MockResourceValidationRecordStoreMockRecorder
- type MockSecretStore
- func (m *MockSecretStore) Create(ctx context.Context, secret *models.Secret) (*models.Secret, *errors.ServiceError)
- func (m *MockSecretStore) Delete(ctx context.Context, ID string) *errors.ServiceError
- func (m *MockSecretStore) EXPECT() *MockSecretStoreMockRecorder
- func (m *MockSecretStore) GetByID(ctx context.Context, ID string) (*models.Secret, *errors.ServiceError)
- func (m *MockSecretStore) GetByName(ctx context.Context, organisationID, name string) (*models.Secret, *errors.ServiceError)
- func (m *MockSecretStore) GetSecretKeys(ctx context.Context, secretID string) ([]string, *errors.ServiceError)
- func (m *MockSecretStore) ListByOrganisation(ctx context.Context, organisationID string, params stores.ListParams) ([]*models.Secret, *errors.ServiceError)
- func (m *MockSecretStore) ListByProjectID(ctx context.Context, projectID string, params stores.ListParams) ([]*models.Secret, *errors.ServiceError)
- func (m *MockSecretStore) ListByProjectIDs(ctx context.Context, projectIDs []string, params stores.ListParams) ([]*models.Secret, *errors.ServiceError)
- func (m *MockSecretStore) ListByType(ctx context.Context, organisationID, secretType models.SecretType) ([]*models.Secret, *errors.ServiceError)
- func (m *MockSecretStore) ListByUser(ctx context.Context, organisationID, userID string) ([]*models.Secret, *errors.ServiceError)
- func (m *MockSecretStore) Update(ctx context.Context, secret *models.Secret) (*models.Secret, *errors.ServiceError)
- func (m *MockSecretStore) UpdateEncryptedData(ctx context.Context, secretID, encryptedData string, keys []string, ...) *errors.ServiceError
- func (m *MockSecretStore) ValidateSecretExists(ctx context.Context, secretID string) (bool, *errors.ServiceError)
- func (m *MockSecretStore) ValidateSecretHasKeys(ctx context.Context, secretID string, requiredKeys []string) (bool, []string, *errors.ServiceError)
- type MockSecretStoreMockRecorder
- func (mr *MockSecretStoreMockRecorder) Create(ctx, secret any) *gomock.Call
- func (mr *MockSecretStoreMockRecorder) Delete(ctx, ID any) *gomock.Call
- func (mr *MockSecretStoreMockRecorder) GetByID(ctx, ID any) *gomock.Call
- func (mr *MockSecretStoreMockRecorder) GetByName(ctx, organisationID, name any) *gomock.Call
- func (mr *MockSecretStoreMockRecorder) GetSecretKeys(ctx, secretID any) *gomock.Call
- func (mr *MockSecretStoreMockRecorder) ListByOrganisation(ctx, organisationID, params any) *gomock.Call
- func (mr *MockSecretStoreMockRecorder) ListByProjectID(ctx, projectID, params any) *gomock.Call
- func (mr *MockSecretStoreMockRecorder) ListByProjectIDs(ctx, projectIDs, params any) *gomock.Call
- func (mr *MockSecretStoreMockRecorder) ListByType(ctx, organisationID, secretType any) *gomock.Call
- func (mr *MockSecretStoreMockRecorder) ListByUser(ctx, organisationID, userID any) *gomock.Call
- func (mr *MockSecretStoreMockRecorder) Update(ctx, secret any) *gomock.Call
- func (mr *MockSecretStoreMockRecorder) UpdateEncryptedData(ctx, secretID, encryptedData, keys, dataHash any) *gomock.Call
- func (mr *MockSecretStoreMockRecorder) ValidateSecretExists(ctx, secretID any) *gomock.Call
- func (mr *MockSecretStoreMockRecorder) ValidateSecretHasKeys(ctx, secretID, requiredKeys any) *gomock.Call
- type MockStackDomainsService
- func (m *MockStackDomainsService) Create(ctx context.Context, spec *models.StackDomain) (*models.StackDomain, *errors.ServiceError)
- func (m *MockStackDomainsService) Delete(ctx context.Context, id string) *errors.ServiceError
- func (m *MockStackDomainsService) EXPECT() *MockStackDomainsServiceMockRecorder
- func (m *MockStackDomainsService) Get(ctx context.Context, id string) (*models.StackDomain, *errors.ServiceError)
- func (m *MockStackDomainsService) GetByFqdn(ctx context.Context, fqdn string) (*models.StackDomain, *errors.ServiceError)
- func (m *MockStackDomainsService) InternalCreateWithTx(ctx context.Context, spec *models.StackDomain) (*models.StackDomain, *errors.ServiceError)
- func (m *MockStackDomainsService) InternalDeleteDomainsForResourceWithTx(ctx context.Context, resourceID string) *errors.ServiceError
- func (m *MockStackDomainsService) InternalDeleteWithTx(ctx context.Context, id string) *errors.ServiceError
- func (m *MockStackDomainsService) ListByFqdnPrefix(ctx context.Context, prefix string) ([]*models.StackDomain, *errors.ServiceError)
- func (m *MockStackDomainsService) PopulateAndSaveExposedPortDomainsForResourceWithTx(ctx context.Context, stack *models.Stack, resource *models.StackResource) *errors.ServiceError
- type MockStackDomainsServiceMockRecorder
- func (mr *MockStackDomainsServiceMockRecorder) Create(ctx, spec any) *gomock.Call
- func (mr *MockStackDomainsServiceMockRecorder) Delete(ctx, id any) *gomock.Call
- func (mr *MockStackDomainsServiceMockRecorder) Get(ctx, id any) *gomock.Call
- func (mr *MockStackDomainsServiceMockRecorder) GetByFqdn(ctx, fqdn any) *gomock.Call
- func (mr *MockStackDomainsServiceMockRecorder) InternalCreateWithTx(ctx, spec any) *gomock.Call
- func (mr *MockStackDomainsServiceMockRecorder) InternalDeleteDomainsForResourceWithTx(ctx, resourceID any) *gomock.Call
- func (mr *MockStackDomainsServiceMockRecorder) InternalDeleteWithTx(ctx, id any) *gomock.Call
- func (mr *MockStackDomainsServiceMockRecorder) ListByFqdnPrefix(ctx, prefix any) *gomock.Call
- func (mr *MockStackDomainsServiceMockRecorder) PopulateAndSaveExposedPortDomainsForResourceWithTx(ctx, stack, resource any) *gomock.Call
- type MockStackDomainsStore
- func (m *MockStackDomainsStore) BulkCreate(ctx context.Context, domains []*models.StackDomain) (models.StackDomainList, *errors.ServiceError)
- func (m *MockStackDomainsStore) Create(ctx context.Context, domain *models.StackDomain) (*models.StackDomain, *errors.ServiceError)
- func (m *MockStackDomainsStore) CreateWithTx(ctx context.Context, domain *models.StackDomain) (*models.StackDomain, *errors.ServiceError)
- func (m *MockStackDomainsStore) Delete(ctx context.Context, id string) *errors.ServiceError
- func (m *MockStackDomainsStore) DeleteForStackResourceAndPort(ctx context.Context, stackResourceID string, port int) *errors.ServiceError
- func (m *MockStackDomainsStore) DeleteForStackResourceAndPortWithTx(ctx context.Context, stackResourceID string, port int) *errors.ServiceError
- func (m *MockStackDomainsStore) DeleteWithTx(ctx context.Context, id string) *errors.ServiceError
- func (m *MockStackDomainsStore) EXPECT() *MockStackDomainsStoreMockRecorder
- func (m *MockStackDomainsStore) Get(ctx context.Context, id string) (*models.StackDomain, *errors.ServiceError)
- func (m *MockStackDomainsStore) GetByFqdn(ctx context.Context, fqdn string) (*models.StackDomain, *errors.ServiceError)
- func (m *MockStackDomainsStore) GetByStackResourceAndPort(ctx context.Context, stackResourceID string, port int) (*models.StackDomain, *errors.ServiceError)
- func (m *MockStackDomainsStore) ListByFqdnPrefix(ctx context.Context, prefix string) (models.StackDomainList, *errors.ServiceError)
- func (m *MockStackDomainsStore) ListByOrganisationID(ctx context.Context, organisationID string) (models.StackDomainList, *errors.ServiceError)
- func (m *MockStackDomainsStore) ListByStackID(ctx context.Context, stackID string) (models.StackDomainList, *errors.ServiceError)
- func (m *MockStackDomainsStore) ListByStackResourceID(ctx context.Context, stackResourceID string) (models.StackDomainList, *errors.ServiceError)
- func (m *MockStackDomainsStore) Update(ctx context.Context, id string, domain *models.StackDomain) (*models.StackDomain, *errors.ServiceError)
- type MockStackDomainsStoreMockRecorder
- func (mr *MockStackDomainsStoreMockRecorder) BulkCreate(ctx, domains any) *gomock.Call
- func (mr *MockStackDomainsStoreMockRecorder) Create(ctx, domain any) *gomock.Call
- func (mr *MockStackDomainsStoreMockRecorder) CreateWithTx(ctx, domain any) *gomock.Call
- func (mr *MockStackDomainsStoreMockRecorder) Delete(ctx, id any) *gomock.Call
- func (mr *MockStackDomainsStoreMockRecorder) DeleteForStackResourceAndPort(ctx, stackResourceID, port any) *gomock.Call
- func (mr *MockStackDomainsStoreMockRecorder) DeleteForStackResourceAndPortWithTx(ctx, stackResourceID, port any) *gomock.Call
- func (mr *MockStackDomainsStoreMockRecorder) DeleteWithTx(ctx, id any) *gomock.Call
- func (mr *MockStackDomainsStoreMockRecorder) Get(ctx, id any) *gomock.Call
- func (mr *MockStackDomainsStoreMockRecorder) GetByFqdn(ctx, fqdn any) *gomock.Call
- func (mr *MockStackDomainsStoreMockRecorder) GetByStackResourceAndPort(ctx, stackResourceID, port any) *gomock.Call
- func (mr *MockStackDomainsStoreMockRecorder) ListByFqdnPrefix(ctx, prefix any) *gomock.Call
- func (mr *MockStackDomainsStoreMockRecorder) ListByOrganisationID(ctx, organisationID any) *gomock.Call
- func (mr *MockStackDomainsStoreMockRecorder) ListByStackID(ctx, stackID any) *gomock.Call
- func (mr *MockStackDomainsStoreMockRecorder) ListByStackResourceID(ctx, stackResourceID any) *gomock.Call
- func (mr *MockStackDomainsStoreMockRecorder) Update(ctx, id, domain any) *gomock.Call
- type MockStackPreviewConfigStore
- func (m *MockStackPreviewConfigStore) Create(ctx context.Context, config *models.StackPreviewConfig) (*models.StackPreviewConfig, *errors.ServiceError)
- func (m *MockStackPreviewConfigStore) Delete(ctx context.Context, id string) *errors.ServiceError
- func (m *MockStackPreviewConfigStore) EXPECT() *MockStackPreviewConfigStoreMockRecorder
- func (m *MockStackPreviewConfigStore) GetByID(ctx context.Context, id string) (*models.StackPreviewConfig, *errors.ServiceError)
- func (m *MockStackPreviewConfigStore) GetByOrgAndRepo(ctx context.Context, organisationID, normalizedRepoURL string) (*models.StackPreviewConfig, *errors.ServiceError)
- func (m *MockStackPreviewConfigStore) GetByProjectAndName(ctx context.Context, projectID, name string) (*models.StackPreviewConfig, *errors.ServiceError)
- func (m *MockStackPreviewConfigStore) ListByProjectID(ctx context.Context, projectID string, params stores.ListParams) (*stores.PaginatedResult[*models.StackPreviewConfig], *errors.ServiceError)
- func (m *MockStackPreviewConfigStore) Update(ctx context.Context, config *models.StackPreviewConfig) (*models.StackPreviewConfig, *errors.ServiceError)
- func (m *MockStackPreviewConfigStore) WithTransaction(ctx context.Context, fn func(context.Context) *errors.ServiceError) *errors.ServiceError
- type MockStackPreviewConfigStoreMockRecorder
- func (mr *MockStackPreviewConfigStoreMockRecorder) Create(ctx, config any) *gomock.Call
- func (mr *MockStackPreviewConfigStoreMockRecorder) Delete(ctx, id any) *gomock.Call
- func (mr *MockStackPreviewConfigStoreMockRecorder) GetByID(ctx, id any) *gomock.Call
- func (mr *MockStackPreviewConfigStoreMockRecorder) GetByOrgAndRepo(ctx, organisationID, normalizedRepoURL any) *gomock.Call
- func (mr *MockStackPreviewConfigStoreMockRecorder) GetByProjectAndName(ctx, projectID, name any) *gomock.Call
- func (mr *MockStackPreviewConfigStoreMockRecorder) ListByProjectID(ctx, projectID, params any) *gomock.Call
- func (mr *MockStackPreviewConfigStoreMockRecorder) Update(ctx, config any) *gomock.Call
- func (mr *MockStackPreviewConfigStoreMockRecorder) WithTransaction(ctx, fn any) *gomock.Call
- type MockStackReleaseStore
- func (m *MockStackReleaseStore) AppendImageDigests(ctx context.Context, id string, digests map[string]string) *errors.ServiceError
- func (m *MockStackReleaseStore) Cancel(ctx context.Context, id string) (bool, *errors.ServiceError)
- func (m *MockStackReleaseStore) Create(ctx context.Context, release *models.StackRelease) (*models.StackRelease, *errors.ServiceError)
- func (m *MockStackReleaseStore) DeleteByIDs(ctx context.Context, ids []string) *errors.ServiceError
- func (m *MockStackReleaseStore) EXPECT() *MockStackReleaseStoreMockRecorder
- func (m *MockStackReleaseStore) GetActiveByStackID(ctx context.Context, stackID string) (*models.StackRelease, *errors.ServiceError)
- func (m *MockStackReleaseStore) GetByID(ctx context.Context, id string) (*models.StackRelease, *errors.ServiceError)
- func (m *MockStackReleaseStore) GetByIDs(ctx context.Context, ids []string) (map[string]*models.StackRelease, *errors.ServiceError)
- func (m *MockStackReleaseStore) GetLatestByStackID(ctx context.Context, stackID string) (*models.StackRelease, *errors.ServiceError)
- func (m *MockStackReleaseStore) GetLatestByStackIDs(ctx context.Context, stackIDs []string) (map[string]*models.StackRelease, *errors.ServiceError)
- func (m *MockStackReleaseStore) ListActive(ctx context.Context) ([]*models.StackRelease, *errors.ServiceError)
- func (m *MockStackReleaseStore) ListByStackID(ctx context.Context, stackID string, params stores.ListParams) (*stores.PaginatedResult[*models.StackRelease], *errors.ServiceError)
- func (m *MockStackReleaseStore) ListStackIDsExceedingRetention(ctx context.Context, cap int) ([]string, *errors.ServiceError)
- func (m *MockStackReleaseStore) ListTerminalSummariesByStackID(ctx context.Context, stackID string) ([]models.ReleaseSummary, *errors.ServiceError)
- func (m *MockStackReleaseStore) MarkCancelled(ctx context.Context, id, reason string) (bool, *errors.ServiceError)
- func (m *MockStackReleaseStore) MarkFailed(ctx context.Context, id, message string, outcome *models.ReleaseOutcome) (bool, *errors.ServiceError)
- func (m *MockStackReleaseStore) MarkFailedWithValidationErrors(ctx context.Context, id, message string, verrs models.ReleaseValidationErrors) (bool, *errors.ServiceError)
- func (m *MockStackReleaseStore) MarkInProgress(ctx context.Context, id string) (bool, *errors.ServiceError)
- func (m *MockStackReleaseStore) MarkReleased(ctx context.Context, id string, outcome models.ReleaseOutcome) (bool, *errors.ServiceError)
- func (m *MockStackReleaseStore) MarkSuperseded(ctx context.Context, id, reason string) (bool, *errors.ServiceError)
- func (m_2 *MockStackReleaseStore) SaveManifest(ctx context.Context, id string, m *models.ReleaseManifest, rev string, ...) (bool, *errors.ServiceError)
- func (m *MockStackReleaseStore) SetConvergeClockStartedAt(ctx context.Context, id string, startedAt *time.Time) *errors.ServiceError
- func (m *MockStackReleaseStore) WithTransaction(ctx context.Context, fn func(context.Context) *errors.ServiceError) *errors.ServiceError
- type MockStackReleaseStoreMockRecorder
- func (mr *MockStackReleaseStoreMockRecorder) AppendImageDigests(ctx, id, digests any) *gomock.Call
- func (mr *MockStackReleaseStoreMockRecorder) Cancel(ctx, id any) *gomock.Call
- func (mr *MockStackReleaseStoreMockRecorder) Create(ctx, release any) *gomock.Call
- func (mr *MockStackReleaseStoreMockRecorder) DeleteByIDs(ctx, ids any) *gomock.Call
- func (mr *MockStackReleaseStoreMockRecorder) GetActiveByStackID(ctx, stackID any) *gomock.Call
- func (mr *MockStackReleaseStoreMockRecorder) GetByID(ctx, id any) *gomock.Call
- func (mr *MockStackReleaseStoreMockRecorder) GetByIDs(ctx, ids any) *gomock.Call
- func (mr *MockStackReleaseStoreMockRecorder) GetLatestByStackID(ctx, stackID any) *gomock.Call
- func (mr *MockStackReleaseStoreMockRecorder) GetLatestByStackIDs(ctx, stackIDs any) *gomock.Call
- func (mr *MockStackReleaseStoreMockRecorder) ListActive(ctx any) *gomock.Call
- func (mr *MockStackReleaseStoreMockRecorder) ListByStackID(ctx, stackID, params any) *gomock.Call
- func (mr *MockStackReleaseStoreMockRecorder) ListStackIDsExceedingRetention(ctx, cap any) *gomock.Call
- func (mr *MockStackReleaseStoreMockRecorder) ListTerminalSummariesByStackID(ctx, stackID any) *gomock.Call
- func (mr *MockStackReleaseStoreMockRecorder) MarkCancelled(ctx, id, reason any) *gomock.Call
- func (mr *MockStackReleaseStoreMockRecorder) MarkFailed(ctx, id, message, outcome any) *gomock.Call
- func (mr *MockStackReleaseStoreMockRecorder) MarkFailedWithValidationErrors(ctx, id, message, verrs any) *gomock.Call
- func (mr *MockStackReleaseStoreMockRecorder) MarkInProgress(ctx, id any) *gomock.Call
- func (mr *MockStackReleaseStoreMockRecorder) MarkReleased(ctx, id, outcome any) *gomock.Call
- func (mr *MockStackReleaseStoreMockRecorder) MarkSuperseded(ctx, id, reason any) *gomock.Call
- func (mr *MockStackReleaseStoreMockRecorder) SaveManifest(ctx, id, m, rev, pins, rendererVersion any) *gomock.Call
- func (mr *MockStackReleaseStoreMockRecorder) SetConvergeClockStartedAt(ctx, id, startedAt any) *gomock.Call
- func (mr *MockStackReleaseStoreMockRecorder) WithTransaction(ctx, fn any) *gomock.Call
- type MockStackResourceService
- func (m *MockStackResourceService) Create(ctx context.Context, resource *models.StackResource) (*models.StackResource, *errors.ServiceError)
- func (m *MockStackResourceService) Delete(ctx context.Context, stackID, resourceName string) *errors.ServiceError
- func (m *MockStackResourceService) EXPECT() *MockStackResourceServiceMockRecorder
- func (m *MockStackResourceService) GetByID(ctx context.Context, ID string) (*models.StackResource, *errors.ServiceError)
- func (m *MockStackResourceService) GetByStackID(ctx context.Context, stackID string) ([]*models.StackResource, *errors.ServiceError)
- func (m *MockStackResourceService) GetByStackIDAndResourceName(ctx context.Context, stackID, resourceName string) (*models.StackResource, *errors.ServiceError)
- func (m *MockStackResourceService) InjectClusterManager(clusterManager clustermanager.ClusterManager)
- func (m *MockStackResourceService) InternalCreateWithTx(ctx context.Context, stack *models.Stack, resource *models.StackResource) (*models.StackResource, *errors.ServiceError)
- func (m *MockStackResourceService) InternalDeleteWithTx(ctx context.Context, resourceID string) *errors.ServiceError
- func (m *MockStackResourceService) InternalGetByStackIDAndResourceName(ctx context.Context, stackID, resourceName string) (*models.StackResource, *errors.ServiceError)
- func (m *MockStackResourceService) InternalSyncResourcesWithTx(ctx context.Context, stack, existingStack *models.Stack, ...) *errors.ServiceError
- func (m *MockStackResourceService) InternalUpdateWithTx(ctx context.Context, stack *models.Stack, resourceID string, ...) (*models.StackResource, *errors.ServiceError)
- func (m *MockStackResourceService) Restart(ctx context.Context, stackID, resourceName string) (*models.StackResource, *errors.ServiceError)
- func (m *MockStackResourceService) Update(ctx context.Context, stackID, resourceName string, ...) (*models.StackResource, *errors.ServiceError)
- func (m *MockStackResourceService) UpdateStatus(ctx context.Context, resourceID string, status *models.StackResourceStatus) *errors.ServiceError
- type MockStackResourceServiceMockRecorder
- func (mr *MockStackResourceServiceMockRecorder) Create(ctx, resource any) *gomock.Call
- func (mr *MockStackResourceServiceMockRecorder) Delete(ctx, stackID, resourceName any) *gomock.Call
- func (mr *MockStackResourceServiceMockRecorder) GetByID(ctx, ID any) *gomock.Call
- func (mr *MockStackResourceServiceMockRecorder) GetByStackID(ctx, stackID any) *gomock.Call
- func (mr *MockStackResourceServiceMockRecorder) GetByStackIDAndResourceName(ctx, stackID, resourceName any) *gomock.Call
- func (mr *MockStackResourceServiceMockRecorder) InjectClusterManager(clusterManager any) *gomock.Call
- func (mr *MockStackResourceServiceMockRecorder) InternalCreateWithTx(ctx, stack, resource any) *gomock.Call
- func (mr *MockStackResourceServiceMockRecorder) InternalDeleteWithTx(ctx, resourceID any) *gomock.Call
- func (mr *MockStackResourceServiceMockRecorder) InternalGetByStackIDAndResourceName(ctx, stackID, resourceName any) *gomock.Call
- func (mr *MockStackResourceServiceMockRecorder) InternalSyncResourcesWithTx(ctx, stack, existingStack, desired any) *gomock.Call
- func (mr *MockStackResourceServiceMockRecorder) InternalUpdateWithTx(ctx, stack, resourceID, resource any) *gomock.Call
- func (mr *MockStackResourceServiceMockRecorder) Restart(ctx, stackID, resourceName any) *gomock.Call
- func (mr *MockStackResourceServiceMockRecorder) Update(ctx, stackID, resourceName, resource any) *gomock.Call
- func (mr *MockStackResourceServiceMockRecorder) UpdateStatus(ctx, resourceID, status any) *gomock.Call
- type MockStackResourceStore
- func (m *MockStackResourceStore) Create(ctx context.Context, resource *models.StackResource) (*models.StackResource, *errors.ServiceError)
- func (m *MockStackResourceStore) CreateWithTx(ctx context.Context, resource *models.StackResource, stack *models.Stack) (*models.StackResource, *errors.ServiceError)
- func (m *MockStackResourceStore) Delete(ctx context.Context, ID string) *errors.ServiceError
- func (m *MockStackResourceStore) DeleteWithTx(ctx context.Context, ID string) *errors.ServiceError
- func (m *MockStackResourceStore) EXPECT() *MockStackResourceStoreMockRecorder
- func (m *MockStackResourceStore) GetByID(ctx context.Context, ID string) (*models.StackResource, *errors.ServiceError)
- func (m *MockStackResourceStore) GetByStackID(ctx context.Context, stackID string) ([]*models.StackResource, *errors.ServiceError)
- func (m *MockStackResourceStore) GetByStackIDAndResourceName(ctx context.Context, stackID, resourceName string) (*models.StackResource, *errors.ServiceError)
- func (m *MockStackResourceStore) Update(ctx context.Context, resourceID string, resource *models.StackResource, ...) (*models.StackResource, *errors.ServiceError)
- func (m *MockStackResourceStore) UpdatePortsWithTx(ctx context.Context, resourceID string, resource *models.StackResource) *errors.ServiceError
- func (m *MockStackResourceStore) UpdateStatus(ctx context.Context, resourceID string, status *models.StackResourceStatus) *errors.ServiceError
- func (m *MockStackResourceStore) UpdateWithTx(ctx context.Context, resourceID string, resource *models.StackResource, ...) (*models.StackResource, *errors.ServiceError)
- type MockStackResourceStoreMockRecorder
- func (mr *MockStackResourceStoreMockRecorder) Create(ctx, resource any) *gomock.Call
- func (mr *MockStackResourceStoreMockRecorder) CreateWithTx(ctx, resource, stack any) *gomock.Call
- func (mr *MockStackResourceStoreMockRecorder) Delete(ctx, ID any) *gomock.Call
- func (mr *MockStackResourceStoreMockRecorder) DeleteWithTx(ctx, ID any) *gomock.Call
- func (mr *MockStackResourceStoreMockRecorder) GetByID(ctx, ID any) *gomock.Call
- func (mr *MockStackResourceStoreMockRecorder) GetByStackID(ctx, stackID any) *gomock.Call
- func (mr *MockStackResourceStoreMockRecorder) GetByStackIDAndResourceName(ctx, stackID, resourceName any) *gomock.Call
- func (mr *MockStackResourceStoreMockRecorder) Update(ctx, resourceID, resource, stack any) *gomock.Call
- func (mr *MockStackResourceStoreMockRecorder) UpdatePortsWithTx(ctx, resourceID, resource any) *gomock.Call
- func (mr *MockStackResourceStoreMockRecorder) UpdateStatus(ctx, resourceID, status any) *gomock.Call
- func (mr *MockStackResourceStoreMockRecorder) UpdateWithTx(ctx, resourceID, resource, stack any) *gomock.Call
- type MockStackStore
- func (m *MockStackStore) Create(ctx context.Context, spec *models.Stack) (*models.Stack, *errors.ServiceError)
- func (m *MockStackStore) CreateConnectionWithTx(ctx context.Context, id string, connection *models.StackConnection) (*models.StackConnection, *errors.ServiceError)
- func (m *MockStackStore) CreateWithTx(ctx context.Context, spec *models.Stack) (*models.Stack, *errors.ServiceError)
- func (m *MockStackStore) Delete(ctx context.Context, id string) *errors.ServiceError
- func (m *MockStackStore) DeleteConnectionWithTx(ctx context.Context, id, connectionID string) *errors.ServiceError
- func (m *MockStackStore) DeleteWithTx(ctx context.Context, id string) *errors.ServiceError
- func (m *MockStackStore) EXPECT() *MockStackStoreMockRecorder
- func (m *MockStackStore) GetByID(ctx context.Context, id string) (*models.Stack, *errors.ServiceError)
- func (m *MockStackStore) GetByNameAndProjectID(ctx context.Context, name, projectID string) (*models.Stack, *errors.ServiceError)
- func (m *MockStackStore) InternalList(ctx context.Context, query string, args ...any) ([]*models.Stack, *errors.ServiceError)
- func (m *MockStackStore) ListByOrganisationID(ctx context.Context, organisationID string) ([]*models.Stack, *errors.ServiceError)
- func (m *MockStackStore) ListByProjectID(ctx context.Context, projectID string) ([]*models.Stack, *errors.ServiceError)
- func (m *MockStackStore) ListByProjectIDs(ctx context.Context, projectIDs []string) ([]*models.Stack, *errors.ServiceError)
- func (m *MockStackStore) ListByUserID(ctx context.Context, userID string) ([]*models.Stack, *errors.ServiceError)
- func (m *MockStackStore) LockByID(ctx context.Context, id string) *errors.ServiceError
- func (m *MockStackStore) Update(ctx context.Context, id string, spec *models.Stack) (*models.Stack, *errors.ServiceError)
- func (m *MockStackStore) UpdateConnectionWithTx(ctx context.Context, id, connectionID string, ...) (*models.StackConnection, *errors.ServiceError)
- func (m *MockStackStore) UpdateConnectionsWithTx(ctx context.Context, id string, connections models.StackConnections) *errors.ServiceError
- func (m *MockStackStore) UpdateForDelete(ctx context.Context, id string, spec *models.Stack) (*models.Stack, *errors.ServiceError)
- func (m *MockStackStore) UpdateRevision(ctx context.Context, id, revision string) *errors.ServiceError
- func (m *MockStackStore) UpdateShellWithTx(ctx context.Context, id string, spec *models.Stack) (*models.Stack, *errors.ServiceError)
- func (m *MockStackStore) UpdateStatus(ctx context.Context, id string, status *models.StackStatus) *errors.ServiceError
- func (m *MockStackStore) UpdateWithTx(ctx context.Context, id string, spec *models.Stack) (*models.Stack, *errors.ServiceError)
- func (m *MockStackStore) WithTransaction(ctx context.Context, fn func(context.Context) *errors.ServiceError) *errors.ServiceError
- type MockStackStoreMockRecorder
- func (mr *MockStackStoreMockRecorder) Create(ctx, spec any) *gomock.Call
- func (mr *MockStackStoreMockRecorder) CreateConnectionWithTx(ctx, id, connection any) *gomock.Call
- func (mr *MockStackStoreMockRecorder) CreateWithTx(ctx, spec any) *gomock.Call
- func (mr *MockStackStoreMockRecorder) Delete(ctx, id any) *gomock.Call
- func (mr *MockStackStoreMockRecorder) DeleteConnectionWithTx(ctx, id, connectionID any) *gomock.Call
- func (mr *MockStackStoreMockRecorder) DeleteWithTx(ctx, id any) *gomock.Call
- func (mr *MockStackStoreMockRecorder) GetByID(ctx, id any) *gomock.Call
- func (mr *MockStackStoreMockRecorder) GetByNameAndProjectID(ctx, name, projectID any) *gomock.Call
- func (mr *MockStackStoreMockRecorder) InternalList(ctx, query any, args ...any) *gomock.Call
- func (mr *MockStackStoreMockRecorder) ListByOrganisationID(ctx, organisationID any) *gomock.Call
- func (mr *MockStackStoreMockRecorder) ListByProjectID(ctx, projectID any) *gomock.Call
- func (mr *MockStackStoreMockRecorder) ListByProjectIDs(ctx, projectIDs any) *gomock.Call
- func (mr *MockStackStoreMockRecorder) ListByUserID(ctx, userID any) *gomock.Call
- func (mr *MockStackStoreMockRecorder) LockByID(ctx, id any) *gomock.Call
- func (mr *MockStackStoreMockRecorder) Update(ctx, id, spec any) *gomock.Call
- func (mr *MockStackStoreMockRecorder) UpdateConnectionWithTx(ctx, id, connectionID, connection any) *gomock.Call
- func (mr *MockStackStoreMockRecorder) UpdateConnectionsWithTx(ctx, id, connections any) *gomock.Call
- func (mr *MockStackStoreMockRecorder) UpdateForDelete(ctx, id, spec any) *gomock.Call
- func (mr *MockStackStoreMockRecorder) UpdateRevision(ctx, id, revision any) *gomock.Call
- func (mr *MockStackStoreMockRecorder) UpdateShellWithTx(ctx, id, spec any) *gomock.Call
- func (mr *MockStackStoreMockRecorder) UpdateStatus(ctx, id, status any) *gomock.Call
- func (mr *MockStackStoreMockRecorder) UpdateWithTx(ctx, id, spec any) *gomock.Call
- func (mr *MockStackStoreMockRecorder) WithTransaction(ctx, fn any) *gomock.Call
- type MockStackValidator
- func (m *MockStackValidator) EXPECT() *MockStackValidatorMockRecorder
- func (m *MockStackValidator) ValidateConnections(ctx context.Context, spec *models.Stack) *errors.ServiceError
- func (m *MockStackValidator) ValidateForCreate(ctx context.Context, spec *models.Stack) *errors.ServiceError
- func (m *MockStackValidator) ValidateForUpdate(ctx context.Context, existing, spec *models.Stack) *errors.ServiceError
- func (m *MockStackValidator) ValidateShell(ctx context.Context, spec *models.Stack) *errors.ServiceError
- type MockStackValidatorMockRecorder
- func (mr *MockStackValidatorMockRecorder) ValidateConnections(ctx, spec any) *gomock.Call
- func (mr *MockStackValidatorMockRecorder) ValidateForCreate(ctx, spec any) *gomock.Call
- func (mr *MockStackValidatorMockRecorder) ValidateForUpdate(ctx, existing, spec any) *gomock.Call
- func (mr *MockStackValidatorMockRecorder) ValidateShell(ctx, spec any) *gomock.Call
- type MockStackVolumeStore
- func (m *MockStackVolumeStore) Create(ctx context.Context, sv *models.StackVolume) *errors.ServiceError
- func (m *MockStackVolumeStore) CreateWithTx(ctx context.Context, sv *models.StackVolume) *errors.ServiceError
- func (m *MockStackVolumeStore) Delete(ctx context.Context, stackID, volumeID string) *errors.ServiceError
- func (m *MockStackVolumeStore) DeleteWithTx(ctx context.Context, stackID, volumeID string) *errors.ServiceError
- func (m *MockStackVolumeStore) EXPECT() *MockStackVolumeStoreMockRecorder
- func (m *MockStackVolumeStore) GetByVolumeID(ctx context.Context, volumeID string) (*models.StackVolume, *errors.ServiceError)
- func (m *MockStackVolumeStore) ListVolumesByStackID(ctx context.Context, stackID string) ([]*models.Volume, *errors.ServiceError)
- type MockStackVolumeStoreMockRecorder
- func (mr *MockStackVolumeStoreMockRecorder) Create(ctx, sv any) *gomock.Call
- func (mr *MockStackVolumeStoreMockRecorder) CreateWithTx(ctx, sv any) *gomock.Call
- func (mr *MockStackVolumeStoreMockRecorder) Delete(ctx, stackID, volumeID any) *gomock.Call
- func (mr *MockStackVolumeStoreMockRecorder) DeleteWithTx(ctx, stackID, volumeID any) *gomock.Call
- func (mr *MockStackVolumeStoreMockRecorder) GetByVolumeID(ctx, volumeID any) *gomock.Call
- func (mr *MockStackVolumeStoreMockRecorder) ListVolumesByStackID(ctx, stackID any) *gomock.Call
- type MockUserService
- func (m *MockUserService) EXPECT() *MockUserServiceMockRecorder
- func (m *MockUserService) Get(ctx context.Context, ID string) (*models.User, *errors.ServiceError)
- func (m *MockUserService) GetUserFromContext(ctx context.Context) (*models.User, []*models.ProjectMembership, *errors.ServiceError)
- func (m *MockUserService) InternalCreate(ctx context.Context, user *models.User) (*models.User, *errors.ServiceError)
- func (m *MockUserService) InternalCreateInvitedOAuthUser(ctx context.Context, email, name, githubID, avatarURL string, ...) (*models.User, error)
- func (m *MockUserService) InternalCreateInvitedUser(ctx context.Context, user *models.User, invite *models.OrgInvite) (*models.User, *errors.ServiceError)
- func (m *MockUserService) InternalCreateOAuthUser(ctx context.Context, email, name, githubID, avatarURL string) (*models.User, error)
- func (m *MockUserService) InternalGet(ctx context.Context, ID string) (*models.User, *errors.ServiceError)
- func (m *MockUserService) InternalGetByEmail(ctx context.Context, email string) (*models.User, *errors.ServiceError)
- func (m *MockUserService) ListByOrgID(ctx context.Context, orgID string, params stores.ListParams) (*stores.PaginatedResult[*models.User], *errors.ServiceError)
- func (m *MockUserService) Login(ctx context.Context, loginRequest *openapi.LoginRequest) (*openapi.LoginResponse, *errors.ServiceError)
- type MockUserServiceMockRecorder
- func (mr *MockUserServiceMockRecorder) Get(ctx, ID any) *gomock.Call
- func (mr *MockUserServiceMockRecorder) GetUserFromContext(ctx any) *gomock.Call
- func (mr *MockUserServiceMockRecorder) InternalCreate(ctx, user any) *gomock.Call
- func (mr *MockUserServiceMockRecorder) InternalCreateInvitedOAuthUser(ctx, email, name, githubID, avatarURL, invite any) *gomock.Call
- func (mr *MockUserServiceMockRecorder) InternalCreateInvitedUser(ctx, user, invite any) *gomock.Call
- func (mr *MockUserServiceMockRecorder) InternalCreateOAuthUser(ctx, email, name, githubID, avatarURL any) *gomock.Call
- func (mr *MockUserServiceMockRecorder) InternalGet(ctx, ID any) *gomock.Call
- func (mr *MockUserServiceMockRecorder) InternalGetByEmail(ctx, email any) *gomock.Call
- func (mr *MockUserServiceMockRecorder) ListByOrgID(ctx, orgID, params any) *gomock.Call
- func (mr *MockUserServiceMockRecorder) Login(ctx, loginRequest any) *gomock.Call
- type MockUserStore
- func (m *MockUserStore) Create(ctx context.Context, user *models.User) (*models.User, *errors.ServiceError)
- func (m *MockUserStore) EXPECT() *MockUserStoreMockRecorder
- func (m *MockUserStore) GetByEmail(ctx context.Context, email string) (*models.User, *errors.ServiceError)
- func (m *MockUserStore) GetByID(ctx context.Context, id string) (*models.User, *errors.ServiceError)
- func (m *MockUserStore) ListByOrgAndRole(ctx context.Context, orgID string, role models.UserRole) ([]*models.User, *errors.ServiceError)
- func (m *MockUserStore) ListByOrgID(ctx context.Context, orgID string, params stores.ListParams) (*stores.PaginatedResult[*models.User], *errors.ServiceError)
- func (m *MockUserStore) Update(ctx context.Context, id string, user *models.User) (*models.User, *errors.ServiceError)
- type MockUserStoreMockRecorder
- func (mr *MockUserStoreMockRecorder) Create(ctx, user any) *gomock.Call
- func (mr *MockUserStoreMockRecorder) GetByEmail(ctx, email any) *gomock.Call
- func (mr *MockUserStoreMockRecorder) GetByID(ctx, id any) *gomock.Call
- func (mr *MockUserStoreMockRecorder) ListByOrgAndRole(ctx, orgID, role any) *gomock.Call
- func (mr *MockUserStoreMockRecorder) ListByOrgID(ctx, orgID, params any) *gomock.Call
- func (mr *MockUserStoreMockRecorder) Update(ctx, id, user any) *gomock.Call
- type MockValidator
- type MockValidatorMockRecorder
- type MockVolumeClusterResourceService
- func (m *MockVolumeClusterResourceService) CreateVolumeInCluster(ctx context.Context, volume *models.Volume) *clusterresource.ClusterResourceError
- func (m *MockVolumeClusterResourceService) DeleteVolumeInCluster(ctx context.Context, volume *models.Volume) *clusterresource.ClusterResourceError
- func (m *MockVolumeClusterResourceService) EXPECT() *MockVolumeClusterResourceServiceMockRecorder
- func (m *MockVolumeClusterResourceService) UpdateVolumeGitRevisionInCluster(ctx context.Context, volume *models.Volume) *clusterresource.ClusterResourceError
- func (m *MockVolumeClusterResourceService) UpdateVolumeRemoteDirRevisionInCluster(ctx context.Context, volume *models.Volume) *clusterresource.ClusterResourceError
- type MockVolumeClusterResourceServiceMockRecorder
- func (mr *MockVolumeClusterResourceServiceMockRecorder) CreateVolumeInCluster(ctx, volume any) *gomock.Call
- func (mr *MockVolumeClusterResourceServiceMockRecorder) DeleteVolumeInCluster(ctx, volume any) *gomock.Call
- func (mr *MockVolumeClusterResourceServiceMockRecorder) UpdateVolumeGitRevisionInCluster(ctx, volume any) *gomock.Call
- func (mr *MockVolumeClusterResourceServiceMockRecorder) UpdateVolumeRemoteDirRevisionInCluster(ctx, volume any) *gomock.Call
- type MockVolumeService
- func (m *MockVolumeService) CreateInCluster(ctx context.Context, spec *models.Volume) *errors.ServiceError
- func (m *MockVolumeService) CreateInDbWithTx(ctx context.Context, spec *models.Volume) (*models.Volume, *errors.ServiceError)
- func (m *MockVolumeService) CreateWithTx(ctx context.Context, spec *models.Volume) (*models.Volume, *errors.ServiceError)
- func (m *MockVolumeService) Delete(ctx context.Context, ID string) *errors.ServiceError
- func (m *MockVolumeService) DeleteWithTx(ctx context.Context, ID string) *errors.ServiceError
- func (m *MockVolumeService) EXPECT() *MockVolumeServiceMockRecorder
- func (m *MockVolumeService) Get(ctx context.Context, ID string) (*models.Volume, *errors.ServiceError)
- func (m *MockVolumeService) GetByVolumeNameAndNamespace(ctx context.Context, volumeName, namespace string) (*models.Volume, *errors.ServiceError)
- func (m *MockVolumeService) InjectClusterResourceService(volumeClusterService clusterresource.VolumeClusterResourceService)
- func (m *MockVolumeService) InternalCreateWithTx(ctx context.Context, stack *models.Stack, volume *models.Volume) (*models.Volume, *errors.ServiceError)
- func (m *MockVolumeService) InternalDeleteFromDB(ctx context.Context, ID string) *errors.ServiceError
- func (m *MockVolumeService) InternalDeleteVolumesUsedByStackFromDB(ctx context.Context, stackID string) *errors.ServiceError
- func (m *MockVolumeService) InternalGet(ctx context.Context, ID string) (*models.Volume, *errors.ServiceError)
- func (m *MockVolumeService) InternalList(ctx context.Context, ids []string) ([]*models.Volume, *errors.ServiceError)
- func (m *MockVolumeService) InternalListNotReady(ctx context.Context) ([]*models.Volume, *errors.ServiceError)
- func (m *MockVolumeService) InternalSyncVolumesWithTx(ctx context.Context, stack, existingStack *models.Stack, ...) *errors.ServiceError
- func (m *MockVolumeService) ListByUserID(ctx context.Context, projectID, userID string) ([]*models.Volume, *errors.ServiceError)
- func (m *MockVolumeService) ListVolumesUsedByStack(ctx context.Context, stackID string) ([]*models.Volume, *errors.ServiceError)
- func (m *MockVolumeService) UpdateGitRepoSourceRevision(ctx context.Context, ID string, revision models.GitRepoRevision) (*models.Volume, *errors.ServiceError)
- func (m *MockVolumeService) UpdateRemoteSourceRevision(ctx context.Context, ID string, revision models.RemoteDirSource) (*models.Volume, *errors.ServiceError)
- func (m *MockVolumeService) UpdateStatus(ctx context.Context, ID string, status *models.VolumeStatus) *errors.ServiceError
- type MockVolumeServiceMockRecorder
- func (mr *MockVolumeServiceMockRecorder) CreateInCluster(ctx, spec any) *gomock.Call
- func (mr *MockVolumeServiceMockRecorder) CreateInDbWithTx(ctx, spec any) *gomock.Call
- func (mr *MockVolumeServiceMockRecorder) CreateWithTx(ctx, spec any) *gomock.Call
- func (mr *MockVolumeServiceMockRecorder) Delete(ctx, ID any) *gomock.Call
- func (mr *MockVolumeServiceMockRecorder) DeleteWithTx(ctx, ID any) *gomock.Call
- func (mr *MockVolumeServiceMockRecorder) Get(ctx, ID any) *gomock.Call
- func (mr *MockVolumeServiceMockRecorder) GetByVolumeNameAndNamespace(ctx, volumeName, namespace any) *gomock.Call
- func (mr *MockVolumeServiceMockRecorder) InjectClusterResourceService(volumeClusterService any) *gomock.Call
- func (mr *MockVolumeServiceMockRecorder) InternalCreateWithTx(ctx, stack, volume any) *gomock.Call
- func (mr *MockVolumeServiceMockRecorder) InternalDeleteFromDB(ctx, ID any) *gomock.Call
- func (mr *MockVolumeServiceMockRecorder) InternalDeleteVolumesUsedByStackFromDB(ctx, stackID any) *gomock.Call
- func (mr *MockVolumeServiceMockRecorder) InternalGet(ctx, ID any) *gomock.Call
- func (mr *MockVolumeServiceMockRecorder) InternalList(ctx, ids any) *gomock.Call
- func (mr *MockVolumeServiceMockRecorder) InternalListNotReady(ctx any) *gomock.Call
- func (mr *MockVolumeServiceMockRecorder) InternalSyncVolumesWithTx(ctx, stack, existingStack, desired any) *gomock.Call
- func (mr *MockVolumeServiceMockRecorder) ListByUserID(ctx, projectID, userID any) *gomock.Call
- func (mr *MockVolumeServiceMockRecorder) ListVolumesUsedByStack(ctx, stackID any) *gomock.Call
- func (mr *MockVolumeServiceMockRecorder) UpdateGitRepoSourceRevision(ctx, ID, revision any) *gomock.Call
- func (mr *MockVolumeServiceMockRecorder) UpdateRemoteSourceRevision(ctx, ID, revision any) *gomock.Call
- func (mr *MockVolumeServiceMockRecorder) UpdateStatus(ctx, ID, status any) *gomock.Call
- type MockVolumeStore
- func (m *MockVolumeStore) Create(ctx context.Context, spec *models.Volume) (*models.Volume, *errors.ServiceError)
- func (m *MockVolumeStore) CreateWithTx(ctx context.Context, spec *models.Volume) (*models.Volume, *errors.ServiceError)
- func (m *MockVolumeStore) Delete(ctx context.Context, id string) *errors.ServiceError
- func (m *MockVolumeStore) DeleteWithTx(ctx context.Context, id string) *errors.ServiceError
- func (m *MockVolumeStore) EXPECT() *MockVolumeStoreMockRecorder
- func (m *MockVolumeStore) GetByID(ctx context.Context, id string) (*models.Volume, *errors.ServiceError)
- func (m *MockVolumeStore) GetByUserID(ctx context.Context, id string) ([]*models.Volume, *errors.ServiceError)
- func (m *MockVolumeStore) GetByVolumeNameAndNamespace(ctx context.Context, volumeName, namespace string) (*models.Volume, *errors.ServiceError)
- func (m *MockVolumeStore) InternalList(ctx context.Context, ids []string) ([]*models.Volume, *errors.ServiceError)
- func (m *MockVolumeStore) InternalListNotReady(ctx context.Context) ([]*models.Volume, *errors.ServiceError)
- func (m *MockVolumeStore) ListByProjectID(ctx context.Context, projectID string) ([]*models.Volume, *errors.ServiceError)
- func (m *MockVolumeStore) UpdateGitRepoSourceRevision(ctx context.Context, id string, revision models.GitRepoRevision) (*models.Volume, *errors.ServiceError)
- func (m *MockVolumeStore) UpdateGitRepoSourceRevisionWithTx(ctx context.Context, id string, revision models.GitRepoRevision) (*models.Volume, *errors.ServiceError)
- func (m *MockVolumeStore) UpdateRemoteDirSourceHash(ctx context.Context, id, remoteDirHash string) (*models.Volume, *errors.ServiceError)
- func (m *MockVolumeStore) UpdateRemoteDirSourceHashWithTx(ctx context.Context, id, remoteDirHash string) (*models.Volume, *errors.ServiceError)
- func (m *MockVolumeStore) UpdateStatus(ctx context.Context, id string, status *models.VolumeStatus) *errors.ServiceError
- func (m *MockVolumeStore) WithTransaction(ctx context.Context, fn func(context.Context) *errors.ServiceError) *errors.ServiceError
- type MockVolumeStoreMockRecorder
- func (mr *MockVolumeStoreMockRecorder) Create(ctx, spec any) *gomock.Call
- func (mr *MockVolumeStoreMockRecorder) CreateWithTx(ctx, spec any) *gomock.Call
- func (mr *MockVolumeStoreMockRecorder) Delete(ctx, id any) *gomock.Call
- func (mr *MockVolumeStoreMockRecorder) DeleteWithTx(ctx, id any) *gomock.Call
- func (mr *MockVolumeStoreMockRecorder) GetByID(ctx, id any) *gomock.Call
- func (mr *MockVolumeStoreMockRecorder) GetByUserID(ctx, id any) *gomock.Call
- func (mr *MockVolumeStoreMockRecorder) GetByVolumeNameAndNamespace(ctx, volumeName, namespace any) *gomock.Call
- func (mr *MockVolumeStoreMockRecorder) InternalList(ctx, ids any) *gomock.Call
- func (mr *MockVolumeStoreMockRecorder) InternalListNotReady(ctx any) *gomock.Call
- func (mr *MockVolumeStoreMockRecorder) ListByProjectID(ctx, projectID any) *gomock.Call
- func (mr *MockVolumeStoreMockRecorder) UpdateGitRepoSourceRevision(ctx, id, revision any) *gomock.Call
- func (mr *MockVolumeStoreMockRecorder) UpdateGitRepoSourceRevisionWithTx(ctx, id, revision any) *gomock.Call
- func (mr *MockVolumeStoreMockRecorder) UpdateRemoteDirSourceHash(ctx, id, remoteDirHash any) *gomock.Call
- func (mr *MockVolumeStoreMockRecorder) UpdateRemoteDirSourceHashWithTx(ctx, id, remoteDirHash any) *gomock.Call
- func (mr *MockVolumeStoreMockRecorder) UpdateStatus(ctx, id, status any) *gomock.Call
- func (mr *MockVolumeStoreMockRecorder) WithTransaction(ctx, fn any) *gomock.Call
- type MockWorkerManager
- func (m *MockWorkerManager) EXPECT() *MockWorkerManagerMockRecorder
- func (m *MockWorkerManager) Enqueue(operand any) error
- func (m *MockWorkerManager) EnqueueAfter(operand any, after time.Duration) error
- func (m *MockWorkerManager) EnqueueAfterCommit(ctx context.Context, operand any) error
- func (m *MockWorkerManager) Find(operand any) worker.Worker
- func (m *MockWorkerManager) RegisterWorker(arg0 worker.Worker, operand any)
- func (m *MockWorkerManager) Start(ctx context.Context) error
- func (m *MockWorkerManager) Stop(drain bool)
- type MockWorkerManagerMockRecorder
- func (mr *MockWorkerManagerMockRecorder) Enqueue(operand any) *gomock.Call
- func (mr *MockWorkerManagerMockRecorder) EnqueueAfter(operand, after any) *gomock.Call
- func (mr *MockWorkerManagerMockRecorder) EnqueueAfterCommit(ctx, operand any) *gomock.Call
- func (mr *MockWorkerManagerMockRecorder) Find(operand any) *gomock.Call
- func (mr *MockWorkerManagerMockRecorder) RegisterWorker(arg0, operand any) *gomock.Call
- func (mr *MockWorkerManagerMockRecorder) Start(ctx any) *gomock.Call
- func (mr *MockWorkerManagerMockRecorder) Stop(drain any) *gomock.Call
- type MockpostgresAddonService
- type MockpostgresAddonServiceMockRecorder
- type MocksecretService
- func (m *MocksecretService) EXPECT() *MocksecretServiceMockRecorder
- func (m *MocksecretService) InternalGetByID(ctx context.Context, ID string) (*models.Secret, *errors.ServiceError)
- func (m *MocksecretService) ValidateSecretExists(ctx context.Context, secretID string) (bool, *errors.ServiceError)
- func (m *MocksecretService) ValidateSecretHasKeys(ctx context.Context, secretID string, requiredKeys []string) (bool, []string, *errors.ServiceError)
- type MocksecretServiceMockRecorder
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 ¶
func (m *MockAPITokenStore) Create(ctx context.Context, token *models.APIToken) (*models.APIToken, *errors.ServiceError)
Create mocks base method.
func (*MockAPITokenStore) EXPECT ¶
func (m *MockAPITokenStore) EXPECT() *MockAPITokenStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAPITokenStore) GetByID ¶
func (m *MockAPITokenStore) GetByID(ctx context.Context, id string) (*models.APIToken, *errors.ServiceError)
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 ¶
func (m *MockAPITokenStore) Revoke(ctx context.Context, id string) *errors.ServiceError
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 ¶
func (m *MockAtomicExecutor) EXPECT() *MockAtomicExecutorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAtomicExecutor) WithTransaction ¶
func (m *MockAtomicExecutor) WithTransaction(ctx context.Context, fn func(context.Context) *errors.ServiceError) *errors.ServiceError
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 ¶
func (m *MockBackgroundJobEnqueuer) EXPECT() *MockBackgroundJobEnqueuerMockRecorder
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 ¶
func (m *MockClusterImageRegistryStore) Create(ctx context.Context, spec *models.ClusterImageRegistry) (*models.ClusterImageRegistry, *errors.ServiceError)
Create mocks base method.
func (*MockClusterImageRegistryStore) CreateWithTx ¶
func (m *MockClusterImageRegistryStore) CreateWithTx(ctx context.Context, spec *models.ClusterImageRegistry) (*models.ClusterImageRegistry, *errors.ServiceError)
CreateWithTx mocks base method.
func (*MockClusterImageRegistryStore) Delete ¶
func (m *MockClusterImageRegistryStore) Delete(ctx context.Context, ID string) *errors.ServiceError
Delete mocks base method.
func (*MockClusterImageRegistryStore) DeleteWithTx ¶
func (m *MockClusterImageRegistryStore) DeleteWithTx(ctx context.Context, ID string) *errors.ServiceError
DeleteWithTx mocks base method.
func (*MockClusterImageRegistryStore) EXPECT ¶
func (m *MockClusterImageRegistryStore) EXPECT() *MockClusterImageRegistryStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClusterImageRegistryStore) GetByID ¶
func (m *MockClusterImageRegistryStore) GetByID(ctx context.Context, ID string) (*models.ClusterImageRegistry, *errors.ServiceError)
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 ¶
func (m *MockClusterImageRegistryStore) ListForOrg(ctx context.Context, orgID string) ([]*models.ClusterImageRegistry, *errors.ServiceError)
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 ¶
func (m *MockClusterImageRegistryStore) UpdateStatus(ctx context.Context, ID string, status *models.ClusterImageRegistryStatus) *errors.ServiceError
UpdateStatus mocks base method.
func (*MockClusterImageRegistryStore) WithTransaction ¶
func (m *MockClusterImageRegistryStore) WithTransaction(ctx context.Context, fn func(context.Context) *errors.ServiceError) *errors.ServiceError
WithTransaction mocks base method.
type MockClusterImageRegistryStoreMockRecorder ¶
type MockClusterImageRegistryStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockClusterImageRegistryStoreMockRecorder is the mock recorder for MockClusterImageRegistryStore.
func (*MockClusterImageRegistryStoreMockRecorder) Create ¶
func (mr *MockClusterImageRegistryStoreMockRecorder) Create(ctx, spec any) *gomock.Call
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 ¶
func (mr *MockClusterImageRegistryStoreMockRecorder) Delete(ctx, ID any) *gomock.Call
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 ¶
func (mr *MockClusterImageRegistryStoreMockRecorder) GetByID(ctx, ID any) *gomock.Call
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 ¶
func (m *MockClusterManager) EXPECT() *MockClusterManagerMockRecorder
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 ¶
func (mr *MockClusterManagerMockRecorder) Start(ctx any) *gomock.Call
Start indicates an expected call of Start.
func (*MockClusterManagerMockRecorder) Stop ¶
func (mr *MockClusterManagerMockRecorder) Stop(ctx any) *gomock.Call
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 ¶
func (m *MockClusterResourceImageRegistryService) DeleteImageRegistryInCluster(ctx context.Context, registry *models.ClusterImageRegistry) (bool, *clusterresource.ClusterResourceError)
DeleteImageRegistryInCluster mocks base method.
func (*MockClusterResourceImageRegistryService) EXPECT ¶
func (m *MockClusterResourceImageRegistryService) EXPECT() *MockClusterResourceImageRegistryServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClusterResourceImageRegistryService) EnsureImageRegistryInCluster ¶
func (m *MockClusterResourceImageRegistryService) EnsureImageRegistryInCluster(ctx context.Context, registry *models.ClusterImageRegistry) *clusterresource.ClusterResourceError
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 ¶
func (m *MockClusterService) Delete(ctx context.Context, ID string) *errors.ServiceError
Delete mocks base method.
func (*MockClusterService) EXPECT ¶
func (m *MockClusterService) EXPECT() *MockClusterServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClusterService) Get ¶
func (m *MockClusterService) Get(ctx context.Context, ID string) (*models.Cluster, *errors.ServiceError)
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 ¶
func (m *MockClusterService) InternalGet(ctx context.Context, ID string) (*models.Cluster, *errors.ServiceError)
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 ¶
func (m *MockClusterStore) Create(ctx context.Context, spec *models.Cluster) (*models.Cluster, *errors.ServiceError)
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 ¶
func (m *MockClusterStore) Delete(ctx context.Context, ID string) *errors.ServiceError
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 ¶
func (m *MockClusterStore) EXPECT() *MockClusterStoreMockRecorder
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 ¶
func (m *MockClusterStore) Get(ctx context.Context, ID string) (*models.Cluster, *errors.ServiceError)
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 ¶
func (m *MockClusterStore) ListAll(ctx context.Context) ([]*models.Cluster, *errors.ServiceError)
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 ¶
func (m *MockClusterStore) WithTransaction(ctx context.Context, fn func(context.Context) *errors.ServiceError) *errors.ServiceError
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 ¶
func (m *MockCredentialResolver) EXPECT() *MockCredentialResolverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCredentialResolver) GitCredentials ¶
func (m *MockCredentialResolver) GitCredentials(ctx context.Context, orgID, repoURL string, selector credentials.GitAuthSelector) (*credentials.ResolvedGitCredential, *errors.ServiceError)
GitCredentials mocks base method.
func (*MockCredentialResolver) RegistryCredentials ¶
func (m *MockCredentialResolver) RegistryCredentials(ctx context.Context, orgID, ref string, purpose credentials.RegistryPurpose, selector credentials.RegistryAuthSelector) (*credentials.ResolvedRegistryCredential, *errors.ServiceError)
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 ¶
CheckAccess mocks base method.
func (*MockGitClient) CheckTagExists ¶
CheckTagExists mocks base method.
func (*MockGitClient) EXPECT ¶
func (m *MockGitClient) EXPECT() *MockGitClientMockRecorder
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 ¶
GetDefaultBranch 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.
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 ¶
func (m *MockGitHubAppClient) EXPECT() *MockGitHubAppClientMockRecorder
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 ¶
func (m *MockGitHubWebhookService) EXPECT() *MockGitHubWebhookServiceMockRecorder
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 ¶
func (m *MockGitInstallationStore) EXPECT() *MockGitInstallationStoreMockRecorder
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 ¶
func (m *MockGitInstallationStore) Upsert(ctx context.Context, installation *models.GitInstallation) (*models.GitInstallation, *errors.ServiceError)
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.
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 ¶
func (m *MockGitIntegrationService) Create(ctx context.Context, integration *models.GitIntegration) (*models.GitIntegration, *errors.ServiceError)
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 ¶
func (m *MockGitIntegrationService) Delete(ctx context.Context, ID string) *errors.ServiceError
Delete mocks base method.
func (*MockGitIntegrationService) EXPECT ¶
func (m *MockGitIntegrationService) EXPECT() *MockGitIntegrationServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGitIntegrationService) GetByID ¶
func (m *MockGitIntegrationService) GetByID(ctx context.Context, ID string) (*models.GitIntegration, *errors.ServiceError)
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 ¶
func (m *MockGitIntegrationService) InternalGetByID(ctx context.Context, ID string) (*models.GitIntegration, *errors.ServiceError)
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 ¶
func (m *MockGitIntegrationService) Update(ctx context.Context, ID string, integration *models.GitIntegration) (*models.GitIntegration, *errors.ServiceError)
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 ¶
func (mr *MockGitIntegrationServiceMockRecorder) Delete(ctx, ID any) *gomock.Call
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.
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 ¶
func (m *MockGitIntegrationStore) Create(ctx context.Context, integration *models.GitIntegration) (*models.GitIntegration, *errors.ServiceError)
Create mocks base method.
func (*MockGitIntegrationStore) Delete ¶
func (m *MockGitIntegrationStore) Delete(ctx context.Context, ID string) *errors.ServiceError
Delete mocks base method.
func (*MockGitIntegrationStore) EXPECT ¶
func (m *MockGitIntegrationStore) EXPECT() *MockGitIntegrationStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGitIntegrationStore) GetByID ¶
func (m *MockGitIntegrationStore) GetByID(ctx context.Context, ID string) (*models.GitIntegration, *errors.ServiceError)
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 ¶
func (m *MockGitIntegrationStore) ListGitHubApps(ctx context.Context) ([]*models.GitIntegration, *errors.ServiceError)
ListGitHubApps mocks base method.
func (*MockGitIntegrationStore) Update ¶
func (m *MockGitIntegrationStore) Update(ctx context.Context, integration *models.GitIntegration) (*models.GitIntegration, *errors.ServiceError)
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.
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 ¶
func (m *MockImageBuildService) EXPECT() *MockImageBuildServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockImageBuildService) GetByID ¶
func (m *MockImageBuildService) GetByID(ctx context.Context, ID string) (*models.ImageBuild, *errors.ServiceError)
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 ¶
func (m *MockImageBuildService) InternalGetByID(ctx context.Context, ID string) (*models.ImageBuild, *errors.ServiceError)
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 ¶
func (m *MockImageRegistryService) Create(ctx context.Context, spec *models.ClusterImageRegistry) (*models.ClusterImageRegistry, *errors.ServiceError)
Create mocks base method.
func (*MockImageRegistryService) CreateWithTx ¶
func (m *MockImageRegistryService) CreateWithTx(ctx context.Context, spec *models.ClusterImageRegistry) (*models.ClusterImageRegistry, *errors.ServiceError)
CreateWithTx mocks base method.
func (*MockImageRegistryService) Delete ¶
func (m *MockImageRegistryService) Delete(ctx context.Context, orgID, ID string) *errors.ServiceError
Delete mocks base method.
func (*MockImageRegistryService) DeleteWithTx ¶
func (m *MockImageRegistryService) DeleteWithTx(ctx context.Context, orgID string, registry *models.ClusterImageRegistry) *errors.ServiceError
DeleteWithTx mocks base method.
func (*MockImageRegistryService) EXPECT ¶
func (m *MockImageRegistryService) EXPECT() *MockImageRegistryServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockImageRegistryService) Get ¶
func (m *MockImageRegistryService) Get(ctx context.Context, ID string) (*models.ClusterImageRegistry, *errors.ServiceError)
Get mocks base method.
func (*MockImageRegistryService) InjectBackgroundJobEnqueuer ¶
func (m *MockImageRegistryService) InjectBackgroundJobEnqueuer(dep clusterresource.BackgroundJobEnqueuerDep)
InjectBackgroundJobEnqueuer mocks base method.
func (*MockImageRegistryService) InternalCreateSeedRegistry ¶
func (m *MockImageRegistryService) InternalCreateSeedRegistry(ctx context.Context, spec *models.ClusterImageRegistry) (*models.ClusterImageRegistry, *errors.ServiceError)
InternalCreateSeedRegistry mocks base method.
func (*MockImageRegistryService) InternalGet ¶
func (m *MockImageRegistryService) InternalGet(ctx context.Context, ID string) (*models.ClusterImageRegistry, *errors.ServiceError)
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 ¶
func (m *MockImageRegistryService) ListForOrg(ctx context.Context, orgID string) ([]*models.ClusterImageRegistry, *errors.ServiceError)
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 ¶
func (m *MockImageRegistryService) UpdateStatus(ctx context.Context, ID string, status *models.ClusterImageRegistryStatus) *errors.ServiceError
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 ¶
func (mr *MockImageRegistryServiceMockRecorder) Get(ctx, ID any) *gomock.Call
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 ¶
func (m *MockNamespaceService) CreateInDB(ctx context.Context, ns *models.Namespace) (*models.Namespace, *errors.ServiceError)
CreateInDB mocks base method.
func (*MockNamespaceService) CreateInDBWithTx ¶
func (m *MockNamespaceService) CreateInDBWithTx(ctx context.Context, ns *models.Namespace) (*models.Namespace, *errors.ServiceError)
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 ¶
func (m *MockNamespaceService) EXPECT() *MockNamespaceServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNamespaceService) Get ¶
func (m *MockNamespaceService) Get(ctx context.Context, id string) (*models.Namespace, *errors.ServiceError)
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 ¶
func (m *MockNamespaceService) UpdateInDB(ctx context.Context, id string, ns *models.Namespace) (*models.Namespace, *errors.ServiceError)
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 ¶
func (m *MockOAuthStateStore) Create(ctx context.Context, state *models.OAuthState) *errors.ServiceError
Create mocks base method.
func (*MockOAuthStateStore) DeleteExpired ¶
DeleteExpired mocks base method.
func (*MockOAuthStateStore) EXPECT ¶
func (m *MockOAuthStateStore) EXPECT() *MockOAuthStateStoreMockRecorder
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 ¶
func (m *MockOrgInviteStore) Create(ctx context.Context, invite *models.OrgInvite) (*models.OrgInvite, *errors.ServiceError)
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 ¶
func (m *MockOrgInviteStore) EXPECT() *MockOrgInviteStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOrgInviteStore) GetByID ¶
func (m *MockOrgInviteStore) GetByID(ctx context.Context, id string) (*models.OrgInvite, *errors.ServiceError)
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 ¶
func (m *MockOrgInviteStore) ListByOrgID(ctx context.Context, orgID string, params stores.ListParams) (*stores.PaginatedResult[*models.OrgInvite], *errors.ServiceError)
ListByOrgID mocks base method.
func (*MockOrgInviteStore) ListExpiredOrPastDue ¶
func (m *MockOrgInviteStore) ListExpiredOrPastDue(ctx context.Context, now time.Time, params stores.ListParams) (*stores.PaginatedResult[*models.OrgInvite], *errors.ServiceError)
ListExpiredOrPastDue mocks base method.
func (*MockOrgInviteStore) ListPendingUnsent ¶
func (m *MockOrgInviteStore) ListPendingUnsent(ctx context.Context, params stores.ListParams) (*stores.PaginatedResult[*models.OrgInvite], *errors.ServiceError)
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 ¶
func (m *MockOrgInviteStore) WithTransaction(ctx context.Context, fn func(context.Context) *errors.ServiceError) *errors.ServiceError
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 ¶
func (m *MockOrganisationDomainStore) BulkCreate(ctx context.Context, domains []*models.OrganisationDomain) ([]*models.OrganisationDomain, *errors.ServiceError)
BulkCreate mocks base method.
func (*MockOrganisationDomainStore) Create ¶
func (m *MockOrganisationDomainStore) Create(ctx context.Context, domain *models.OrganisationDomain) (*models.OrganisationDomain, *errors.ServiceError)
Create mocks base method.
func (*MockOrganisationDomainStore) CreateWithTx ¶
func (m *MockOrganisationDomainStore) CreateWithTx(ctx context.Context, domain *models.OrganisationDomain) (*models.OrganisationDomain, *errors.ServiceError)
CreateWithTx mocks base method.
func (*MockOrganisationDomainStore) Delete ¶
func (m *MockOrganisationDomainStore) Delete(ctx context.Context, id string) *errors.ServiceError
Delete mocks base method.
func (*MockOrganisationDomainStore) DeleteWithTx ¶
func (m *MockOrganisationDomainStore) DeleteWithTx(ctx context.Context, id string) *errors.ServiceError
DeleteWithTx mocks base method.
func (*MockOrganisationDomainStore) EXPECT ¶
func (m *MockOrganisationDomainStore) EXPECT() *MockOrganisationDomainStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOrganisationDomainStore) Get ¶
func (m *MockOrganisationDomainStore) Get(ctx context.Context, id string) (*models.OrganisationDomain, *errors.ServiceError)
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 ¶
func (m *MockOrganisationDomainStore) Update(ctx context.Context, id string, domain *models.OrganisationDomain) (*models.OrganisationDomain, *errors.ServiceError)
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 ¶
func (mr *MockOrganisationDomainStoreMockRecorder) Delete(ctx, id any) *gomock.Call
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 ¶
func (mr *MockOrganisationDomainStoreMockRecorder) Get(ctx, id any) *gomock.Call
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.
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 ¶
func (m *MockOrganisationDomainsService) Create(ctx context.Context, spec *models.OrganisationDomain) (*models.OrganisationDomain, *errors.ServiceError)
Create mocks base method.
func (*MockOrganisationDomainsService) Delete ¶
func (m *MockOrganisationDomainsService) Delete(ctx context.Context, id string) *errors.ServiceError
Delete mocks base method.
func (*MockOrganisationDomainsService) EXPECT ¶
func (m *MockOrganisationDomainsService) EXPECT() *MockOrganisationDomainsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOrganisationDomainsService) Get ¶
func (m *MockOrganisationDomainsService) Get(ctx context.Context, id string) (*models.OrganisationDomain, *errors.ServiceError)
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 ¶
func (m *MockOrganisationDomainsService) InternalCreateWithTx(ctx context.Context, spec *models.OrganisationDomain) (*models.OrganisationDomain, *errors.ServiceError)
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 ¶
func (m *MockOrganisationDomainsService) Update(ctx context.Context, id string, spec *models.OrganisationDomain) (*models.OrganisationDomain, *errors.ServiceError)
Update mocks base method.
type MockOrganisationDomainsServiceMockRecorder ¶
type MockOrganisationDomainsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockOrganisationDomainsServiceMockRecorder is the mock recorder for MockOrganisationDomainsService.
func (*MockOrganisationDomainsServiceMockRecorder) Create ¶
func (mr *MockOrganisationDomainsServiceMockRecorder) Create(ctx, spec any) *gomock.Call
Create indicates an expected call of Create.
func (*MockOrganisationDomainsServiceMockRecorder) Delete ¶
func (mr *MockOrganisationDomainsServiceMockRecorder) Delete(ctx, id any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockOrganisationDomainsServiceMockRecorder) Get ¶
func (mr *MockOrganisationDomainsServiceMockRecorder) Get(ctx, id any) *gomock.Call
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.
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 ¶
func (m *MockOrganisationService) Delete(ctx context.Context, ID string) *errors.ServiceError
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 ¶
func (m *MockOrganisationService) EXPECT() *MockOrganisationServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOrganisationService) Get ¶
func (m *MockOrganisationService) Get(ctx context.Context, ID string) (*models.Organisation, *errors.ServiceError)
Get mocks base method.
func (*MockOrganisationService) InternalCreate ¶
func (m *MockOrganisationService) InternalCreate(ctx context.Context, spec *models.Organisation) (*models.Organisation, *errors.ServiceError)
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 ¶
func (m *MockOrganisationService) Update(ctx context.Context, ID string, spec *models.Organisation) (*models.Organisation, *errors.ServiceError)
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 ¶
func (mr *MockOrganisationServiceMockRecorder) Get(ctx, ID any) *gomock.Call
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.
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 ¶
func (m *MockOrganisationStore) Create(ctx context.Context, spec *models.Organisation) (*models.Organisation, *errors.ServiceError)
Create mocks base method.
func (*MockOrganisationStore) Delete ¶
func (m *MockOrganisationStore) Delete(ctx context.Context, ID string) *errors.ServiceError
Delete mocks base method.
func (*MockOrganisationStore) EXPECT ¶
func (m *MockOrganisationStore) EXPECT() *MockOrganisationStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOrganisationStore) Get ¶
func (m *MockOrganisationStore) Get(ctx context.Context, ID string) (*models.Organisation, *errors.ServiceError)
Get mocks base method.
func (*MockOrganisationStore) GetPlatformOrg ¶
func (m *MockOrganisationStore) GetPlatformOrg(ctx context.Context) (*models.Organisation, *errors.ServiceError)
GetPlatformOrg mocks base method.
func (*MockOrganisationStore) LockByID ¶
func (m *MockOrganisationStore) LockByID(ctx context.Context, ID string) *errors.ServiceError
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 ¶
func (m *MockOrganisationStore) Update(ctx context.Context, id string, org *models.Organisation) (*models.Organisation, *errors.ServiceError)
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 ¶
func (mr *MockOrganisationStoreMockRecorder) Get(ctx, ID any) *gomock.Call
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.
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 ¶
func (m *MockPermissionService) EXPECT() *MockPermissionServiceMockRecorder
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.
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 ¶
func (m *MockPostgresAddonDatabaseService) Create(ctx context.Context, database *models.PostgresAddonDatabase) (*models.PostgresAddonDatabase, *errors.ServiceError)
Create mocks base method.
func (*MockPostgresAddonDatabaseService) CreateWithTx ¶
func (m *MockPostgresAddonDatabaseService) CreateWithTx(ctx context.Context, database *models.PostgresAddonDatabase) (*models.PostgresAddonDatabase, *errors.ServiceError)
CreateWithTx mocks base method.
func (*MockPostgresAddonDatabaseService) Delete ¶
func (m *MockPostgresAddonDatabaseService) Delete(ctx context.Context, ID string) *errors.ServiceError
Delete mocks base method.
func (*MockPostgresAddonDatabaseService) DeleteWithTx ¶
func (m *MockPostgresAddonDatabaseService) DeleteWithTx(ctx context.Context, ID string) *errors.ServiceError
DeleteWithTx mocks base method.
func (*MockPostgresAddonDatabaseService) EXPECT ¶
func (m *MockPostgresAddonDatabaseService) EXPECT() *MockPostgresAddonDatabaseServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPostgresAddonDatabaseService) GetByID ¶
func (m *MockPostgresAddonDatabaseService) GetByID(ctx context.Context, ID string) (*models.PostgresAddonDatabase, *errors.ServiceError)
GetByID mocks base method.
func (*MockPostgresAddonDatabaseService) GetByName ¶
func (m *MockPostgresAddonDatabaseService) GetByName(ctx context.Context, postgresAddonID, name string) (*models.PostgresAddonDatabase, *errors.ServiceError)
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 ¶
func (m *MockPostgresAddonDatabaseService) Update(ctx context.Context, id string, database *models.PostgresAddonDatabase) (*models.PostgresAddonDatabase, *errors.ServiceError)
Update mocks base method.
func (*MockPostgresAddonDatabaseService) UpdateWithTx ¶
func (m *MockPostgresAddonDatabaseService) UpdateWithTx(ctx context.Context, id string, database *models.PostgresAddonDatabase) (*models.PostgresAddonDatabase, *errors.ServiceError)
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 ¶
func (mr *MockPostgresAddonDatabaseServiceMockRecorder) Delete(ctx, ID any) *gomock.Call
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 ¶
func (mr *MockPostgresAddonDatabaseServiceMockRecorder) GetByID(ctx, ID any) *gomock.Call
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 ¶
func (m *MockPostgresAddonStore) Create(ctx context.Context, addon *models.PostgresAddon) (*models.PostgresAddon, *errors.ServiceError)
Create mocks base method.
func (*MockPostgresAddonStore) CreateWithTx ¶
func (m *MockPostgresAddonStore) CreateWithTx(ctx context.Context, addon *models.PostgresAddon) (*models.PostgresAddon, *errors.ServiceError)
CreateWithTx mocks base method.
func (*MockPostgresAddonStore) Delete ¶
func (m *MockPostgresAddonStore) Delete(ctx context.Context, ID string) *errors.ServiceError
Delete mocks base method.
func (*MockPostgresAddonStore) EXPECT ¶
func (m *MockPostgresAddonStore) EXPECT() *MockPostgresAddonStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPostgresAddonStore) GetByID ¶
func (m *MockPostgresAddonStore) GetByID(ctx context.Context, ID string) (*models.PostgresAddon, *errors.ServiceError)
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 ¶
func (m *MockPostgresAddonStore) Update(ctx context.Context, addon *models.PostgresAddon) (*models.PostgresAddon, *errors.ServiceError)
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 ¶
func (m *MockPostgresAddonStore) UpdateStatus(ctx context.Context, id string, status *models.PostgresAddonStatus) *errors.ServiceError
UpdateStatus mocks base method.
func (*MockPostgresAddonStore) UpdateWithTx ¶
func (m *MockPostgresAddonStore) UpdateWithTx(ctx context.Context, addon *models.PostgresAddon) (*models.PostgresAddon, *errors.ServiceError)
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 ¶
func (m *MockPostgresAddonStore) WithTransaction(ctx context.Context, fn func(context.Context) *errors.ServiceError) *errors.ServiceError
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 ¶
func (m *MockPreviewStackStore) Create(ctx context.Context, preview *models.PreviewStack) (*models.PreviewStack, *errors.ServiceError)
Create mocks base method.
func (*MockPreviewStackStore) Delete ¶
func (m *MockPreviewStackStore) Delete(ctx context.Context, id string) *errors.ServiceError
Delete mocks base method.
func (*MockPreviewStackStore) EXPECT ¶
func (m *MockPreviewStackStore) EXPECT() *MockPreviewStackStoreMockRecorder
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 ¶
func (m *MockPreviewStackStore) GetByID(ctx context.Context, id string) (*models.PreviewStack, *errors.ServiceError)
GetByID mocks base method.
func (*MockPreviewStackStore) ListByConfigID ¶
func (m *MockPreviewStackStore) ListByConfigID(ctx context.Context, configID string, params stores.ListParams) (*stores.PaginatedResult[*models.PreviewStack], *errors.ServiceError)
ListByConfigID mocks base method.
func (*MockPreviewStackStore) ListByProjectID ¶
func (m *MockPreviewStackStore) ListByProjectID(ctx context.Context, projectID string, params stores.ListParams) (*stores.PaginatedResult[*models.PreviewStack], *errors.ServiceError)
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 ¶
func (m *MockPreviewStackStore) Update(ctx context.Context, preview *models.PreviewStack) (*models.PreviewStack, *errors.ServiceError)
Update mocks base method.
func (*MockPreviewStackStore) WithTransaction ¶
func (m *MockPreviewStackStore) WithTransaction(ctx context.Context, fn func(context.Context) *errors.ServiceError) *errors.ServiceError
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 ¶
func (m *MockProjectMembershipStore) Create(ctx context.Context, membership *models.ProjectMembership) (*models.ProjectMembership, *errors.ServiceError)
Create mocks base method.
func (*MockProjectMembershipStore) Delete ¶
func (m *MockProjectMembershipStore) Delete(ctx context.Context, id string) *errors.ServiceError
Delete mocks base method.
func (*MockProjectMembershipStore) EXPECT ¶
func (m *MockProjectMembershipStore) EXPECT() *MockProjectMembershipStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProjectMembershipStore) GetByID ¶
func (m *MockProjectMembershipStore) GetByID(ctx context.Context, id string) (*models.ProjectMembership, *errors.ServiceError)
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 ¶
func (m *MockProjectMembershipStore) ListByUserID(ctx context.Context, userID string) ([]*models.ProjectMembership, *errors.ServiceError)
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 ¶
func (m *MockProjectMembershipStore) Update(ctx context.Context, id string, membership *models.ProjectMembership) (*models.ProjectMembership, *errors.ServiceError)
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 ¶
func (mr *MockProjectMembershipStoreMockRecorder) Delete(ctx, id any) *gomock.Call
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.
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 ¶
func (m *MockProjectService) EXPECT() *MockProjectServiceMockRecorder
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 ¶
func (m *MockProjectStore) Create(ctx context.Context, project *models.Project) (*models.Project, *errors.ServiceError)
Create mocks base method.
func (*MockProjectStore) Delete ¶
func (m *MockProjectStore) Delete(ctx context.Context, id string) *errors.ServiceError
Delete mocks base method.
func (*MockProjectStore) EXPECT ¶
func (m *MockProjectStore) EXPECT() *MockProjectStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProjectStore) GetByID ¶
func (m *MockProjectStore) GetByID(ctx context.Context, id string) (*models.Project, *errors.ServiceError)
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.
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.
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 ¶
func (m *MockReferenceService) EXPECT() *MockReferenceServiceMockRecorder
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 ¶
func (m *MockRefreshTokenStore) Create(ctx context.Context, token *models.RefreshToken) (*models.RefreshToken, *errors.ServiceError)
Create mocks base method.
func (*MockRefreshTokenStore) EXPECT ¶
func (m *MockRefreshTokenStore) EXPECT() *MockRefreshTokenStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRefreshTokenStore) GetByTokenHash ¶
func (m *MockRefreshTokenStore) GetByTokenHash(ctx context.Context, hash string) (*models.RefreshToken, *errors.ServiceError)
GetByTokenHash mocks base method.
func (*MockRefreshTokenStore) Revoke ¶
func (m *MockRefreshTokenStore) Revoke(ctx context.Context, id string) *errors.ServiceError
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 ¶
CheckImage mocks base method.
func (*MockRegistryClient) CheckPushAccess ¶
func (m *MockRegistryClient) CheckPushAccess(ctx context.Context, repoRef string) error
CheckPushAccess mocks base method.
func (*MockRegistryClient) EXPECT ¶
func (m *MockRegistryClient) EXPECT() *MockRegistryClientMockRecorder
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 ¶
func (m *MockRegistryCredentialStore) Create(ctx context.Context, credential *models.RegistryCredential) (*models.RegistryCredential, *errors.ServiceError)
Create mocks base method.
func (*MockRegistryCredentialStore) Delete ¶
func (m *MockRegistryCredentialStore) Delete(ctx context.Context, ID string) *errors.ServiceError
Delete mocks base method.
func (*MockRegistryCredentialStore) EXPECT ¶
func (m *MockRegistryCredentialStore) EXPECT() *MockRegistryCredentialStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRegistryCredentialStore) GetByID ¶
func (m *MockRegistryCredentialStore) GetByID(ctx context.Context, ID string) (*models.RegistryCredential, *errors.ServiceError)
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 ¶
func (m *MockRegistryCredentialStore) ListByOrgID(ctx context.Context, organisationID string) ([]*models.RegistryCredential, *errors.ServiceError)
ListByOrgID mocks base method.
func (*MockRegistryCredentialStore) Update ¶
func (m *MockRegistryCredentialStore) Update(ctx context.Context, credential *models.RegistryCredential) (*models.RegistryCredential, *errors.ServiceError)
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 ¶
func (mr *MockRegistryCredentialStoreMockRecorder) Delete(ctx, ID any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockRegistryCredentialStoreMockRecorder) GetByID ¶
func (mr *MockRegistryCredentialStoreMockRecorder) GetByID(ctx, ID any) *gomock.Call
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.
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 ¶
func (m *MockReleaseEventStore) EXPECT() *MockReleaseEventStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReleaseEventStore) Insert ¶
func (m *MockReleaseEventStore) Insert(ctx context.Context, event *models.ReleaseEvent) (*models.ReleaseEvent, *errors.ServiceError)
Insert mocks base method.
func (*MockReleaseEventStore) InsertWithTx ¶
func (m *MockReleaseEventStore) InsertWithTx(ctx context.Context, event *models.ReleaseEvent) (*models.ReleaseEvent, *errors.ServiceError)
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 ¶
func (m *MockReleaseEventStore) WithTransaction(ctx context.Context, fn func(context.Context) *errors.ServiceError) *errors.ServiceError
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 ¶
func (m *MockReleaseResolver) EXPECT() *MockReleaseResolverMockRecorder
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 ¶
func (m *MockResourceAccessPolicyManager) EXPECT() *MockResourceAccessPolicyManagerMockRecorder
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 ¶
func (mr *MockResourceAccessPolicyManagerMockRecorder) RefreshPolicies() *gomock.Call
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 ¶
func (m *MockResourceReferenceStore) EXPECT() *MockResourceReferenceStoreMockRecorder
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 ¶
func (m *MockResourceValidationRecordStore) EXPECT() *MockResourceValidationRecordStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockResourceValidationRecordStore) Get ¶
func (m *MockResourceValidationRecordStore) Get(ctx context.Context, stackID, resourceName string, kind models.ResourceValidationCheckKind) (*models.ResourceValidationRecord, *errors.ServiceError)
Get mocks base method.
func (*MockResourceValidationRecordStore) Upsert ¶
func (m *MockResourceValidationRecordStore) Upsert(ctx context.Context, record *models.ResourceValidationRecord) *errors.ServiceError
Upsert mocks base method.
type MockResourceValidationRecordStoreMockRecorder ¶
type MockResourceValidationRecordStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockResourceValidationRecordStoreMockRecorder is the mock recorder for MockResourceValidationRecordStore.
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 ¶
func (m *MockSecretStore) Create(ctx context.Context, secret *models.Secret) (*models.Secret, *errors.ServiceError)
Create mocks base method.
func (*MockSecretStore) Delete ¶
func (m *MockSecretStore) Delete(ctx context.Context, ID string) *errors.ServiceError
Delete mocks base method.
func (*MockSecretStore) EXPECT ¶
func (m *MockSecretStore) EXPECT() *MockSecretStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSecretStore) GetByID ¶
func (m *MockSecretStore) GetByID(ctx context.Context, ID string) (*models.Secret, *errors.ServiceError)
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 ¶
func (m *MockSecretStore) Update(ctx context.Context, secret *models.Secret) (*models.Secret, *errors.ServiceError)
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 ¶
func (m *MockStackDomainsService) Create(ctx context.Context, spec *models.StackDomain) (*models.StackDomain, *errors.ServiceError)
Create mocks base method.
func (*MockStackDomainsService) Delete ¶
func (m *MockStackDomainsService) Delete(ctx context.Context, id string) *errors.ServiceError
Delete mocks base method.
func (*MockStackDomainsService) EXPECT ¶
func (m *MockStackDomainsService) EXPECT() *MockStackDomainsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStackDomainsService) Get ¶
func (m *MockStackDomainsService) Get(ctx context.Context, id string) (*models.StackDomain, *errors.ServiceError)
Get mocks base method.
func (*MockStackDomainsService) GetByFqdn ¶
func (m *MockStackDomainsService) GetByFqdn(ctx context.Context, fqdn string) (*models.StackDomain, *errors.ServiceError)
GetByFqdn mocks base method.
func (*MockStackDomainsService) InternalCreateWithTx ¶
func (m *MockStackDomainsService) InternalCreateWithTx(ctx context.Context, spec *models.StackDomain) (*models.StackDomain, *errors.ServiceError)
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 ¶
func (mr *MockStackDomainsServiceMockRecorder) Get(ctx, id any) *gomock.Call
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 ¶
func (m *MockStackDomainsStore) BulkCreate(ctx context.Context, domains []*models.StackDomain) (models.StackDomainList, *errors.ServiceError)
BulkCreate mocks base method.
func (*MockStackDomainsStore) Create ¶
func (m *MockStackDomainsStore) Create(ctx context.Context, domain *models.StackDomain) (*models.StackDomain, *errors.ServiceError)
Create mocks base method.
func (*MockStackDomainsStore) CreateWithTx ¶
func (m *MockStackDomainsStore) CreateWithTx(ctx context.Context, domain *models.StackDomain) (*models.StackDomain, *errors.ServiceError)
CreateWithTx mocks base method.
func (*MockStackDomainsStore) Delete ¶
func (m *MockStackDomainsStore) Delete(ctx context.Context, id string) *errors.ServiceError
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 ¶
func (m *MockStackDomainsStore) EXPECT() *MockStackDomainsStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStackDomainsStore) Get ¶
func (m *MockStackDomainsStore) Get(ctx context.Context, id string) (*models.StackDomain, *errors.ServiceError)
Get mocks base method.
func (*MockStackDomainsStore) GetByFqdn ¶
func (m *MockStackDomainsStore) GetByFqdn(ctx context.Context, fqdn string) (*models.StackDomain, *errors.ServiceError)
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 ¶
func (m *MockStackDomainsStore) ListByFqdnPrefix(ctx context.Context, prefix string) (models.StackDomainList, *errors.ServiceError)
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 ¶
func (m *MockStackDomainsStore) ListByStackID(ctx context.Context, stackID string) (models.StackDomainList, *errors.ServiceError)
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 ¶
func (m *MockStackDomainsStore) Update(ctx context.Context, id string, domain *models.StackDomain) (*models.StackDomain, *errors.ServiceError)
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 ¶
func (mr *MockStackDomainsStoreMockRecorder) Get(ctx, id any) *gomock.Call
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.
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 ¶
func (m *MockStackPreviewConfigStore) Create(ctx context.Context, config *models.StackPreviewConfig) (*models.StackPreviewConfig, *errors.ServiceError)
Create mocks base method.
func (*MockStackPreviewConfigStore) Delete ¶
func (m *MockStackPreviewConfigStore) Delete(ctx context.Context, id string) *errors.ServiceError
Delete mocks base method.
func (*MockStackPreviewConfigStore) EXPECT ¶
func (m *MockStackPreviewConfigStore) EXPECT() *MockStackPreviewConfigStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStackPreviewConfigStore) GetByID ¶
func (m *MockStackPreviewConfigStore) GetByID(ctx context.Context, id string) (*models.StackPreviewConfig, *errors.ServiceError)
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 ¶
func (m *MockStackPreviewConfigStore) ListByProjectID(ctx context.Context, projectID string, params stores.ListParams) (*stores.PaginatedResult[*models.StackPreviewConfig], *errors.ServiceError)
ListByProjectID mocks base method.
func (*MockStackPreviewConfigStore) Update ¶
func (m *MockStackPreviewConfigStore) Update(ctx context.Context, config *models.StackPreviewConfig) (*models.StackPreviewConfig, *errors.ServiceError)
Update mocks base method.
func (*MockStackPreviewConfigStore) WithTransaction ¶
func (m *MockStackPreviewConfigStore) WithTransaction(ctx context.Context, fn func(context.Context) *errors.ServiceError) *errors.ServiceError
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 ¶
func (mr *MockStackPreviewConfigStoreMockRecorder) Delete(ctx, id any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockStackPreviewConfigStoreMockRecorder) GetByID ¶
func (mr *MockStackPreviewConfigStoreMockRecorder) GetByID(ctx, id any) *gomock.Call
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 ¶
func (m *MockStackReleaseStore) Cancel(ctx context.Context, id string) (bool, *errors.ServiceError)
Cancel mocks base method.
func (*MockStackReleaseStore) Create ¶
func (m *MockStackReleaseStore) Create(ctx context.Context, release *models.StackRelease) (*models.StackRelease, *errors.ServiceError)
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 ¶
func (m *MockStackReleaseStore) EXPECT() *MockStackReleaseStoreMockRecorder
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 ¶
func (m *MockStackReleaseStore) GetByID(ctx context.Context, id string) (*models.StackRelease, *errors.ServiceError)
GetByID mocks base method.
func (*MockStackReleaseStore) GetByIDs ¶
func (m *MockStackReleaseStore) GetByIDs(ctx context.Context, ids []string) (map[string]*models.StackRelease, *errors.ServiceError)
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 ¶
func (m *MockStackReleaseStore) ListActive(ctx context.Context) ([]*models.StackRelease, *errors.ServiceError)
ListActive mocks base method.
func (*MockStackReleaseStore) ListByStackID ¶
func (m *MockStackReleaseStore) ListByStackID(ctx context.Context, stackID string, params stores.ListParams) (*stores.PaginatedResult[*models.StackRelease], *errors.ServiceError)
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 ¶
func (m *MockStackReleaseStore) MarkReleased(ctx context.Context, id string, outcome models.ReleaseOutcome) (bool, *errors.ServiceError)
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 ¶
func (m *MockStackReleaseStore) WithTransaction(ctx context.Context, fn func(context.Context) *errors.ServiceError) *errors.ServiceError
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 ¶
func (m *MockStackResourceService) Create(ctx context.Context, resource *models.StackResource) (*models.StackResource, *errors.ServiceError)
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 ¶
func (m *MockStackResourceService) EXPECT() *MockStackResourceServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStackResourceService) GetByID ¶
func (m *MockStackResourceService) GetByID(ctx context.Context, ID string) (*models.StackResource, *errors.ServiceError)
GetByID mocks base method.
func (*MockStackResourceService) GetByStackID ¶
func (m *MockStackResourceService) GetByStackID(ctx context.Context, stackID string) ([]*models.StackResource, *errors.ServiceError)
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 ¶
func (m *MockStackResourceStore) Create(ctx context.Context, resource *models.StackResource) (*models.StackResource, *errors.ServiceError)
Create mocks base method.
func (*MockStackResourceStore) CreateWithTx ¶
func (m *MockStackResourceStore) CreateWithTx(ctx context.Context, resource *models.StackResource, stack *models.Stack) (*models.StackResource, *errors.ServiceError)
CreateWithTx mocks base method.
func (*MockStackResourceStore) Delete ¶
func (m *MockStackResourceStore) Delete(ctx context.Context, ID string) *errors.ServiceError
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 ¶
func (m *MockStackResourceStore) EXPECT() *MockStackResourceStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStackResourceStore) GetByID ¶
func (m *MockStackResourceStore) GetByID(ctx context.Context, ID string) (*models.StackResource, *errors.ServiceError)
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 ¶
func (m *MockStackResourceStore) Update(ctx context.Context, resourceID string, resource *models.StackResource, stack *models.Stack) (*models.StackResource, *errors.ServiceError)
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 ¶
func (m *MockStackStore) Create(ctx context.Context, spec *models.Stack) (*models.Stack, *errors.ServiceError)
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 ¶
func (m *MockStackStore) Delete(ctx context.Context, id string) *errors.ServiceError
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 ¶
func (m *MockStackStore) EXPECT() *MockStackStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStackStore) GetByID ¶
func (m *MockStackStore) GetByID(ctx context.Context, id string) (*models.Stack, *errors.ServiceError)
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 ¶
func (m *MockStackStore) Update(ctx context.Context, id string, spec *models.Stack) (*models.Stack, *errors.ServiceError)
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 ¶
func (m *MockStackValidator) EXPECT() *MockStackValidatorMockRecorder
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 ¶
func (m *MockStackVolumeStore) Create(ctx context.Context, sv *models.StackVolume) *errors.ServiceError
Create mocks base method.
func (*MockStackVolumeStore) CreateWithTx ¶
func (m *MockStackVolumeStore) CreateWithTx(ctx context.Context, sv *models.StackVolume) *errors.ServiceError
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 ¶
func (m *MockStackVolumeStore) EXPECT() *MockStackVolumeStoreMockRecorder
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 ¶
func (m *MockUserService) EXPECT() *MockUserServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserService) Get ¶
func (m *MockUserService) Get(ctx context.Context, ID string) (*models.User, *errors.ServiceError)
Get mocks base method.
func (*MockUserService) GetUserFromContext ¶
func (m *MockUserService) GetUserFromContext(ctx context.Context) (*models.User, []*models.ProjectMembership, *errors.ServiceError)
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 ¶
func (m *MockUserService) ListByOrgID(ctx context.Context, orgID string, params stores.ListParams) (*stores.PaginatedResult[*models.User], *errors.ServiceError)
ListByOrgID mocks base method.
func (*MockUserService) Login ¶
func (m *MockUserService) Login(ctx context.Context, loginRequest *openapi.LoginRequest) (*openapi.LoginResponse, *errors.ServiceError)
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.
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 ¶
func (m *MockUserStore) EXPECT() *MockUserStoreMockRecorder
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 ¶
func (m *MockUserStore) ListByOrgID(ctx context.Context, orgID string, params stores.ListParams) (*stores.PaginatedResult[*models.User], *errors.ServiceError)
ListByOrgID 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.
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 ¶
func (m *MockValidator) EXPECT() *MockValidatorMockRecorder
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.
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 ¶
func (m *MockVolumeClusterResourceService) CreateVolumeInCluster(ctx context.Context, volume *models.Volume) *clusterresource.ClusterResourceError
CreateVolumeInCluster mocks base method.
func (*MockVolumeClusterResourceService) DeleteVolumeInCluster ¶
func (m *MockVolumeClusterResourceService) DeleteVolumeInCluster(ctx context.Context, volume *models.Volume) *clusterresource.ClusterResourceError
DeleteVolumeInCluster mocks base method.
func (*MockVolumeClusterResourceService) EXPECT ¶
func (m *MockVolumeClusterResourceService) EXPECT() *MockVolumeClusterResourceServiceMockRecorder
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 ¶
func (m *MockVolumeService) Delete(ctx context.Context, ID string) *errors.ServiceError
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 ¶
func (m *MockVolumeService) EXPECT() *MockVolumeServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVolumeService) Get ¶
func (m *MockVolumeService) Get(ctx context.Context, ID string) (*models.Volume, *errors.ServiceError)
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 ¶
func (m *MockVolumeStore) Create(ctx context.Context, spec *models.Volume) (*models.Volume, *errors.ServiceError)
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 ¶
func (m *MockVolumeStore) Delete(ctx context.Context, id string) *errors.ServiceError
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 ¶
func (m *MockVolumeStore) EXPECT() *MockVolumeStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVolumeStore) GetByID ¶
func (m *MockVolumeStore) GetByID(ctx context.Context, id string) (*models.Volume, *errors.ServiceError)
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 ¶
func (m *MockWorkerManager) EXPECT() *MockWorkerManagerMockRecorder
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.
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 ¶
func (m *MockpostgresAddonService) EXPECT() *MockpostgresAddonServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockpostgresAddonService) GetPostgresAddon ¶
func (m *MockpostgresAddonService) GetPostgresAddon(ctx context.Context, id string) (*models.PostgresAddon, *errors.ServiceError)
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 ¶
func (m *MocksecretService) EXPECT() *MocksecretServiceMockRecorder
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
¶
- mock_api_token_store.go
- mock_atomic_executor.go
- mock_background_job_enqueuer.go
- mock_cluster_image_registry_store.go
- mock_cluster_manager.go
- mock_cluster_resource_image_registry_service.go
- mock_cluster_service.go
- mock_cluster_store.go
- mock_credential_resolver.go
- mock_git_client.go
- mock_git_installation_store.go
- mock_git_integration_service.go
- mock_git_integration_store.go
- mock_github_webhook_service.go
- mock_githubapp_client.go
- mock_image_build_service.go
- mock_image_registry_service.go
- mock_logger.go
- mock_namespace_service.go
- mock_oauth_state_store.go
- mock_org_invite_store.go
- mock_organisation_domain_store.go
- mock_organisation_domains_service.go
- mock_organisation_service.go
- mock_organisation_store.go
- mock_permission_service.go
- mock_postgres_addon_database_service.go
- mock_postgres_addon_store.go
- mock_preview_stack_store.go
- mock_project_membership_store.go
- mock_project_service.go
- mock_project_store.go
- mock_reference_service.go
- mock_refresh_token_store.go
- mock_registry_client.go
- mock_registry_credential_store.go
- mock_release_event_store.go
- mock_release_resolver.go
- mock_resource_access_policy_manager.go
- mock_resource_reference_store.go
- mock_resource_validation_record_store.go
- mock_secret_store.go
- mock_stack_domains_service.go
- mock_stack_domains_store.go
- mock_stack_preview_config_store.go
- mock_stack_release_store.go
- mock_stack_resource_service.go
- mock_stack_resource_store.go
- mock_stack_resource_validator.go
- mock_stack_store.go
- mock_stack_validator.go
- mock_stack_validator_dependencies.go
- mock_stack_volume_store.go
- mock_user_service.go
- mock_user_store.go
- mock_volume_cluster_resource_service.go
- mock_volume_service.go
- mock_volume_store.go