Documentation
¶
Index ¶
- type DB
- func (_mock *DB) AddGPGPublicKey(ctx context.Context, keyData string) (map[string]*v1alpha1.GnuPGPublicKey, []string, error)
- func (_mock *DB) CreateCluster(ctx context.Context, c *v1alpha1.Cluster) (*v1alpha1.Cluster, error)
- func (_mock *DB) CreateRepoCertificate(ctx context.Context, certificate *v1alpha1.RepositoryCertificateList, ...) (*v1alpha1.RepositoryCertificateList, error)
- func (_mock *DB) CreateRepository(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)
- func (_mock *DB) CreateRepositoryCredentials(ctx context.Context, r *v1alpha1.RepoCreds) (*v1alpha1.RepoCreds, error)
- func (_mock *DB) CreateWriteRepository(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)
- func (_mock *DB) CreateWriteRepositoryCredentials(ctx context.Context, r *v1alpha1.RepoCreds) (*v1alpha1.RepoCreds, error)
- func (_mock *DB) DeleteCluster(ctx context.Context, server string) error
- func (_mock *DB) DeleteGPGPublicKey(ctx context.Context, keyID string) error
- func (_mock *DB) DeleteRepository(ctx context.Context, name string, project string) error
- func (_mock *DB) DeleteRepositoryCredentials(ctx context.Context, name string) error
- func (_mock *DB) DeleteWriteRepository(ctx context.Context, name string, project string) error
- func (_mock *DB) DeleteWriteRepositoryCredentials(ctx context.Context, name string) error
- func (_m *DB) EXPECT() *DB_Expecter
- func (_mock *DB) GetAllHelmRepositoryCredentials(ctx context.Context) ([]*v1alpha1.RepoCreds, error)
- func (_mock *DB) GetAllOCIRepositoryCredentials(ctx context.Context) ([]*v1alpha1.RepoCreds, error)
- func (_mock *DB) GetApplicationControllerReplicas() int
- func (_mock *DB) GetCluster(ctx context.Context, server string) (*v1alpha1.Cluster, error)
- func (_mock *DB) GetClusterServersByName(ctx context.Context, name string) ([]string, error)
- func (_mock *DB) GetProjectClusters(ctx context.Context, project string) ([]*v1alpha1.Cluster, error)
- func (_mock *DB) GetProjectRepositories(project string) ([]*v1alpha1.Repository, error)
- func (_mock *DB) GetProjectWriteRepositories(project string) ([]*v1alpha1.Repository, error)
- func (_mock *DB) GetRepository(ctx context.Context, url string, project string) (*v1alpha1.Repository, error)
- func (_mock *DB) GetRepositoryCredentials(ctx context.Context, name string) (*v1alpha1.RepoCreds, error)
- func (_mock *DB) GetWriteRepository(ctx context.Context, url string, project string) (*v1alpha1.Repository, error)
- func (_mock *DB) GetWriteRepositoryCredentials(ctx context.Context, name string) (*v1alpha1.RepoCreds, error)
- func (_mock *DB) ListClusters(ctx context.Context) (*v1alpha1.ClusterList, error)
- func (_mock *DB) ListConfiguredGPGPublicKeys(ctx context.Context) (map[string]*v1alpha1.GnuPGPublicKey, error)
- func (_mock *DB) ListHelmRepositories(ctx context.Context) ([]*v1alpha1.Repository, error)
- func (_mock *DB) ListOCIRepositories(ctx context.Context) ([]*v1alpha1.Repository, error)
- func (_mock *DB) ListRepoCertificates(ctx context.Context, selector *db.CertificateListSelector) (*v1alpha1.RepositoryCertificateList, error)
- func (_mock *DB) ListRepositories(ctx context.Context) ([]*v1alpha1.Repository, error)
- func (_mock *DB) ListRepositoryCredentials(ctx context.Context) ([]string, error)
- func (_mock *DB) ListWriteRepositories(ctx context.Context) ([]*v1alpha1.Repository, error)
- func (_mock *DB) ListWriteRepositoryCredentials(ctx context.Context) ([]string, error)
- func (_mock *DB) RemoveRepoCertificates(ctx context.Context, selector *db.CertificateListSelector) (*v1alpha1.RepositoryCertificateList, error)
- func (_mock *DB) RepositoryExists(ctx context.Context, repoURL string, project string) (bool, error)
- func (_mock *DB) UpdateCluster(ctx context.Context, c *v1alpha1.Cluster) (*v1alpha1.Cluster, error)
- func (_mock *DB) UpdateRepository(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)
- func (_mock *DB) UpdateRepositoryCredentials(ctx context.Context, r *v1alpha1.RepoCreds) (*v1alpha1.RepoCreds, error)
- func (_mock *DB) UpdateWriteRepository(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)
- func (_mock *DB) UpdateWriteRepositoryCredentials(ctx context.Context, r *v1alpha1.RepoCreds) (*v1alpha1.RepoCreds, error)
- func (_mock *DB) WatchClusters(ctx context.Context, handleAddEvent func(cluster *v1alpha1.Cluster), ...) error
- func (_mock *DB) WriteRepositoryExists(ctx context.Context, repoURL string, project string) (bool, error)
- type DB_AddGPGPublicKey_Call
- func (_c *DB_AddGPGPublicKey_Call) Return(stringToGnuPGPublicKey map[string]*v1alpha1.GnuPGPublicKey, strings []string, ...) *DB_AddGPGPublicKey_Call
- func (_c *DB_AddGPGPublicKey_Call) Run(run func(ctx context.Context, keyData string)) *DB_AddGPGPublicKey_Call
- func (_c *DB_AddGPGPublicKey_Call) RunAndReturn(...) *DB_AddGPGPublicKey_Call
- type DB_CreateCluster_Call
- func (_c *DB_CreateCluster_Call) Return(cluster *v1alpha1.Cluster, err error) *DB_CreateCluster_Call
- func (_c *DB_CreateCluster_Call) Run(run func(ctx context.Context, c *v1alpha1.Cluster)) *DB_CreateCluster_Call
- func (_c *DB_CreateCluster_Call) RunAndReturn(run func(ctx context.Context, c *v1alpha1.Cluster) (*v1alpha1.Cluster, error)) *DB_CreateCluster_Call
- type DB_CreateRepoCertificate_Call
- func (_c *DB_CreateRepoCertificate_Call) Return(repositoryCertificateList *v1alpha1.RepositoryCertificateList, err error) *DB_CreateRepoCertificate_Call
- func (_c *DB_CreateRepoCertificate_Call) Run(...) *DB_CreateRepoCertificate_Call
- func (_c *DB_CreateRepoCertificate_Call) RunAndReturn(...) *DB_CreateRepoCertificate_Call
- type DB_CreateRepositoryCredentials_Call
- func (_c *DB_CreateRepositoryCredentials_Call) Return(repoCreds *v1alpha1.RepoCreds, err error) *DB_CreateRepositoryCredentials_Call
- func (_c *DB_CreateRepositoryCredentials_Call) Run(run func(ctx context.Context, r *v1alpha1.RepoCreds)) *DB_CreateRepositoryCredentials_Call
- func (_c *DB_CreateRepositoryCredentials_Call) RunAndReturn(...) *DB_CreateRepositoryCredentials_Call
- type DB_CreateRepository_Call
- func (_c *DB_CreateRepository_Call) Return(repository *v1alpha1.Repository, err error) *DB_CreateRepository_Call
- func (_c *DB_CreateRepository_Call) Run(run func(ctx context.Context, r *v1alpha1.Repository)) *DB_CreateRepository_Call
- func (_c *DB_CreateRepository_Call) RunAndReturn(...) *DB_CreateRepository_Call
- type DB_CreateWriteRepositoryCredentials_Call
- func (_c *DB_CreateWriteRepositoryCredentials_Call) Return(repoCreds *v1alpha1.RepoCreds, err error) *DB_CreateWriteRepositoryCredentials_Call
- func (_c *DB_CreateWriteRepositoryCredentials_Call) Run(run func(ctx context.Context, r *v1alpha1.RepoCreds)) *DB_CreateWriteRepositoryCredentials_Call
- func (_c *DB_CreateWriteRepositoryCredentials_Call) RunAndReturn(...) *DB_CreateWriteRepositoryCredentials_Call
- type DB_CreateWriteRepository_Call
- func (_c *DB_CreateWriteRepository_Call) Return(repository *v1alpha1.Repository, err error) *DB_CreateWriteRepository_Call
- func (_c *DB_CreateWriteRepository_Call) Run(run func(ctx context.Context, r *v1alpha1.Repository)) *DB_CreateWriteRepository_Call
- func (_c *DB_CreateWriteRepository_Call) RunAndReturn(...) *DB_CreateWriteRepository_Call
- type DB_DeleteCluster_Call
- func (_c *DB_DeleteCluster_Call) Return(err error) *DB_DeleteCluster_Call
- func (_c *DB_DeleteCluster_Call) Run(run func(ctx context.Context, server string)) *DB_DeleteCluster_Call
- func (_c *DB_DeleteCluster_Call) RunAndReturn(run func(ctx context.Context, server string) error) *DB_DeleteCluster_Call
- type DB_DeleteGPGPublicKey_Call
- func (_c *DB_DeleteGPGPublicKey_Call) Return(err error) *DB_DeleteGPGPublicKey_Call
- func (_c *DB_DeleteGPGPublicKey_Call) Run(run func(ctx context.Context, keyID string)) *DB_DeleteGPGPublicKey_Call
- func (_c *DB_DeleteGPGPublicKey_Call) RunAndReturn(run func(ctx context.Context, keyID string) error) *DB_DeleteGPGPublicKey_Call
- type DB_DeleteRepositoryCredentials_Call
- func (_c *DB_DeleteRepositoryCredentials_Call) Return(err error) *DB_DeleteRepositoryCredentials_Call
- func (_c *DB_DeleteRepositoryCredentials_Call) Run(run func(ctx context.Context, name string)) *DB_DeleteRepositoryCredentials_Call
- func (_c *DB_DeleteRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context, name string) error) *DB_DeleteRepositoryCredentials_Call
- type DB_DeleteRepository_Call
- func (_c *DB_DeleteRepository_Call) Return(err error) *DB_DeleteRepository_Call
- func (_c *DB_DeleteRepository_Call) Run(run func(ctx context.Context, name string, project string)) *DB_DeleteRepository_Call
- func (_c *DB_DeleteRepository_Call) RunAndReturn(run func(ctx context.Context, name string, project string) error) *DB_DeleteRepository_Call
- type DB_DeleteWriteRepositoryCredentials_Call
- func (_c *DB_DeleteWriteRepositoryCredentials_Call) Return(err error) *DB_DeleteWriteRepositoryCredentials_Call
- func (_c *DB_DeleteWriteRepositoryCredentials_Call) Run(run func(ctx context.Context, name string)) *DB_DeleteWriteRepositoryCredentials_Call
- func (_c *DB_DeleteWriteRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context, name string) error) *DB_DeleteWriteRepositoryCredentials_Call
- type DB_DeleteWriteRepository_Call
- func (_c *DB_DeleteWriteRepository_Call) Return(err error) *DB_DeleteWriteRepository_Call
- func (_c *DB_DeleteWriteRepository_Call) Run(run func(ctx context.Context, name string, project string)) *DB_DeleteWriteRepository_Call
- func (_c *DB_DeleteWriteRepository_Call) RunAndReturn(run func(ctx context.Context, name string, project string) error) *DB_DeleteWriteRepository_Call
- type DB_Expecter
- func (_e *DB_Expecter) AddGPGPublicKey(ctx any, keyData any) *DB_AddGPGPublicKey_Call
- func (_e *DB_Expecter) CreateCluster(ctx any, c any) *DB_CreateCluster_Call
- func (_e *DB_Expecter) CreateRepoCertificate(ctx any, certificate any, upsert any) *DB_CreateRepoCertificate_Call
- func (_e *DB_Expecter) CreateRepository(ctx any, r any) *DB_CreateRepository_Call
- func (_e *DB_Expecter) CreateRepositoryCredentials(ctx any, r any) *DB_CreateRepositoryCredentials_Call
- func (_e *DB_Expecter) CreateWriteRepository(ctx any, r any) *DB_CreateWriteRepository_Call
- func (_e *DB_Expecter) CreateWriteRepositoryCredentials(ctx any, r any) *DB_CreateWriteRepositoryCredentials_Call
- func (_e *DB_Expecter) DeleteCluster(ctx any, server any) *DB_DeleteCluster_Call
- func (_e *DB_Expecter) DeleteGPGPublicKey(ctx any, keyID any) *DB_DeleteGPGPublicKey_Call
- func (_e *DB_Expecter) DeleteRepository(ctx any, name any, project any) *DB_DeleteRepository_Call
- func (_e *DB_Expecter) DeleteRepositoryCredentials(ctx any, name any) *DB_DeleteRepositoryCredentials_Call
- func (_e *DB_Expecter) DeleteWriteRepository(ctx any, name any, project any) *DB_DeleteWriteRepository_Call
- func (_e *DB_Expecter) DeleteWriteRepositoryCredentials(ctx any, name any) *DB_DeleteWriteRepositoryCredentials_Call
- func (_e *DB_Expecter) GetAllHelmRepositoryCredentials(ctx any) *DB_GetAllHelmRepositoryCredentials_Call
- func (_e *DB_Expecter) GetAllOCIRepositoryCredentials(ctx any) *DB_GetAllOCIRepositoryCredentials_Call
- func (_e *DB_Expecter) GetApplicationControllerReplicas() *DB_GetApplicationControllerReplicas_Call
- func (_e *DB_Expecter) GetCluster(ctx any, server any) *DB_GetCluster_Call
- func (_e *DB_Expecter) GetClusterServersByName(ctx any, name any) *DB_GetClusterServersByName_Call
- func (_e *DB_Expecter) GetProjectClusters(ctx any, project any) *DB_GetProjectClusters_Call
- func (_e *DB_Expecter) GetProjectRepositories(project any) *DB_GetProjectRepositories_Call
- func (_e *DB_Expecter) GetProjectWriteRepositories(project any) *DB_GetProjectWriteRepositories_Call
- func (_e *DB_Expecter) GetRepository(ctx any, url any, project any) *DB_GetRepository_Call
- func (_e *DB_Expecter) GetRepositoryCredentials(ctx any, name any) *DB_GetRepositoryCredentials_Call
- func (_e *DB_Expecter) GetWriteRepository(ctx any, url any, project any) *DB_GetWriteRepository_Call
- func (_e *DB_Expecter) GetWriteRepositoryCredentials(ctx any, name any) *DB_GetWriteRepositoryCredentials_Call
- func (_e *DB_Expecter) ListClusters(ctx any) *DB_ListClusters_Call
- func (_e *DB_Expecter) ListConfiguredGPGPublicKeys(ctx any) *DB_ListConfiguredGPGPublicKeys_Call
- func (_e *DB_Expecter) ListHelmRepositories(ctx any) *DB_ListHelmRepositories_Call
- func (_e *DB_Expecter) ListOCIRepositories(ctx any) *DB_ListOCIRepositories_Call
- func (_e *DB_Expecter) ListRepoCertificates(ctx any, selector any) *DB_ListRepoCertificates_Call
- func (_e *DB_Expecter) ListRepositories(ctx any) *DB_ListRepositories_Call
- func (_e *DB_Expecter) ListRepositoryCredentials(ctx any) *DB_ListRepositoryCredentials_Call
- func (_e *DB_Expecter) ListWriteRepositories(ctx any) *DB_ListWriteRepositories_Call
- func (_e *DB_Expecter) ListWriteRepositoryCredentials(ctx any) *DB_ListWriteRepositoryCredentials_Call
- func (_e *DB_Expecter) RemoveRepoCertificates(ctx any, selector any) *DB_RemoveRepoCertificates_Call
- func (_e *DB_Expecter) RepositoryExists(ctx any, repoURL any, project any) *DB_RepositoryExists_Call
- func (_e *DB_Expecter) UpdateCluster(ctx any, c any) *DB_UpdateCluster_Call
- func (_e *DB_Expecter) UpdateRepository(ctx any, r any) *DB_UpdateRepository_Call
- func (_e *DB_Expecter) UpdateRepositoryCredentials(ctx any, r any) *DB_UpdateRepositoryCredentials_Call
- func (_e *DB_Expecter) UpdateWriteRepository(ctx any, r any) *DB_UpdateWriteRepository_Call
- func (_e *DB_Expecter) UpdateWriteRepositoryCredentials(ctx any, r any) *DB_UpdateWriteRepositoryCredentials_Call
- func (_e *DB_Expecter) WatchClusters(ctx any, handleAddEvent any, handleModEvent any, handleDeleteEvent any) *DB_WatchClusters_Call
- func (_e *DB_Expecter) WriteRepositoryExists(ctx any, repoURL any, project any) *DB_WriteRepositoryExists_Call
- type DB_GetAllHelmRepositoryCredentials_Call
- func (_c *DB_GetAllHelmRepositoryCredentials_Call) Return(repoCredss []*v1alpha1.RepoCreds, err error) *DB_GetAllHelmRepositoryCredentials_Call
- func (_c *DB_GetAllHelmRepositoryCredentials_Call) Run(run func(ctx context.Context)) *DB_GetAllHelmRepositoryCredentials_Call
- func (_c *DB_GetAllHelmRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context) ([]*v1alpha1.RepoCreds, error)) *DB_GetAllHelmRepositoryCredentials_Call
- type DB_GetAllOCIRepositoryCredentials_Call
- func (_c *DB_GetAllOCIRepositoryCredentials_Call) Return(repoCredss []*v1alpha1.RepoCreds, err error) *DB_GetAllOCIRepositoryCredentials_Call
- func (_c *DB_GetAllOCIRepositoryCredentials_Call) Run(run func(ctx context.Context)) *DB_GetAllOCIRepositoryCredentials_Call
- func (_c *DB_GetAllOCIRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context) ([]*v1alpha1.RepoCreds, error)) *DB_GetAllOCIRepositoryCredentials_Call
- type DB_GetApplicationControllerReplicas_Call
- func (_c *DB_GetApplicationControllerReplicas_Call) Return(n int) *DB_GetApplicationControllerReplicas_Call
- func (_c *DB_GetApplicationControllerReplicas_Call) Run(run func()) *DB_GetApplicationControllerReplicas_Call
- func (_c *DB_GetApplicationControllerReplicas_Call) RunAndReturn(run func() int) *DB_GetApplicationControllerReplicas_Call
- type DB_GetClusterServersByName_Call
- func (_c *DB_GetClusterServersByName_Call) Return(strings []string, err error) *DB_GetClusterServersByName_Call
- func (_c *DB_GetClusterServersByName_Call) Run(run func(ctx context.Context, name string)) *DB_GetClusterServersByName_Call
- func (_c *DB_GetClusterServersByName_Call) RunAndReturn(run func(ctx context.Context, name string) ([]string, error)) *DB_GetClusterServersByName_Call
- type DB_GetCluster_Call
- func (_c *DB_GetCluster_Call) Return(cluster *v1alpha1.Cluster, err error) *DB_GetCluster_Call
- func (_c *DB_GetCluster_Call) Run(run func(ctx context.Context, server string)) *DB_GetCluster_Call
- func (_c *DB_GetCluster_Call) RunAndReturn(run func(ctx context.Context, server string) (*v1alpha1.Cluster, error)) *DB_GetCluster_Call
- type DB_GetProjectClusters_Call
- func (_c *DB_GetProjectClusters_Call) Return(clusters []*v1alpha1.Cluster, err error) *DB_GetProjectClusters_Call
- func (_c *DB_GetProjectClusters_Call) Run(run func(ctx context.Context, project string)) *DB_GetProjectClusters_Call
- func (_c *DB_GetProjectClusters_Call) RunAndReturn(run func(ctx context.Context, project string) ([]*v1alpha1.Cluster, error)) *DB_GetProjectClusters_Call
- type DB_GetProjectRepositories_Call
- func (_c *DB_GetProjectRepositories_Call) Return(repositorys []*v1alpha1.Repository, err error) *DB_GetProjectRepositories_Call
- func (_c *DB_GetProjectRepositories_Call) Run(run func(project string)) *DB_GetProjectRepositories_Call
- func (_c *DB_GetProjectRepositories_Call) RunAndReturn(run func(project string) ([]*v1alpha1.Repository, error)) *DB_GetProjectRepositories_Call
- type DB_GetProjectWriteRepositories_Call
- func (_c *DB_GetProjectWriteRepositories_Call) Return(repositorys []*v1alpha1.Repository, err error) *DB_GetProjectWriteRepositories_Call
- func (_c *DB_GetProjectWriteRepositories_Call) Run(run func(project string)) *DB_GetProjectWriteRepositories_Call
- func (_c *DB_GetProjectWriteRepositories_Call) RunAndReturn(run func(project string) ([]*v1alpha1.Repository, error)) *DB_GetProjectWriteRepositories_Call
- type DB_GetRepositoryCredentials_Call
- func (_c *DB_GetRepositoryCredentials_Call) Return(repoCreds *v1alpha1.RepoCreds, err error) *DB_GetRepositoryCredentials_Call
- func (_c *DB_GetRepositoryCredentials_Call) Run(run func(ctx context.Context, name string)) *DB_GetRepositoryCredentials_Call
- func (_c *DB_GetRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context, name string) (*v1alpha1.RepoCreds, error)) *DB_GetRepositoryCredentials_Call
- type DB_GetRepository_Call
- type DB_GetWriteRepositoryCredentials_Call
- func (_c *DB_GetWriteRepositoryCredentials_Call) Return(repoCreds *v1alpha1.RepoCreds, err error) *DB_GetWriteRepositoryCredentials_Call
- func (_c *DB_GetWriteRepositoryCredentials_Call) Run(run func(ctx context.Context, name string)) *DB_GetWriteRepositoryCredentials_Call
- func (_c *DB_GetWriteRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context, name string) (*v1alpha1.RepoCreds, error)) *DB_GetWriteRepositoryCredentials_Call
- type DB_GetWriteRepository_Call
- func (_c *DB_GetWriteRepository_Call) Return(repository *v1alpha1.Repository, err error) *DB_GetWriteRepository_Call
- func (_c *DB_GetWriteRepository_Call) Run(run func(ctx context.Context, url string, project string)) *DB_GetWriteRepository_Call
- func (_c *DB_GetWriteRepository_Call) RunAndReturn(...) *DB_GetWriteRepository_Call
- type DB_ListClusters_Call
- func (_c *DB_ListClusters_Call) Return(clusterList *v1alpha1.ClusterList, err error) *DB_ListClusters_Call
- func (_c *DB_ListClusters_Call) Run(run func(ctx context.Context)) *DB_ListClusters_Call
- func (_c *DB_ListClusters_Call) RunAndReturn(run func(ctx context.Context) (*v1alpha1.ClusterList, error)) *DB_ListClusters_Call
- type DB_ListConfiguredGPGPublicKeys_Call
- func (_c *DB_ListConfiguredGPGPublicKeys_Call) Return(stringToGnuPGPublicKey map[string]*v1alpha1.GnuPGPublicKey, err error) *DB_ListConfiguredGPGPublicKeys_Call
- func (_c *DB_ListConfiguredGPGPublicKeys_Call) Run(run func(ctx context.Context)) *DB_ListConfiguredGPGPublicKeys_Call
- func (_c *DB_ListConfiguredGPGPublicKeys_Call) RunAndReturn(run func(ctx context.Context) (map[string]*v1alpha1.GnuPGPublicKey, error)) *DB_ListConfiguredGPGPublicKeys_Call
- type DB_ListHelmRepositories_Call
- func (_c *DB_ListHelmRepositories_Call) Return(repositorys []*v1alpha1.Repository, err error) *DB_ListHelmRepositories_Call
- func (_c *DB_ListHelmRepositories_Call) Run(run func(ctx context.Context)) *DB_ListHelmRepositories_Call
- func (_c *DB_ListHelmRepositories_Call) RunAndReturn(run func(ctx context.Context) ([]*v1alpha1.Repository, error)) *DB_ListHelmRepositories_Call
- type DB_ListOCIRepositories_Call
- func (_c *DB_ListOCIRepositories_Call) Return(repositorys []*v1alpha1.Repository, err error) *DB_ListOCIRepositories_Call
- func (_c *DB_ListOCIRepositories_Call) Run(run func(ctx context.Context)) *DB_ListOCIRepositories_Call
- func (_c *DB_ListOCIRepositories_Call) RunAndReturn(run func(ctx context.Context) ([]*v1alpha1.Repository, error)) *DB_ListOCIRepositories_Call
- type DB_ListRepoCertificates_Call
- func (_c *DB_ListRepoCertificates_Call) Return(repositoryCertificateList *v1alpha1.RepositoryCertificateList, err error) *DB_ListRepoCertificates_Call
- func (_c *DB_ListRepoCertificates_Call) Run(run func(ctx context.Context, selector *db.CertificateListSelector)) *DB_ListRepoCertificates_Call
- func (_c *DB_ListRepoCertificates_Call) RunAndReturn(...) *DB_ListRepoCertificates_Call
- type DB_ListRepositories_Call
- func (_c *DB_ListRepositories_Call) Return(repositorys []*v1alpha1.Repository, err error) *DB_ListRepositories_Call
- func (_c *DB_ListRepositories_Call) Run(run func(ctx context.Context)) *DB_ListRepositories_Call
- func (_c *DB_ListRepositories_Call) RunAndReturn(run func(ctx context.Context) ([]*v1alpha1.Repository, error)) *DB_ListRepositories_Call
- type DB_ListRepositoryCredentials_Call
- func (_c *DB_ListRepositoryCredentials_Call) Return(strings []string, err error) *DB_ListRepositoryCredentials_Call
- func (_c *DB_ListRepositoryCredentials_Call) Run(run func(ctx context.Context)) *DB_ListRepositoryCredentials_Call
- func (_c *DB_ListRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context) ([]string, error)) *DB_ListRepositoryCredentials_Call
- type DB_ListWriteRepositories_Call
- func (_c *DB_ListWriteRepositories_Call) Return(repositorys []*v1alpha1.Repository, err error) *DB_ListWriteRepositories_Call
- func (_c *DB_ListWriteRepositories_Call) Run(run func(ctx context.Context)) *DB_ListWriteRepositories_Call
- func (_c *DB_ListWriteRepositories_Call) RunAndReturn(run func(ctx context.Context) ([]*v1alpha1.Repository, error)) *DB_ListWriteRepositories_Call
- type DB_ListWriteRepositoryCredentials_Call
- func (_c *DB_ListWriteRepositoryCredentials_Call) Return(strings []string, err error) *DB_ListWriteRepositoryCredentials_Call
- func (_c *DB_ListWriteRepositoryCredentials_Call) Run(run func(ctx context.Context)) *DB_ListWriteRepositoryCredentials_Call
- func (_c *DB_ListWriteRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context) ([]string, error)) *DB_ListWriteRepositoryCredentials_Call
- type DB_RemoveRepoCertificates_Call
- func (_c *DB_RemoveRepoCertificates_Call) Return(repositoryCertificateList *v1alpha1.RepositoryCertificateList, err error) *DB_RemoveRepoCertificates_Call
- func (_c *DB_RemoveRepoCertificates_Call) Run(run func(ctx context.Context, selector *db.CertificateListSelector)) *DB_RemoveRepoCertificates_Call
- func (_c *DB_RemoveRepoCertificates_Call) RunAndReturn(...) *DB_RemoveRepoCertificates_Call
- type DB_RepositoryExists_Call
- func (_c *DB_RepositoryExists_Call) Return(b bool, err error) *DB_RepositoryExists_Call
- func (_c *DB_RepositoryExists_Call) Run(run func(ctx context.Context, repoURL string, project string)) *DB_RepositoryExists_Call
- func (_c *DB_RepositoryExists_Call) RunAndReturn(run func(ctx context.Context, repoURL string, project string) (bool, error)) *DB_RepositoryExists_Call
- type DB_UpdateCluster_Call
- func (_c *DB_UpdateCluster_Call) Return(cluster *v1alpha1.Cluster, err error) *DB_UpdateCluster_Call
- func (_c *DB_UpdateCluster_Call) Run(run func(ctx context.Context, c *v1alpha1.Cluster)) *DB_UpdateCluster_Call
- func (_c *DB_UpdateCluster_Call) RunAndReturn(run func(ctx context.Context, c *v1alpha1.Cluster) (*v1alpha1.Cluster, error)) *DB_UpdateCluster_Call
- type DB_UpdateRepositoryCredentials_Call
- func (_c *DB_UpdateRepositoryCredentials_Call) Return(repoCreds *v1alpha1.RepoCreds, err error) *DB_UpdateRepositoryCredentials_Call
- func (_c *DB_UpdateRepositoryCredentials_Call) Run(run func(ctx context.Context, r *v1alpha1.RepoCreds)) *DB_UpdateRepositoryCredentials_Call
- func (_c *DB_UpdateRepositoryCredentials_Call) RunAndReturn(...) *DB_UpdateRepositoryCredentials_Call
- type DB_UpdateRepository_Call
- func (_c *DB_UpdateRepository_Call) Return(repository *v1alpha1.Repository, err error) *DB_UpdateRepository_Call
- func (_c *DB_UpdateRepository_Call) Run(run func(ctx context.Context, r *v1alpha1.Repository)) *DB_UpdateRepository_Call
- func (_c *DB_UpdateRepository_Call) RunAndReturn(...) *DB_UpdateRepository_Call
- type DB_UpdateWriteRepositoryCredentials_Call
- func (_c *DB_UpdateWriteRepositoryCredentials_Call) Return(repoCreds *v1alpha1.RepoCreds, err error) *DB_UpdateWriteRepositoryCredentials_Call
- func (_c *DB_UpdateWriteRepositoryCredentials_Call) Run(run func(ctx context.Context, r *v1alpha1.RepoCreds)) *DB_UpdateWriteRepositoryCredentials_Call
- func (_c *DB_UpdateWriteRepositoryCredentials_Call) RunAndReturn(...) *DB_UpdateWriteRepositoryCredentials_Call
- type DB_UpdateWriteRepository_Call
- func (_c *DB_UpdateWriteRepository_Call) Return(repository *v1alpha1.Repository, err error) *DB_UpdateWriteRepository_Call
- func (_c *DB_UpdateWriteRepository_Call) Run(run func(ctx context.Context, r *v1alpha1.Repository)) *DB_UpdateWriteRepository_Call
- func (_c *DB_UpdateWriteRepository_Call) RunAndReturn(...) *DB_UpdateWriteRepository_Call
- type DB_WatchClusters_Call
- type DB_WriteRepositoryExists_Call
- func (_c *DB_WriteRepositoryExists_Call) Return(b bool, err error) *DB_WriteRepositoryExists_Call
- func (_c *DB_WriteRepositoryExists_Call) Run(run func(ctx context.Context, repoURL string, project string)) *DB_WriteRepositoryExists_Call
- func (_c *DB_WriteRepositoryExists_Call) RunAndReturn(run func(ctx context.Context, repoURL string, project string) (bool, error)) *DB_WriteRepositoryExists_Call
- type RepoCredsDB
- type RepoCredsDB_Expecter
- type RepoCredsDB_GetRepoCredsBySecretName_Call
- func (_c *RepoCredsDB_GetRepoCredsBySecretName_Call) Return(repoCreds *v1alpha1.RepoCreds, err error) *RepoCredsDB_GetRepoCredsBySecretName_Call
- func (_c *RepoCredsDB_GetRepoCredsBySecretName_Call) Run(run func(context1 context.Context, secretName string)) *RepoCredsDB_GetRepoCredsBySecretName_Call
- func (_c *RepoCredsDB_GetRepoCredsBySecretName_Call) RunAndReturn(...) *RepoCredsDB_GetRepoCredsBySecretName_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶ added in v1.8.8
DB is an autogenerated mock type for the DB type
func NewDB ¶ added in v1.8.8
NewDB creates a new instance of DB. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DB) AddGPGPublicKey ¶ added in v1.8.8
func (_mock *DB) AddGPGPublicKey(ctx context.Context, keyData string) (map[string]*v1alpha1.GnuPGPublicKey, []string, error)
AddGPGPublicKey provides a mock function for the type DB
func (*DB) CreateCluster ¶ added in v1.8.8
CreateCluster provides a mock function for the type DB
func (*DB) CreateRepoCertificate ¶ added in v1.8.8
func (_mock *DB) CreateRepoCertificate(ctx context.Context, certificate *v1alpha1.RepositoryCertificateList, upsert bool) (*v1alpha1.RepositoryCertificateList, error)
CreateRepoCertificate provides a mock function for the type DB
func (*DB) CreateRepository ¶ added in v1.8.8
func (_mock *DB) CreateRepository(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)
CreateRepository provides a mock function for the type DB
func (*DB) CreateRepositoryCredentials ¶ added in v1.8.8
func (_mock *DB) CreateRepositoryCredentials(ctx context.Context, r *v1alpha1.RepoCreds) (*v1alpha1.RepoCreds, error)
CreateRepositoryCredentials provides a mock function for the type DB
func (*DB) CreateWriteRepository ¶ added in v1.8.8
func (_mock *DB) CreateWriteRepository(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)
CreateWriteRepository provides a mock function for the type DB
func (*DB) CreateWriteRepositoryCredentials ¶ added in v1.8.8
func (_mock *DB) CreateWriteRepositoryCredentials(ctx context.Context, r *v1alpha1.RepoCreds) (*v1alpha1.RepoCreds, error)
CreateWriteRepositoryCredentials provides a mock function for the type DB
func (*DB) DeleteCluster ¶ added in v1.8.8
DeleteCluster provides a mock function for the type DB
func (*DB) DeleteGPGPublicKey ¶ added in v1.8.8
DeleteGPGPublicKey provides a mock function for the type DB
func (*DB) DeleteRepository ¶ added in v1.8.8
DeleteRepository provides a mock function for the type DB
func (*DB) DeleteRepositoryCredentials ¶ added in v1.8.8
DeleteRepositoryCredentials provides a mock function for the type DB
func (*DB) DeleteWriteRepository ¶ added in v1.8.8
DeleteWriteRepository provides a mock function for the type DB
func (*DB) DeleteWriteRepositoryCredentials ¶ added in v1.8.8
DeleteWriteRepositoryCredentials provides a mock function for the type DB
func (*DB) EXPECT ¶ added in v1.8.8
func (_m *DB) EXPECT() *DB_Expecter
func (*DB) GetAllHelmRepositoryCredentials ¶ added in v1.8.8
func (_mock *DB) GetAllHelmRepositoryCredentials(ctx context.Context) ([]*v1alpha1.RepoCreds, error)
GetAllHelmRepositoryCredentials provides a mock function for the type DB
func (*DB) GetAllOCIRepositoryCredentials ¶ added in v1.8.8
GetAllOCIRepositoryCredentials provides a mock function for the type DB
func (*DB) GetApplicationControllerReplicas ¶ added in v1.8.8
GetApplicationControllerReplicas provides a mock function for the type DB
func (*DB) GetCluster ¶ added in v1.8.8
GetCluster provides a mock function for the type DB
func (*DB) GetClusterServersByName ¶ added in v1.8.8
GetClusterServersByName provides a mock function for the type DB
func (*DB) GetProjectClusters ¶ added in v1.8.8
func (_mock *DB) GetProjectClusters(ctx context.Context, project string) ([]*v1alpha1.Cluster, error)
GetProjectClusters provides a mock function for the type DB
func (*DB) GetProjectRepositories ¶ added in v1.8.8
func (_mock *DB) GetProjectRepositories(project string) ([]*v1alpha1.Repository, error)
GetProjectRepositories provides a mock function for the type DB
func (*DB) GetProjectWriteRepositories ¶ added in v1.8.8
func (_mock *DB) GetProjectWriteRepositories(project string) ([]*v1alpha1.Repository, error)
GetProjectWriteRepositories provides a mock function for the type DB
func (*DB) GetRepository ¶ added in v1.8.8
func (_mock *DB) GetRepository(ctx context.Context, url string, project string) (*v1alpha1.Repository, error)
GetRepository provides a mock function for the type DB
func (*DB) GetRepositoryCredentials ¶ added in v1.8.8
func (_mock *DB) GetRepositoryCredentials(ctx context.Context, name string) (*v1alpha1.RepoCreds, error)
GetRepositoryCredentials provides a mock function for the type DB
func (*DB) GetWriteRepository ¶ added in v1.8.8
func (_mock *DB) GetWriteRepository(ctx context.Context, url string, project string) (*v1alpha1.Repository, error)
GetWriteRepository provides a mock function for the type DB
func (*DB) GetWriteRepositoryCredentials ¶ added in v1.8.8
func (_mock *DB) GetWriteRepositoryCredentials(ctx context.Context, name string) (*v1alpha1.RepoCreds, error)
GetWriteRepositoryCredentials provides a mock function for the type DB
func (*DB) ListClusters ¶ added in v1.8.8
ListClusters provides a mock function for the type DB
func (*DB) ListConfiguredGPGPublicKeys ¶ added in v1.8.8
func (_mock *DB) ListConfiguredGPGPublicKeys(ctx context.Context) (map[string]*v1alpha1.GnuPGPublicKey, error)
ListConfiguredGPGPublicKeys provides a mock function for the type DB
func (*DB) ListHelmRepositories ¶ added in v1.8.8
ListHelmRepositories provides a mock function for the type DB
func (*DB) ListOCIRepositories ¶ added in v1.8.8
ListOCIRepositories provides a mock function for the type DB
func (*DB) ListRepoCertificates ¶ added in v1.8.8
func (_mock *DB) ListRepoCertificates(ctx context.Context, selector *db.CertificateListSelector) (*v1alpha1.RepositoryCertificateList, error)
ListRepoCertificates provides a mock function for the type DB
func (*DB) ListRepositories ¶ added in v1.8.8
ListRepositories provides a mock function for the type DB
func (*DB) ListRepositoryCredentials ¶ added in v1.8.8
ListRepositoryCredentials provides a mock function for the type DB
func (*DB) ListWriteRepositories ¶ added in v1.8.8
ListWriteRepositories provides a mock function for the type DB
func (*DB) ListWriteRepositoryCredentials ¶ added in v1.8.8
ListWriteRepositoryCredentials provides a mock function for the type DB
func (*DB) RemoveRepoCertificates ¶ added in v1.8.8
func (_mock *DB) RemoveRepoCertificates(ctx context.Context, selector *db.CertificateListSelector) (*v1alpha1.RepositoryCertificateList, error)
RemoveRepoCertificates provides a mock function for the type DB
func (*DB) RepositoryExists ¶ added in v1.8.8
func (_mock *DB) RepositoryExists(ctx context.Context, repoURL string, project string) (bool, error)
RepositoryExists provides a mock function for the type DB
func (*DB) UpdateCluster ¶ added in v1.8.8
UpdateCluster provides a mock function for the type DB
func (*DB) UpdateRepository ¶ added in v1.8.8
func (_mock *DB) UpdateRepository(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)
UpdateRepository provides a mock function for the type DB
func (*DB) UpdateRepositoryCredentials ¶ added in v1.8.8
func (_mock *DB) UpdateRepositoryCredentials(ctx context.Context, r *v1alpha1.RepoCreds) (*v1alpha1.RepoCreds, error)
UpdateRepositoryCredentials provides a mock function for the type DB
func (*DB) UpdateWriteRepository ¶ added in v1.8.8
func (_mock *DB) UpdateWriteRepository(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)
UpdateWriteRepository provides a mock function for the type DB
func (*DB) UpdateWriteRepositoryCredentials ¶ added in v1.8.8
func (_mock *DB) UpdateWriteRepositoryCredentials(ctx context.Context, r *v1alpha1.RepoCreds) (*v1alpha1.RepoCreds, error)
UpdateWriteRepositoryCredentials provides a mock function for the type DB
func (*DB) WatchClusters ¶ added in v1.8.8
func (_mock *DB) WatchClusters(ctx context.Context, handleAddEvent func(cluster *v1alpha1.Cluster), handleModEvent func(oldCluster *v1alpha1.Cluster, newCluster *v1alpha1.Cluster), handleDeleteEvent func(clusterServer string)) error
WatchClusters provides a mock function for the type DB
type DB_AddGPGPublicKey_Call ¶ added in v1.8.8
DB_AddGPGPublicKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddGPGPublicKey'
func (*DB_AddGPGPublicKey_Call) Return ¶ added in v1.8.8
func (_c *DB_AddGPGPublicKey_Call) Return(stringToGnuPGPublicKey map[string]*v1alpha1.GnuPGPublicKey, strings []string, err error) *DB_AddGPGPublicKey_Call
func (*DB_AddGPGPublicKey_Call) Run ¶ added in v1.8.8
func (_c *DB_AddGPGPublicKey_Call) Run(run func(ctx context.Context, keyData string)) *DB_AddGPGPublicKey_Call
func (*DB_AddGPGPublicKey_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_AddGPGPublicKey_Call) RunAndReturn(run func(ctx context.Context, keyData string) (map[string]*v1alpha1.GnuPGPublicKey, []string, error)) *DB_AddGPGPublicKey_Call
type DB_CreateCluster_Call ¶ added in v1.8.8
DB_CreateCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateCluster'
func (*DB_CreateCluster_Call) Return ¶ added in v1.8.8
func (_c *DB_CreateCluster_Call) Return(cluster *v1alpha1.Cluster, err error) *DB_CreateCluster_Call
func (*DB_CreateCluster_Call) Run ¶ added in v1.8.8
func (_c *DB_CreateCluster_Call) Run(run func(ctx context.Context, c *v1alpha1.Cluster)) *DB_CreateCluster_Call
func (*DB_CreateCluster_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_CreateCluster_Call) RunAndReturn(run func(ctx context.Context, c *v1alpha1.Cluster) (*v1alpha1.Cluster, error)) *DB_CreateCluster_Call
type DB_CreateRepoCertificate_Call ¶ added in v1.8.8
DB_CreateRepoCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateRepoCertificate'
func (*DB_CreateRepoCertificate_Call) Return ¶ added in v1.8.8
func (_c *DB_CreateRepoCertificate_Call) Return(repositoryCertificateList *v1alpha1.RepositoryCertificateList, err error) *DB_CreateRepoCertificate_Call
func (*DB_CreateRepoCertificate_Call) Run ¶ added in v1.8.8
func (_c *DB_CreateRepoCertificate_Call) Run(run func(ctx context.Context, certificate *v1alpha1.RepositoryCertificateList, upsert bool)) *DB_CreateRepoCertificate_Call
func (*DB_CreateRepoCertificate_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_CreateRepoCertificate_Call) RunAndReturn(run func(ctx context.Context, certificate *v1alpha1.RepositoryCertificateList, upsert bool) (*v1alpha1.RepositoryCertificateList, error)) *DB_CreateRepoCertificate_Call
type DB_CreateRepositoryCredentials_Call ¶ added in v1.8.8
DB_CreateRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateRepositoryCredentials'
func (*DB_CreateRepositoryCredentials_Call) Return ¶ added in v1.8.8
func (_c *DB_CreateRepositoryCredentials_Call) Return(repoCreds *v1alpha1.RepoCreds, err error) *DB_CreateRepositoryCredentials_Call
func (*DB_CreateRepositoryCredentials_Call) Run ¶ added in v1.8.8
func (_c *DB_CreateRepositoryCredentials_Call) Run(run func(ctx context.Context, r *v1alpha1.RepoCreds)) *DB_CreateRepositoryCredentials_Call
func (*DB_CreateRepositoryCredentials_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_CreateRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context, r *v1alpha1.RepoCreds) (*v1alpha1.RepoCreds, error)) *DB_CreateRepositoryCredentials_Call
type DB_CreateRepository_Call ¶ added in v1.8.8
DB_CreateRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateRepository'
func (*DB_CreateRepository_Call) Return ¶ added in v1.8.8
func (_c *DB_CreateRepository_Call) Return(repository *v1alpha1.Repository, err error) *DB_CreateRepository_Call
func (*DB_CreateRepository_Call) Run ¶ added in v1.8.8
func (_c *DB_CreateRepository_Call) Run(run func(ctx context.Context, r *v1alpha1.Repository)) *DB_CreateRepository_Call
func (*DB_CreateRepository_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_CreateRepository_Call) RunAndReturn(run func(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)) *DB_CreateRepository_Call
type DB_CreateWriteRepositoryCredentials_Call ¶ added in v1.8.8
DB_CreateWriteRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateWriteRepositoryCredentials'
func (*DB_CreateWriteRepositoryCredentials_Call) Return ¶ added in v1.8.8
func (_c *DB_CreateWriteRepositoryCredentials_Call) Return(repoCreds *v1alpha1.RepoCreds, err error) *DB_CreateWriteRepositoryCredentials_Call
func (*DB_CreateWriteRepositoryCredentials_Call) Run ¶ added in v1.8.8
func (_c *DB_CreateWriteRepositoryCredentials_Call) Run(run func(ctx context.Context, r *v1alpha1.RepoCreds)) *DB_CreateWriteRepositoryCredentials_Call
func (*DB_CreateWriteRepositoryCredentials_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_CreateWriteRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context, r *v1alpha1.RepoCreds) (*v1alpha1.RepoCreds, error)) *DB_CreateWriteRepositoryCredentials_Call
type DB_CreateWriteRepository_Call ¶ added in v1.8.8
DB_CreateWriteRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateWriteRepository'
func (*DB_CreateWriteRepository_Call) Return ¶ added in v1.8.8
func (_c *DB_CreateWriteRepository_Call) Return(repository *v1alpha1.Repository, err error) *DB_CreateWriteRepository_Call
func (*DB_CreateWriteRepository_Call) Run ¶ added in v1.8.8
func (_c *DB_CreateWriteRepository_Call) Run(run func(ctx context.Context, r *v1alpha1.Repository)) *DB_CreateWriteRepository_Call
func (*DB_CreateWriteRepository_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_CreateWriteRepository_Call) RunAndReturn(run func(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)) *DB_CreateWriteRepository_Call
type DB_DeleteCluster_Call ¶ added in v1.8.8
DB_DeleteCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCluster'
func (*DB_DeleteCluster_Call) Return ¶ added in v1.8.8
func (_c *DB_DeleteCluster_Call) Return(err error) *DB_DeleteCluster_Call
func (*DB_DeleteCluster_Call) Run ¶ added in v1.8.8
func (_c *DB_DeleteCluster_Call) Run(run func(ctx context.Context, server string)) *DB_DeleteCluster_Call
func (*DB_DeleteCluster_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_DeleteCluster_Call) RunAndReturn(run func(ctx context.Context, server string) error) *DB_DeleteCluster_Call
type DB_DeleteGPGPublicKey_Call ¶ added in v1.8.8
DB_DeleteGPGPublicKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteGPGPublicKey'
func (*DB_DeleteGPGPublicKey_Call) Return ¶ added in v1.8.8
func (_c *DB_DeleteGPGPublicKey_Call) Return(err error) *DB_DeleteGPGPublicKey_Call
func (*DB_DeleteGPGPublicKey_Call) Run ¶ added in v1.8.8
func (_c *DB_DeleteGPGPublicKey_Call) Run(run func(ctx context.Context, keyID string)) *DB_DeleteGPGPublicKey_Call
func (*DB_DeleteGPGPublicKey_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_DeleteGPGPublicKey_Call) RunAndReturn(run func(ctx context.Context, keyID string) error) *DB_DeleteGPGPublicKey_Call
type DB_DeleteRepositoryCredentials_Call ¶ added in v1.8.8
DB_DeleteRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteRepositoryCredentials'
func (*DB_DeleteRepositoryCredentials_Call) Return ¶ added in v1.8.8
func (_c *DB_DeleteRepositoryCredentials_Call) Return(err error) *DB_DeleteRepositoryCredentials_Call
func (*DB_DeleteRepositoryCredentials_Call) Run ¶ added in v1.8.8
func (_c *DB_DeleteRepositoryCredentials_Call) Run(run func(ctx context.Context, name string)) *DB_DeleteRepositoryCredentials_Call
func (*DB_DeleteRepositoryCredentials_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_DeleteRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context, name string) error) *DB_DeleteRepositoryCredentials_Call
type DB_DeleteRepository_Call ¶ added in v1.8.8
DB_DeleteRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteRepository'
func (*DB_DeleteRepository_Call) Return ¶ added in v1.8.8
func (_c *DB_DeleteRepository_Call) Return(err error) *DB_DeleteRepository_Call
func (*DB_DeleteRepository_Call) Run ¶ added in v1.8.8
func (_c *DB_DeleteRepository_Call) Run(run func(ctx context.Context, name string, project string)) *DB_DeleteRepository_Call
func (*DB_DeleteRepository_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_DeleteRepository_Call) RunAndReturn(run func(ctx context.Context, name string, project string) error) *DB_DeleteRepository_Call
type DB_DeleteWriteRepositoryCredentials_Call ¶ added in v1.8.8
DB_DeleteWriteRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteWriteRepositoryCredentials'
func (*DB_DeleteWriteRepositoryCredentials_Call) Return ¶ added in v1.8.8
func (_c *DB_DeleteWriteRepositoryCredentials_Call) Return(err error) *DB_DeleteWriteRepositoryCredentials_Call
func (*DB_DeleteWriteRepositoryCredentials_Call) Run ¶ added in v1.8.8
func (_c *DB_DeleteWriteRepositoryCredentials_Call) Run(run func(ctx context.Context, name string)) *DB_DeleteWriteRepositoryCredentials_Call
func (*DB_DeleteWriteRepositoryCredentials_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_DeleteWriteRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context, name string) error) *DB_DeleteWriteRepositoryCredentials_Call
type DB_DeleteWriteRepository_Call ¶ added in v1.8.8
DB_DeleteWriteRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteWriteRepository'
func (*DB_DeleteWriteRepository_Call) Return ¶ added in v1.8.8
func (_c *DB_DeleteWriteRepository_Call) Return(err error) *DB_DeleteWriteRepository_Call
func (*DB_DeleteWriteRepository_Call) Run ¶ added in v1.8.8
func (_c *DB_DeleteWriteRepository_Call) Run(run func(ctx context.Context, name string, project string)) *DB_DeleteWriteRepository_Call
func (*DB_DeleteWriteRepository_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_DeleteWriteRepository_Call) RunAndReturn(run func(ctx context.Context, name string, project string) error) *DB_DeleteWriteRepository_Call
type DB_Expecter ¶ added in v1.8.8
type DB_Expecter struct {
// contains filtered or unexported fields
}
func (*DB_Expecter) AddGPGPublicKey ¶ added in v1.8.8
func (_e *DB_Expecter) AddGPGPublicKey(ctx any, keyData any) *DB_AddGPGPublicKey_Call
AddGPGPublicKey is a helper method to define mock.On call
- ctx context.Context
- keyData string
func (*DB_Expecter) CreateCluster ¶ added in v1.8.8
func (_e *DB_Expecter) CreateCluster(ctx any, c any) *DB_CreateCluster_Call
CreateCluster is a helper method to define mock.On call
- ctx context.Context
- c *v1alpha1.Cluster
func (*DB_Expecter) CreateRepoCertificate ¶ added in v1.8.8
func (_e *DB_Expecter) CreateRepoCertificate(ctx any, certificate any, upsert any) *DB_CreateRepoCertificate_Call
CreateRepoCertificate is a helper method to define mock.On call
- ctx context.Context
- certificate *v1alpha1.RepositoryCertificateList
- upsert bool
func (*DB_Expecter) CreateRepository ¶ added in v1.8.8
func (_e *DB_Expecter) CreateRepository(ctx any, r any) *DB_CreateRepository_Call
CreateRepository is a helper method to define mock.On call
- ctx context.Context
- r *v1alpha1.Repository
func (*DB_Expecter) CreateRepositoryCredentials ¶ added in v1.8.8
func (_e *DB_Expecter) CreateRepositoryCredentials(ctx any, r any) *DB_CreateRepositoryCredentials_Call
CreateRepositoryCredentials is a helper method to define mock.On call
- ctx context.Context
- r *v1alpha1.RepoCreds
func (*DB_Expecter) CreateWriteRepository ¶ added in v1.8.8
func (_e *DB_Expecter) CreateWriteRepository(ctx any, r any) *DB_CreateWriteRepository_Call
CreateWriteRepository is a helper method to define mock.On call
- ctx context.Context
- r *v1alpha1.Repository
func (*DB_Expecter) CreateWriteRepositoryCredentials ¶ added in v1.8.8
func (_e *DB_Expecter) CreateWriteRepositoryCredentials(ctx any, r any) *DB_CreateWriteRepositoryCredentials_Call
CreateWriteRepositoryCredentials is a helper method to define mock.On call
- ctx context.Context
- r *v1alpha1.RepoCreds
func (*DB_Expecter) DeleteCluster ¶ added in v1.8.8
func (_e *DB_Expecter) DeleteCluster(ctx any, server any) *DB_DeleteCluster_Call
DeleteCluster is a helper method to define mock.On call
- ctx context.Context
- server string
func (*DB_Expecter) DeleteGPGPublicKey ¶ added in v1.8.8
func (_e *DB_Expecter) DeleteGPGPublicKey(ctx any, keyID any) *DB_DeleteGPGPublicKey_Call
DeleteGPGPublicKey is a helper method to define mock.On call
- ctx context.Context
- keyID string
func (*DB_Expecter) DeleteRepository ¶ added in v1.8.8
func (_e *DB_Expecter) DeleteRepository(ctx any, name any, project any) *DB_DeleteRepository_Call
DeleteRepository is a helper method to define mock.On call
- ctx context.Context
- name string
- project string
func (*DB_Expecter) DeleteRepositoryCredentials ¶ added in v1.8.8
func (_e *DB_Expecter) DeleteRepositoryCredentials(ctx any, name any) *DB_DeleteRepositoryCredentials_Call
DeleteRepositoryCredentials is a helper method to define mock.On call
- ctx context.Context
- name string
func (*DB_Expecter) DeleteWriteRepository ¶ added in v1.8.8
func (_e *DB_Expecter) DeleteWriteRepository(ctx any, name any, project any) *DB_DeleteWriteRepository_Call
DeleteWriteRepository is a helper method to define mock.On call
- ctx context.Context
- name string
- project string
func (*DB_Expecter) DeleteWriteRepositoryCredentials ¶ added in v1.8.8
func (_e *DB_Expecter) DeleteWriteRepositoryCredentials(ctx any, name any) *DB_DeleteWriteRepositoryCredentials_Call
DeleteWriteRepositoryCredentials is a helper method to define mock.On call
- ctx context.Context
- name string
func (*DB_Expecter) GetAllHelmRepositoryCredentials ¶ added in v1.8.8
func (_e *DB_Expecter) GetAllHelmRepositoryCredentials(ctx any) *DB_GetAllHelmRepositoryCredentials_Call
GetAllHelmRepositoryCredentials is a helper method to define mock.On call
- ctx context.Context
func (*DB_Expecter) GetAllOCIRepositoryCredentials ¶ added in v1.8.8
func (_e *DB_Expecter) GetAllOCIRepositoryCredentials(ctx any) *DB_GetAllOCIRepositoryCredentials_Call
GetAllOCIRepositoryCredentials is a helper method to define mock.On call
- ctx context.Context
func (*DB_Expecter) GetApplicationControllerReplicas ¶ added in v1.8.8
func (_e *DB_Expecter) GetApplicationControllerReplicas() *DB_GetApplicationControllerReplicas_Call
GetApplicationControllerReplicas is a helper method to define mock.On call
func (*DB_Expecter) GetCluster ¶ added in v1.8.8
func (_e *DB_Expecter) GetCluster(ctx any, server any) *DB_GetCluster_Call
GetCluster is a helper method to define mock.On call
- ctx context.Context
- server string
func (*DB_Expecter) GetClusterServersByName ¶ added in v1.8.8
func (_e *DB_Expecter) GetClusterServersByName(ctx any, name any) *DB_GetClusterServersByName_Call
GetClusterServersByName is a helper method to define mock.On call
- ctx context.Context
- name string
func (*DB_Expecter) GetProjectClusters ¶ added in v1.8.8
func (_e *DB_Expecter) GetProjectClusters(ctx any, project any) *DB_GetProjectClusters_Call
GetProjectClusters is a helper method to define mock.On call
- ctx context.Context
- project string
func (*DB_Expecter) GetProjectRepositories ¶ added in v1.8.8
func (_e *DB_Expecter) GetProjectRepositories(project any) *DB_GetProjectRepositories_Call
GetProjectRepositories is a helper method to define mock.On call
- project string
func (*DB_Expecter) GetProjectWriteRepositories ¶ added in v1.8.8
func (_e *DB_Expecter) GetProjectWriteRepositories(project any) *DB_GetProjectWriteRepositories_Call
GetProjectWriteRepositories is a helper method to define mock.On call
- project string
func (*DB_Expecter) GetRepository ¶ added in v1.8.8
func (_e *DB_Expecter) GetRepository(ctx any, url any, project any) *DB_GetRepository_Call
GetRepository is a helper method to define mock.On call
- ctx context.Context
- url string
- project string
func (*DB_Expecter) GetRepositoryCredentials ¶ added in v1.8.8
func (_e *DB_Expecter) GetRepositoryCredentials(ctx any, name any) *DB_GetRepositoryCredentials_Call
GetRepositoryCredentials is a helper method to define mock.On call
- ctx context.Context
- name string
func (*DB_Expecter) GetWriteRepository ¶ added in v1.8.8
func (_e *DB_Expecter) GetWriteRepository(ctx any, url any, project any) *DB_GetWriteRepository_Call
GetWriteRepository is a helper method to define mock.On call
- ctx context.Context
- url string
- project string
func (*DB_Expecter) GetWriteRepositoryCredentials ¶ added in v1.8.8
func (_e *DB_Expecter) GetWriteRepositoryCredentials(ctx any, name any) *DB_GetWriteRepositoryCredentials_Call
GetWriteRepositoryCredentials is a helper method to define mock.On call
- ctx context.Context
- name string
func (*DB_Expecter) ListClusters ¶ added in v1.8.8
func (_e *DB_Expecter) ListClusters(ctx any) *DB_ListClusters_Call
ListClusters is a helper method to define mock.On call
- ctx context.Context
func (*DB_Expecter) ListConfiguredGPGPublicKeys ¶ added in v1.8.8
func (_e *DB_Expecter) ListConfiguredGPGPublicKeys(ctx any) *DB_ListConfiguredGPGPublicKeys_Call
ListConfiguredGPGPublicKeys is a helper method to define mock.On call
- ctx context.Context
func (*DB_Expecter) ListHelmRepositories ¶ added in v1.8.8
func (_e *DB_Expecter) ListHelmRepositories(ctx any) *DB_ListHelmRepositories_Call
ListHelmRepositories is a helper method to define mock.On call
- ctx context.Context
func (*DB_Expecter) ListOCIRepositories ¶ added in v1.8.8
func (_e *DB_Expecter) ListOCIRepositories(ctx any) *DB_ListOCIRepositories_Call
ListOCIRepositories is a helper method to define mock.On call
- ctx context.Context
func (*DB_Expecter) ListRepoCertificates ¶ added in v1.8.8
func (_e *DB_Expecter) ListRepoCertificates(ctx any, selector any) *DB_ListRepoCertificates_Call
ListRepoCertificates is a helper method to define mock.On call
- ctx context.Context
- selector *db.CertificateListSelector
func (*DB_Expecter) ListRepositories ¶ added in v1.8.8
func (_e *DB_Expecter) ListRepositories(ctx any) *DB_ListRepositories_Call
ListRepositories is a helper method to define mock.On call
- ctx context.Context
func (*DB_Expecter) ListRepositoryCredentials ¶ added in v1.8.8
func (_e *DB_Expecter) ListRepositoryCredentials(ctx any) *DB_ListRepositoryCredentials_Call
ListRepositoryCredentials is a helper method to define mock.On call
- ctx context.Context
func (*DB_Expecter) ListWriteRepositories ¶ added in v1.8.8
func (_e *DB_Expecter) ListWriteRepositories(ctx any) *DB_ListWriteRepositories_Call
ListWriteRepositories is a helper method to define mock.On call
- ctx context.Context
func (*DB_Expecter) ListWriteRepositoryCredentials ¶ added in v1.8.8
func (_e *DB_Expecter) ListWriteRepositoryCredentials(ctx any) *DB_ListWriteRepositoryCredentials_Call
ListWriteRepositoryCredentials is a helper method to define mock.On call
- ctx context.Context
func (*DB_Expecter) RemoveRepoCertificates ¶ added in v1.8.8
func (_e *DB_Expecter) RemoveRepoCertificates(ctx any, selector any) *DB_RemoveRepoCertificates_Call
RemoveRepoCertificates is a helper method to define mock.On call
- ctx context.Context
- selector *db.CertificateListSelector
func (*DB_Expecter) RepositoryExists ¶ added in v1.8.8
func (_e *DB_Expecter) RepositoryExists(ctx any, repoURL any, project any) *DB_RepositoryExists_Call
RepositoryExists is a helper method to define mock.On call
- ctx context.Context
- repoURL string
- project string
func (*DB_Expecter) UpdateCluster ¶ added in v1.8.8
func (_e *DB_Expecter) UpdateCluster(ctx any, c any) *DB_UpdateCluster_Call
UpdateCluster is a helper method to define mock.On call
- ctx context.Context
- c *v1alpha1.Cluster
func (*DB_Expecter) UpdateRepository ¶ added in v1.8.8
func (_e *DB_Expecter) UpdateRepository(ctx any, r any) *DB_UpdateRepository_Call
UpdateRepository is a helper method to define mock.On call
- ctx context.Context
- r *v1alpha1.Repository
func (*DB_Expecter) UpdateRepositoryCredentials ¶ added in v1.8.8
func (_e *DB_Expecter) UpdateRepositoryCredentials(ctx any, r any) *DB_UpdateRepositoryCredentials_Call
UpdateRepositoryCredentials is a helper method to define mock.On call
- ctx context.Context
- r *v1alpha1.RepoCreds
func (*DB_Expecter) UpdateWriteRepository ¶ added in v1.8.8
func (_e *DB_Expecter) UpdateWriteRepository(ctx any, r any) *DB_UpdateWriteRepository_Call
UpdateWriteRepository is a helper method to define mock.On call
- ctx context.Context
- r *v1alpha1.Repository
func (*DB_Expecter) UpdateWriteRepositoryCredentials ¶ added in v1.8.8
func (_e *DB_Expecter) UpdateWriteRepositoryCredentials(ctx any, r any) *DB_UpdateWriteRepositoryCredentials_Call
UpdateWriteRepositoryCredentials is a helper method to define mock.On call
- ctx context.Context
- r *v1alpha1.RepoCreds
func (*DB_Expecter) WatchClusters ¶ added in v1.8.8
func (_e *DB_Expecter) WatchClusters(ctx any, handleAddEvent any, handleModEvent any, handleDeleteEvent any) *DB_WatchClusters_Call
WatchClusters is a helper method to define mock.On call
- ctx context.Context
- handleAddEvent func(cluster *v1alpha1.Cluster)
- handleModEvent func(oldCluster *v1alpha1.Cluster, newCluster *v1alpha1.Cluster)
- handleDeleteEvent func(clusterServer string)
func (*DB_Expecter) WriteRepositoryExists ¶ added in v1.8.8
func (_e *DB_Expecter) WriteRepositoryExists(ctx any, repoURL any, project any) *DB_WriteRepositoryExists_Call
WriteRepositoryExists is a helper method to define mock.On call
- ctx context.Context
- repoURL string
- project string
type DB_GetAllHelmRepositoryCredentials_Call ¶ added in v1.8.8
DB_GetAllHelmRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllHelmRepositoryCredentials'
func (*DB_GetAllHelmRepositoryCredentials_Call) Return ¶ added in v1.8.8
func (_c *DB_GetAllHelmRepositoryCredentials_Call) Return(repoCredss []*v1alpha1.RepoCreds, err error) *DB_GetAllHelmRepositoryCredentials_Call
func (*DB_GetAllHelmRepositoryCredentials_Call) Run ¶ added in v1.8.8
func (_c *DB_GetAllHelmRepositoryCredentials_Call) Run(run func(ctx context.Context)) *DB_GetAllHelmRepositoryCredentials_Call
func (*DB_GetAllHelmRepositoryCredentials_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_GetAllHelmRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context) ([]*v1alpha1.RepoCreds, error)) *DB_GetAllHelmRepositoryCredentials_Call
type DB_GetAllOCIRepositoryCredentials_Call ¶ added in v1.8.8
DB_GetAllOCIRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllOCIRepositoryCredentials'
func (*DB_GetAllOCIRepositoryCredentials_Call) Return ¶ added in v1.8.8
func (_c *DB_GetAllOCIRepositoryCredentials_Call) Return(repoCredss []*v1alpha1.RepoCreds, err error) *DB_GetAllOCIRepositoryCredentials_Call
func (*DB_GetAllOCIRepositoryCredentials_Call) Run ¶ added in v1.8.8
func (_c *DB_GetAllOCIRepositoryCredentials_Call) Run(run func(ctx context.Context)) *DB_GetAllOCIRepositoryCredentials_Call
func (*DB_GetAllOCIRepositoryCredentials_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_GetAllOCIRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context) ([]*v1alpha1.RepoCreds, error)) *DB_GetAllOCIRepositoryCredentials_Call
type DB_GetApplicationControllerReplicas_Call ¶ added in v1.8.8
DB_GetApplicationControllerReplicas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetApplicationControllerReplicas'
func (*DB_GetApplicationControllerReplicas_Call) Return ¶ added in v1.8.8
func (_c *DB_GetApplicationControllerReplicas_Call) Return(n int) *DB_GetApplicationControllerReplicas_Call
func (*DB_GetApplicationControllerReplicas_Call) Run ¶ added in v1.8.8
func (_c *DB_GetApplicationControllerReplicas_Call) Run(run func()) *DB_GetApplicationControllerReplicas_Call
func (*DB_GetApplicationControllerReplicas_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_GetApplicationControllerReplicas_Call) RunAndReturn(run func() int) *DB_GetApplicationControllerReplicas_Call
type DB_GetClusterServersByName_Call ¶ added in v1.8.8
DB_GetClusterServersByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetClusterServersByName'
func (*DB_GetClusterServersByName_Call) Return ¶ added in v1.8.8
func (_c *DB_GetClusterServersByName_Call) Return(strings []string, err error) *DB_GetClusterServersByName_Call
func (*DB_GetClusterServersByName_Call) Run ¶ added in v1.8.8
func (_c *DB_GetClusterServersByName_Call) Run(run func(ctx context.Context, name string)) *DB_GetClusterServersByName_Call
func (*DB_GetClusterServersByName_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_GetClusterServersByName_Call) RunAndReturn(run func(ctx context.Context, name string) ([]string, error)) *DB_GetClusterServersByName_Call
type DB_GetCluster_Call ¶ added in v1.8.8
DB_GetCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCluster'
func (*DB_GetCluster_Call) Return ¶ added in v1.8.8
func (_c *DB_GetCluster_Call) Return(cluster *v1alpha1.Cluster, err error) *DB_GetCluster_Call
func (*DB_GetCluster_Call) Run ¶ added in v1.8.8
func (_c *DB_GetCluster_Call) Run(run func(ctx context.Context, server string)) *DB_GetCluster_Call
func (*DB_GetCluster_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_GetCluster_Call) RunAndReturn(run func(ctx context.Context, server string) (*v1alpha1.Cluster, error)) *DB_GetCluster_Call
type DB_GetProjectClusters_Call ¶ added in v1.8.8
DB_GetProjectClusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProjectClusters'
func (*DB_GetProjectClusters_Call) Return ¶ added in v1.8.8
func (_c *DB_GetProjectClusters_Call) Return(clusters []*v1alpha1.Cluster, err error) *DB_GetProjectClusters_Call
func (*DB_GetProjectClusters_Call) Run ¶ added in v1.8.8
func (_c *DB_GetProjectClusters_Call) Run(run func(ctx context.Context, project string)) *DB_GetProjectClusters_Call
func (*DB_GetProjectClusters_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_GetProjectClusters_Call) RunAndReturn(run func(ctx context.Context, project string) ([]*v1alpha1.Cluster, error)) *DB_GetProjectClusters_Call
type DB_GetProjectRepositories_Call ¶ added in v1.8.8
DB_GetProjectRepositories_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProjectRepositories'
func (*DB_GetProjectRepositories_Call) Return ¶ added in v1.8.8
func (_c *DB_GetProjectRepositories_Call) Return(repositorys []*v1alpha1.Repository, err error) *DB_GetProjectRepositories_Call
func (*DB_GetProjectRepositories_Call) Run ¶ added in v1.8.8
func (_c *DB_GetProjectRepositories_Call) Run(run func(project string)) *DB_GetProjectRepositories_Call
func (*DB_GetProjectRepositories_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_GetProjectRepositories_Call) RunAndReturn(run func(project string) ([]*v1alpha1.Repository, error)) *DB_GetProjectRepositories_Call
type DB_GetProjectWriteRepositories_Call ¶ added in v1.8.8
DB_GetProjectWriteRepositories_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProjectWriteRepositories'
func (*DB_GetProjectWriteRepositories_Call) Return ¶ added in v1.8.8
func (_c *DB_GetProjectWriteRepositories_Call) Return(repositorys []*v1alpha1.Repository, err error) *DB_GetProjectWriteRepositories_Call
func (*DB_GetProjectWriteRepositories_Call) Run ¶ added in v1.8.8
func (_c *DB_GetProjectWriteRepositories_Call) Run(run func(project string)) *DB_GetProjectWriteRepositories_Call
func (*DB_GetProjectWriteRepositories_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_GetProjectWriteRepositories_Call) RunAndReturn(run func(project string) ([]*v1alpha1.Repository, error)) *DB_GetProjectWriteRepositories_Call
type DB_GetRepositoryCredentials_Call ¶ added in v1.8.8
DB_GetRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRepositoryCredentials'
func (*DB_GetRepositoryCredentials_Call) Return ¶ added in v1.8.8
func (_c *DB_GetRepositoryCredentials_Call) Return(repoCreds *v1alpha1.RepoCreds, err error) *DB_GetRepositoryCredentials_Call
func (*DB_GetRepositoryCredentials_Call) Run ¶ added in v1.8.8
func (_c *DB_GetRepositoryCredentials_Call) Run(run func(ctx context.Context, name string)) *DB_GetRepositoryCredentials_Call
func (*DB_GetRepositoryCredentials_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_GetRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context, name string) (*v1alpha1.RepoCreds, error)) *DB_GetRepositoryCredentials_Call
type DB_GetRepository_Call ¶ added in v1.8.8
DB_GetRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRepository'
func (*DB_GetRepository_Call) Return ¶ added in v1.8.8
func (_c *DB_GetRepository_Call) Return(repository *v1alpha1.Repository, err error) *DB_GetRepository_Call
func (*DB_GetRepository_Call) Run ¶ added in v1.8.8
func (_c *DB_GetRepository_Call) Run(run func(ctx context.Context, url string, project string)) *DB_GetRepository_Call
func (*DB_GetRepository_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_GetRepository_Call) RunAndReturn(run func(ctx context.Context, url string, project string) (*v1alpha1.Repository, error)) *DB_GetRepository_Call
type DB_GetWriteRepositoryCredentials_Call ¶ added in v1.8.8
DB_GetWriteRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWriteRepositoryCredentials'
func (*DB_GetWriteRepositoryCredentials_Call) Return ¶ added in v1.8.8
func (_c *DB_GetWriteRepositoryCredentials_Call) Return(repoCreds *v1alpha1.RepoCreds, err error) *DB_GetWriteRepositoryCredentials_Call
func (*DB_GetWriteRepositoryCredentials_Call) Run ¶ added in v1.8.8
func (_c *DB_GetWriteRepositoryCredentials_Call) Run(run func(ctx context.Context, name string)) *DB_GetWriteRepositoryCredentials_Call
func (*DB_GetWriteRepositoryCredentials_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_GetWriteRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context, name string) (*v1alpha1.RepoCreds, error)) *DB_GetWriteRepositoryCredentials_Call
type DB_GetWriteRepository_Call ¶ added in v1.8.8
DB_GetWriteRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWriteRepository'
func (*DB_GetWriteRepository_Call) Return ¶ added in v1.8.8
func (_c *DB_GetWriteRepository_Call) Return(repository *v1alpha1.Repository, err error) *DB_GetWriteRepository_Call
func (*DB_GetWriteRepository_Call) Run ¶ added in v1.8.8
func (_c *DB_GetWriteRepository_Call) Run(run func(ctx context.Context, url string, project string)) *DB_GetWriteRepository_Call
func (*DB_GetWriteRepository_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_GetWriteRepository_Call) RunAndReturn(run func(ctx context.Context, url string, project string) (*v1alpha1.Repository, error)) *DB_GetWriteRepository_Call
type DB_ListClusters_Call ¶ added in v1.8.8
DB_ListClusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListClusters'
func (*DB_ListClusters_Call) Return ¶ added in v1.8.8
func (_c *DB_ListClusters_Call) Return(clusterList *v1alpha1.ClusterList, err error) *DB_ListClusters_Call
func (*DB_ListClusters_Call) Run ¶ added in v1.8.8
func (_c *DB_ListClusters_Call) Run(run func(ctx context.Context)) *DB_ListClusters_Call
func (*DB_ListClusters_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_ListClusters_Call) RunAndReturn(run func(ctx context.Context) (*v1alpha1.ClusterList, error)) *DB_ListClusters_Call
type DB_ListConfiguredGPGPublicKeys_Call ¶ added in v1.8.8
DB_ListConfiguredGPGPublicKeys_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListConfiguredGPGPublicKeys'
func (*DB_ListConfiguredGPGPublicKeys_Call) Return ¶ added in v1.8.8
func (_c *DB_ListConfiguredGPGPublicKeys_Call) Return(stringToGnuPGPublicKey map[string]*v1alpha1.GnuPGPublicKey, err error) *DB_ListConfiguredGPGPublicKeys_Call
func (*DB_ListConfiguredGPGPublicKeys_Call) Run ¶ added in v1.8.8
func (_c *DB_ListConfiguredGPGPublicKeys_Call) Run(run func(ctx context.Context)) *DB_ListConfiguredGPGPublicKeys_Call
func (*DB_ListConfiguredGPGPublicKeys_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_ListConfiguredGPGPublicKeys_Call) RunAndReturn(run func(ctx context.Context) (map[string]*v1alpha1.GnuPGPublicKey, error)) *DB_ListConfiguredGPGPublicKeys_Call
type DB_ListHelmRepositories_Call ¶ added in v1.8.8
DB_ListHelmRepositories_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListHelmRepositories'
func (*DB_ListHelmRepositories_Call) Return ¶ added in v1.8.8
func (_c *DB_ListHelmRepositories_Call) Return(repositorys []*v1alpha1.Repository, err error) *DB_ListHelmRepositories_Call
func (*DB_ListHelmRepositories_Call) Run ¶ added in v1.8.8
func (_c *DB_ListHelmRepositories_Call) Run(run func(ctx context.Context)) *DB_ListHelmRepositories_Call
func (*DB_ListHelmRepositories_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_ListHelmRepositories_Call) RunAndReturn(run func(ctx context.Context) ([]*v1alpha1.Repository, error)) *DB_ListHelmRepositories_Call
type DB_ListOCIRepositories_Call ¶ added in v1.8.8
DB_ListOCIRepositories_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListOCIRepositories'
func (*DB_ListOCIRepositories_Call) Return ¶ added in v1.8.8
func (_c *DB_ListOCIRepositories_Call) Return(repositorys []*v1alpha1.Repository, err error) *DB_ListOCIRepositories_Call
func (*DB_ListOCIRepositories_Call) Run ¶ added in v1.8.8
func (_c *DB_ListOCIRepositories_Call) Run(run func(ctx context.Context)) *DB_ListOCIRepositories_Call
func (*DB_ListOCIRepositories_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_ListOCIRepositories_Call) RunAndReturn(run func(ctx context.Context) ([]*v1alpha1.Repository, error)) *DB_ListOCIRepositories_Call
type DB_ListRepoCertificates_Call ¶ added in v1.8.8
DB_ListRepoCertificates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListRepoCertificates'
func (*DB_ListRepoCertificates_Call) Return ¶ added in v1.8.8
func (_c *DB_ListRepoCertificates_Call) Return(repositoryCertificateList *v1alpha1.RepositoryCertificateList, err error) *DB_ListRepoCertificates_Call
func (*DB_ListRepoCertificates_Call) Run ¶ added in v1.8.8
func (_c *DB_ListRepoCertificates_Call) Run(run func(ctx context.Context, selector *db.CertificateListSelector)) *DB_ListRepoCertificates_Call
func (*DB_ListRepoCertificates_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_ListRepoCertificates_Call) RunAndReturn(run func(ctx context.Context, selector *db.CertificateListSelector) (*v1alpha1.RepositoryCertificateList, error)) *DB_ListRepoCertificates_Call
type DB_ListRepositories_Call ¶ added in v1.8.8
DB_ListRepositories_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListRepositories'
func (*DB_ListRepositories_Call) Return ¶ added in v1.8.8
func (_c *DB_ListRepositories_Call) Return(repositorys []*v1alpha1.Repository, err error) *DB_ListRepositories_Call
func (*DB_ListRepositories_Call) Run ¶ added in v1.8.8
func (_c *DB_ListRepositories_Call) Run(run func(ctx context.Context)) *DB_ListRepositories_Call
func (*DB_ListRepositories_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_ListRepositories_Call) RunAndReturn(run func(ctx context.Context) ([]*v1alpha1.Repository, error)) *DB_ListRepositories_Call
type DB_ListRepositoryCredentials_Call ¶ added in v1.8.8
DB_ListRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListRepositoryCredentials'
func (*DB_ListRepositoryCredentials_Call) Return ¶ added in v1.8.8
func (_c *DB_ListRepositoryCredentials_Call) Return(strings []string, err error) *DB_ListRepositoryCredentials_Call
func (*DB_ListRepositoryCredentials_Call) Run ¶ added in v1.8.8
func (_c *DB_ListRepositoryCredentials_Call) Run(run func(ctx context.Context)) *DB_ListRepositoryCredentials_Call
func (*DB_ListRepositoryCredentials_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_ListRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context) ([]string, error)) *DB_ListRepositoryCredentials_Call
type DB_ListWriteRepositories_Call ¶ added in v1.8.8
DB_ListWriteRepositories_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListWriteRepositories'
func (*DB_ListWriteRepositories_Call) Return ¶ added in v1.8.8
func (_c *DB_ListWriteRepositories_Call) Return(repositorys []*v1alpha1.Repository, err error) *DB_ListWriteRepositories_Call
func (*DB_ListWriteRepositories_Call) Run ¶ added in v1.8.8
func (_c *DB_ListWriteRepositories_Call) Run(run func(ctx context.Context)) *DB_ListWriteRepositories_Call
func (*DB_ListWriteRepositories_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_ListWriteRepositories_Call) RunAndReturn(run func(ctx context.Context) ([]*v1alpha1.Repository, error)) *DB_ListWriteRepositories_Call
type DB_ListWriteRepositoryCredentials_Call ¶ added in v1.8.8
DB_ListWriteRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListWriteRepositoryCredentials'
func (*DB_ListWriteRepositoryCredentials_Call) Return ¶ added in v1.8.8
func (_c *DB_ListWriteRepositoryCredentials_Call) Return(strings []string, err error) *DB_ListWriteRepositoryCredentials_Call
func (*DB_ListWriteRepositoryCredentials_Call) Run ¶ added in v1.8.8
func (_c *DB_ListWriteRepositoryCredentials_Call) Run(run func(ctx context.Context)) *DB_ListWriteRepositoryCredentials_Call
func (*DB_ListWriteRepositoryCredentials_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_ListWriteRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context) ([]string, error)) *DB_ListWriteRepositoryCredentials_Call
type DB_RemoveRepoCertificates_Call ¶ added in v1.8.8
DB_RemoveRepoCertificates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveRepoCertificates'
func (*DB_RemoveRepoCertificates_Call) Return ¶ added in v1.8.8
func (_c *DB_RemoveRepoCertificates_Call) Return(repositoryCertificateList *v1alpha1.RepositoryCertificateList, err error) *DB_RemoveRepoCertificates_Call
func (*DB_RemoveRepoCertificates_Call) Run ¶ added in v1.8.8
func (_c *DB_RemoveRepoCertificates_Call) Run(run func(ctx context.Context, selector *db.CertificateListSelector)) *DB_RemoveRepoCertificates_Call
func (*DB_RemoveRepoCertificates_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_RemoveRepoCertificates_Call) RunAndReturn(run func(ctx context.Context, selector *db.CertificateListSelector) (*v1alpha1.RepositoryCertificateList, error)) *DB_RemoveRepoCertificates_Call
type DB_RepositoryExists_Call ¶ added in v1.8.8
DB_RepositoryExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RepositoryExists'
func (*DB_RepositoryExists_Call) Return ¶ added in v1.8.8
func (_c *DB_RepositoryExists_Call) Return(b bool, err error) *DB_RepositoryExists_Call
func (*DB_RepositoryExists_Call) Run ¶ added in v1.8.8
func (_c *DB_RepositoryExists_Call) Run(run func(ctx context.Context, repoURL string, project string)) *DB_RepositoryExists_Call
func (*DB_RepositoryExists_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_RepositoryExists_Call) RunAndReturn(run func(ctx context.Context, repoURL string, project string) (bool, error)) *DB_RepositoryExists_Call
type DB_UpdateCluster_Call ¶ added in v1.8.8
DB_UpdateCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateCluster'
func (*DB_UpdateCluster_Call) Return ¶ added in v1.8.8
func (_c *DB_UpdateCluster_Call) Return(cluster *v1alpha1.Cluster, err error) *DB_UpdateCluster_Call
func (*DB_UpdateCluster_Call) Run ¶ added in v1.8.8
func (_c *DB_UpdateCluster_Call) Run(run func(ctx context.Context, c *v1alpha1.Cluster)) *DB_UpdateCluster_Call
func (*DB_UpdateCluster_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_UpdateCluster_Call) RunAndReturn(run func(ctx context.Context, c *v1alpha1.Cluster) (*v1alpha1.Cluster, error)) *DB_UpdateCluster_Call
type DB_UpdateRepositoryCredentials_Call ¶ added in v1.8.8
DB_UpdateRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateRepositoryCredentials'
func (*DB_UpdateRepositoryCredentials_Call) Return ¶ added in v1.8.8
func (_c *DB_UpdateRepositoryCredentials_Call) Return(repoCreds *v1alpha1.RepoCreds, err error) *DB_UpdateRepositoryCredentials_Call
func (*DB_UpdateRepositoryCredentials_Call) Run ¶ added in v1.8.8
func (_c *DB_UpdateRepositoryCredentials_Call) Run(run func(ctx context.Context, r *v1alpha1.RepoCreds)) *DB_UpdateRepositoryCredentials_Call
func (*DB_UpdateRepositoryCredentials_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_UpdateRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context, r *v1alpha1.RepoCreds) (*v1alpha1.RepoCreds, error)) *DB_UpdateRepositoryCredentials_Call
type DB_UpdateRepository_Call ¶ added in v1.8.8
DB_UpdateRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateRepository'
func (*DB_UpdateRepository_Call) Return ¶ added in v1.8.8
func (_c *DB_UpdateRepository_Call) Return(repository *v1alpha1.Repository, err error) *DB_UpdateRepository_Call
func (*DB_UpdateRepository_Call) Run ¶ added in v1.8.8
func (_c *DB_UpdateRepository_Call) Run(run func(ctx context.Context, r *v1alpha1.Repository)) *DB_UpdateRepository_Call
func (*DB_UpdateRepository_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_UpdateRepository_Call) RunAndReturn(run func(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)) *DB_UpdateRepository_Call
type DB_UpdateWriteRepositoryCredentials_Call ¶ added in v1.8.8
DB_UpdateWriteRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateWriteRepositoryCredentials'
func (*DB_UpdateWriteRepositoryCredentials_Call) Return ¶ added in v1.8.8
func (_c *DB_UpdateWriteRepositoryCredentials_Call) Return(repoCreds *v1alpha1.RepoCreds, err error) *DB_UpdateWriteRepositoryCredentials_Call
func (*DB_UpdateWriteRepositoryCredentials_Call) Run ¶ added in v1.8.8
func (_c *DB_UpdateWriteRepositoryCredentials_Call) Run(run func(ctx context.Context, r *v1alpha1.RepoCreds)) *DB_UpdateWriteRepositoryCredentials_Call
func (*DB_UpdateWriteRepositoryCredentials_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_UpdateWriteRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context, r *v1alpha1.RepoCreds) (*v1alpha1.RepoCreds, error)) *DB_UpdateWriteRepositoryCredentials_Call
type DB_UpdateWriteRepository_Call ¶ added in v1.8.8
DB_UpdateWriteRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateWriteRepository'
func (*DB_UpdateWriteRepository_Call) Return ¶ added in v1.8.8
func (_c *DB_UpdateWriteRepository_Call) Return(repository *v1alpha1.Repository, err error) *DB_UpdateWriteRepository_Call
func (*DB_UpdateWriteRepository_Call) Run ¶ added in v1.8.8
func (_c *DB_UpdateWriteRepository_Call) Run(run func(ctx context.Context, r *v1alpha1.Repository)) *DB_UpdateWriteRepository_Call
func (*DB_UpdateWriteRepository_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_UpdateWriteRepository_Call) RunAndReturn(run func(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)) *DB_UpdateWriteRepository_Call
type DB_WatchClusters_Call ¶ added in v1.8.8
DB_WatchClusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WatchClusters'
func (*DB_WatchClusters_Call) Return ¶ added in v1.8.8
func (_c *DB_WatchClusters_Call) Return(err error) *DB_WatchClusters_Call
func (*DB_WatchClusters_Call) RunAndReturn ¶ added in v1.8.8
type DB_WriteRepositoryExists_Call ¶ added in v1.8.8
DB_WriteRepositoryExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteRepositoryExists'
func (*DB_WriteRepositoryExists_Call) Return ¶ added in v1.8.8
func (_c *DB_WriteRepositoryExists_Call) Return(b bool, err error) *DB_WriteRepositoryExists_Call
func (*DB_WriteRepositoryExists_Call) Run ¶ added in v1.8.8
func (_c *DB_WriteRepositoryExists_Call) Run(run func(ctx context.Context, repoURL string, project string)) *DB_WriteRepositoryExists_Call
func (*DB_WriteRepositoryExists_Call) RunAndReturn ¶ added in v1.8.8
func (_c *DB_WriteRepositoryExists_Call) RunAndReturn(run func(ctx context.Context, repoURL string, project string) (bool, error)) *DB_WriteRepositoryExists_Call
type RepoCredsDB ¶ added in v1.8.8
RepoCredsDB is an autogenerated mock type for the RepoCredsDB type
func NewRepoCredsDB ¶ added in v1.8.8
func NewRepoCredsDB(t interface {
mock.TestingT
Cleanup(func())
}) *RepoCredsDB
NewRepoCredsDB creates a new instance of RepoCredsDB. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RepoCredsDB) EXPECT ¶ added in v1.8.8
func (_m *RepoCredsDB) EXPECT() *RepoCredsDB_Expecter
func (*RepoCredsDB) GetRepoCredsBySecretName ¶ added in v1.8.8
func (_mock *RepoCredsDB) GetRepoCredsBySecretName(context1 context.Context, secretName string) (*v1alpha1.RepoCreds, error)
GetRepoCredsBySecretName provides a mock function for the type RepoCredsDB
type RepoCredsDB_Expecter ¶ added in v1.8.8
type RepoCredsDB_Expecter struct {
// contains filtered or unexported fields
}
func (*RepoCredsDB_Expecter) GetRepoCredsBySecretName ¶ added in v1.8.8
func (_e *RepoCredsDB_Expecter) GetRepoCredsBySecretName(context1 any, secretName any) *RepoCredsDB_GetRepoCredsBySecretName_Call
GetRepoCredsBySecretName is a helper method to define mock.On call
- context1 context.Context
- secretName string
type RepoCredsDB_GetRepoCredsBySecretName_Call ¶ added in v1.8.8
RepoCredsDB_GetRepoCredsBySecretName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRepoCredsBySecretName'
func (*RepoCredsDB_GetRepoCredsBySecretName_Call) Return ¶ added in v1.8.8
func (_c *RepoCredsDB_GetRepoCredsBySecretName_Call) Return(repoCreds *v1alpha1.RepoCreds, err error) *RepoCredsDB_GetRepoCredsBySecretName_Call
func (*RepoCredsDB_GetRepoCredsBySecretName_Call) Run ¶ added in v1.8.8
func (_c *RepoCredsDB_GetRepoCredsBySecretName_Call) Run(run func(context1 context.Context, secretName string)) *RepoCredsDB_GetRepoCredsBySecretName_Call
func (*RepoCredsDB_GetRepoCredsBySecretName_Call) RunAndReturn ¶ added in v1.8.8
func (_c *RepoCredsDB_GetRepoCredsBySecretName_Call) RunAndReturn(run func(context1 context.Context, secretName string) (*v1alpha1.RepoCreds, error)) *RepoCredsDB_GetRepoCredsBySecretName_Call