Documentation
¶
Index ¶
- type ArgoDB
- func (_mock *ArgoDB) AddGPGPublicKey(ctx context.Context, keyData string) (map[string]*v1alpha1.GnuPGPublicKey, []string, error)
- func (_mock *ArgoDB) CreateCluster(ctx context.Context, c *v1alpha1.Cluster) (*v1alpha1.Cluster, error)
- func (_mock *ArgoDB) CreateRepoCertificate(ctx context.Context, certificate *v1alpha1.RepositoryCertificateList, ...) (*v1alpha1.RepositoryCertificateList, error)
- func (_mock *ArgoDB) CreateRepository(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)
- func (_mock *ArgoDB) CreateRepositoryCredentials(ctx context.Context, r *v1alpha1.RepoCreds) (*v1alpha1.RepoCreds, error)
- func (_mock *ArgoDB) CreateWriteRepository(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)
- func (_mock *ArgoDB) CreateWriteRepositoryCredentials(ctx context.Context, r *v1alpha1.RepoCreds) (*v1alpha1.RepoCreds, error)
- func (_mock *ArgoDB) DeleteCluster(ctx context.Context, server string) error
- func (_mock *ArgoDB) DeleteGPGPublicKey(ctx context.Context, keyID string) error
- func (_mock *ArgoDB) DeleteRepository(ctx context.Context, name string, project string) error
- func (_mock *ArgoDB) DeleteRepositoryCredentials(ctx context.Context, name string) error
- func (_mock *ArgoDB) DeleteWriteRepository(ctx context.Context, name string, project string) error
- func (_mock *ArgoDB) DeleteWriteRepositoryCredentials(ctx context.Context, name string) error
- func (_m *ArgoDB) EXPECT() *ArgoDB_Expecter
- func (_mock *ArgoDB) GetAllHelmRepositoryCredentials(ctx context.Context) ([]*v1alpha1.RepoCreds, error)
- func (_mock *ArgoDB) GetAllOCIRepositoryCredentials(ctx context.Context) ([]*v1alpha1.RepoCreds, error)
- func (_mock *ArgoDB) GetApplicationControllerReplicas() int
- func (_mock *ArgoDB) GetCluster(ctx context.Context, server string) (*v1alpha1.Cluster, error)
- func (_mock *ArgoDB) GetClusterServersByName(ctx context.Context, name string) ([]string, error)
- func (_mock *ArgoDB) GetProjectClusters(ctx context.Context, project string) ([]*v1alpha1.Cluster, error)
- func (_mock *ArgoDB) GetProjectRepositories(project string) ([]*v1alpha1.Repository, error)
- func (_mock *ArgoDB) GetProjectWriteRepositories(project string) ([]*v1alpha1.Repository, error)
- func (_mock *ArgoDB) GetRepository(ctx context.Context, url string, project string) (*v1alpha1.Repository, error)
- func (_mock *ArgoDB) GetRepositoryCredentials(ctx context.Context, name string) (*v1alpha1.RepoCreds, error)
- func (_mock *ArgoDB) GetWriteRepository(ctx context.Context, url string, project string) (*v1alpha1.Repository, error)
- func (_mock *ArgoDB) GetWriteRepositoryCredentials(ctx context.Context, name string) (*v1alpha1.RepoCreds, error)
- func (_mock *ArgoDB) ListClusters(ctx context.Context) (*v1alpha1.ClusterList, error)
- func (_mock *ArgoDB) ListConfiguredGPGPublicKeys(ctx context.Context) (map[string]*v1alpha1.GnuPGPublicKey, error)
- func (_mock *ArgoDB) ListHelmRepositories(ctx context.Context) ([]*v1alpha1.Repository, error)
- func (_mock *ArgoDB) ListOCIRepositories(ctx context.Context) ([]*v1alpha1.Repository, error)
- func (_mock *ArgoDB) ListRepoCertificates(ctx context.Context, selector *db.CertificateListSelector) (*v1alpha1.RepositoryCertificateList, error)
- func (_mock *ArgoDB) ListRepositories(ctx context.Context) ([]*v1alpha1.Repository, error)
- func (_mock *ArgoDB) ListRepositoryCredentials(ctx context.Context) ([]string, error)
- func (_mock *ArgoDB) ListWriteRepositories(ctx context.Context) ([]*v1alpha1.Repository, error)
- func (_mock *ArgoDB) ListWriteRepositoryCredentials(ctx context.Context) ([]string, error)
- func (_mock *ArgoDB) RemoveRepoCertificates(ctx context.Context, selector *db.CertificateListSelector) (*v1alpha1.RepositoryCertificateList, error)
- func (_mock *ArgoDB) RepositoryExists(ctx context.Context, repoURL string, project string) (bool, error)
- func (_mock *ArgoDB) UpdateCluster(ctx context.Context, c *v1alpha1.Cluster) (*v1alpha1.Cluster, error)
- func (_mock *ArgoDB) UpdateRepository(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)
- func (_mock *ArgoDB) UpdateRepositoryCredentials(ctx context.Context, r *v1alpha1.RepoCreds) (*v1alpha1.RepoCreds, error)
- func (_mock *ArgoDB) UpdateWriteRepository(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)
- func (_mock *ArgoDB) UpdateWriteRepositoryCredentials(ctx context.Context, r *v1alpha1.RepoCreds) (*v1alpha1.RepoCreds, error)
- func (_mock *ArgoDB) WatchClusters(ctx context.Context, handleAddEvent func(cluster *v1alpha1.Cluster), ...) error
- func (_mock *ArgoDB) WriteRepositoryExists(ctx context.Context, repoURL string, project string) (bool, error)
- type ArgoDB_AddGPGPublicKey_Call
- func (_c *ArgoDB_AddGPGPublicKey_Call) Return(stringToGnuPGPublicKey map[string]*v1alpha1.GnuPGPublicKey, strings []string, ...) *ArgoDB_AddGPGPublicKey_Call
- func (_c *ArgoDB_AddGPGPublicKey_Call) Run(run func(ctx context.Context, keyData string)) *ArgoDB_AddGPGPublicKey_Call
- func (_c *ArgoDB_AddGPGPublicKey_Call) RunAndReturn(...) *ArgoDB_AddGPGPublicKey_Call
- type ArgoDB_CreateCluster_Call
- func (_c *ArgoDB_CreateCluster_Call) Return(cluster *v1alpha1.Cluster, err error) *ArgoDB_CreateCluster_Call
- func (_c *ArgoDB_CreateCluster_Call) Run(run func(ctx context.Context, c *v1alpha1.Cluster)) *ArgoDB_CreateCluster_Call
- func (_c *ArgoDB_CreateCluster_Call) RunAndReturn(run func(ctx context.Context, c *v1alpha1.Cluster) (*v1alpha1.Cluster, error)) *ArgoDB_CreateCluster_Call
- type ArgoDB_CreateRepoCertificate_Call
- func (_c *ArgoDB_CreateRepoCertificate_Call) Return(repositoryCertificateList *v1alpha1.RepositoryCertificateList, err error) *ArgoDB_CreateRepoCertificate_Call
- func (_c *ArgoDB_CreateRepoCertificate_Call) Run(...) *ArgoDB_CreateRepoCertificate_Call
- func (_c *ArgoDB_CreateRepoCertificate_Call) RunAndReturn(...) *ArgoDB_CreateRepoCertificate_Call
- type ArgoDB_CreateRepositoryCredentials_Call
- func (_c *ArgoDB_CreateRepositoryCredentials_Call) Return(repoCreds *v1alpha1.RepoCreds, err error) *ArgoDB_CreateRepositoryCredentials_Call
- func (_c *ArgoDB_CreateRepositoryCredentials_Call) Run(run func(ctx context.Context, r *v1alpha1.RepoCreds)) *ArgoDB_CreateRepositoryCredentials_Call
- func (_c *ArgoDB_CreateRepositoryCredentials_Call) RunAndReturn(...) *ArgoDB_CreateRepositoryCredentials_Call
- type ArgoDB_CreateRepository_Call
- func (_c *ArgoDB_CreateRepository_Call) Return(repository *v1alpha1.Repository, err error) *ArgoDB_CreateRepository_Call
- func (_c *ArgoDB_CreateRepository_Call) Run(run func(ctx context.Context, r *v1alpha1.Repository)) *ArgoDB_CreateRepository_Call
- func (_c *ArgoDB_CreateRepository_Call) RunAndReturn(...) *ArgoDB_CreateRepository_Call
- type ArgoDB_CreateWriteRepositoryCredentials_Call
- func (_c *ArgoDB_CreateWriteRepositoryCredentials_Call) Return(repoCreds *v1alpha1.RepoCreds, err error) *ArgoDB_CreateWriteRepositoryCredentials_Call
- func (_c *ArgoDB_CreateWriteRepositoryCredentials_Call) Run(run func(ctx context.Context, r *v1alpha1.RepoCreds)) *ArgoDB_CreateWriteRepositoryCredentials_Call
- func (_c *ArgoDB_CreateWriteRepositoryCredentials_Call) RunAndReturn(...) *ArgoDB_CreateWriteRepositoryCredentials_Call
- type ArgoDB_CreateWriteRepository_Call
- func (_c *ArgoDB_CreateWriteRepository_Call) Return(repository *v1alpha1.Repository, err error) *ArgoDB_CreateWriteRepository_Call
- func (_c *ArgoDB_CreateWriteRepository_Call) Run(run func(ctx context.Context, r *v1alpha1.Repository)) *ArgoDB_CreateWriteRepository_Call
- func (_c *ArgoDB_CreateWriteRepository_Call) RunAndReturn(...) *ArgoDB_CreateWriteRepository_Call
- type ArgoDB_DeleteCluster_Call
- func (_c *ArgoDB_DeleteCluster_Call) Return(err error) *ArgoDB_DeleteCluster_Call
- func (_c *ArgoDB_DeleteCluster_Call) Run(run func(ctx context.Context, server string)) *ArgoDB_DeleteCluster_Call
- func (_c *ArgoDB_DeleteCluster_Call) RunAndReturn(run func(ctx context.Context, server string) error) *ArgoDB_DeleteCluster_Call
- type ArgoDB_DeleteGPGPublicKey_Call
- func (_c *ArgoDB_DeleteGPGPublicKey_Call) Return(err error) *ArgoDB_DeleteGPGPublicKey_Call
- func (_c *ArgoDB_DeleteGPGPublicKey_Call) Run(run func(ctx context.Context, keyID string)) *ArgoDB_DeleteGPGPublicKey_Call
- func (_c *ArgoDB_DeleteGPGPublicKey_Call) RunAndReturn(run func(ctx context.Context, keyID string) error) *ArgoDB_DeleteGPGPublicKey_Call
- type ArgoDB_DeleteRepositoryCredentials_Call
- func (_c *ArgoDB_DeleteRepositoryCredentials_Call) Return(err error) *ArgoDB_DeleteRepositoryCredentials_Call
- func (_c *ArgoDB_DeleteRepositoryCredentials_Call) Run(run func(ctx context.Context, name string)) *ArgoDB_DeleteRepositoryCredentials_Call
- func (_c *ArgoDB_DeleteRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context, name string) error) *ArgoDB_DeleteRepositoryCredentials_Call
- type ArgoDB_DeleteRepository_Call
- func (_c *ArgoDB_DeleteRepository_Call) Return(err error) *ArgoDB_DeleteRepository_Call
- func (_c *ArgoDB_DeleteRepository_Call) Run(run func(ctx context.Context, name string, project string)) *ArgoDB_DeleteRepository_Call
- func (_c *ArgoDB_DeleteRepository_Call) RunAndReturn(run func(ctx context.Context, name string, project string) error) *ArgoDB_DeleteRepository_Call
- type ArgoDB_DeleteWriteRepositoryCredentials_Call
- func (_c *ArgoDB_DeleteWriteRepositoryCredentials_Call) Return(err error) *ArgoDB_DeleteWriteRepositoryCredentials_Call
- func (_c *ArgoDB_DeleteWriteRepositoryCredentials_Call) Run(run func(ctx context.Context, name string)) *ArgoDB_DeleteWriteRepositoryCredentials_Call
- func (_c *ArgoDB_DeleteWriteRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context, name string) error) *ArgoDB_DeleteWriteRepositoryCredentials_Call
- type ArgoDB_DeleteWriteRepository_Call
- func (_c *ArgoDB_DeleteWriteRepository_Call) Return(err error) *ArgoDB_DeleteWriteRepository_Call
- func (_c *ArgoDB_DeleteWriteRepository_Call) Run(run func(ctx context.Context, name string, project string)) *ArgoDB_DeleteWriteRepository_Call
- func (_c *ArgoDB_DeleteWriteRepository_Call) RunAndReturn(run func(ctx context.Context, name string, project string) error) *ArgoDB_DeleteWriteRepository_Call
- type ArgoDB_Expecter
- func (_e *ArgoDB_Expecter) AddGPGPublicKey(ctx interface{}, keyData interface{}) *ArgoDB_AddGPGPublicKey_Call
- func (_e *ArgoDB_Expecter) CreateCluster(ctx interface{}, c interface{}) *ArgoDB_CreateCluster_Call
- func (_e *ArgoDB_Expecter) CreateRepoCertificate(ctx interface{}, certificate interface{}, upsert interface{}) *ArgoDB_CreateRepoCertificate_Call
- func (_e *ArgoDB_Expecter) CreateRepository(ctx interface{}, r interface{}) *ArgoDB_CreateRepository_Call
- func (_e *ArgoDB_Expecter) CreateRepositoryCredentials(ctx interface{}, r interface{}) *ArgoDB_CreateRepositoryCredentials_Call
- func (_e *ArgoDB_Expecter) CreateWriteRepository(ctx interface{}, r interface{}) *ArgoDB_CreateWriteRepository_Call
- func (_e *ArgoDB_Expecter) CreateWriteRepositoryCredentials(ctx interface{}, r interface{}) *ArgoDB_CreateWriteRepositoryCredentials_Call
- func (_e *ArgoDB_Expecter) DeleteCluster(ctx interface{}, server interface{}) *ArgoDB_DeleteCluster_Call
- func (_e *ArgoDB_Expecter) DeleteGPGPublicKey(ctx interface{}, keyID interface{}) *ArgoDB_DeleteGPGPublicKey_Call
- func (_e *ArgoDB_Expecter) DeleteRepository(ctx interface{}, name interface{}, project interface{}) *ArgoDB_DeleteRepository_Call
- func (_e *ArgoDB_Expecter) DeleteRepositoryCredentials(ctx interface{}, name interface{}) *ArgoDB_DeleteRepositoryCredentials_Call
- func (_e *ArgoDB_Expecter) DeleteWriteRepository(ctx interface{}, name interface{}, project interface{}) *ArgoDB_DeleteWriteRepository_Call
- func (_e *ArgoDB_Expecter) DeleteWriteRepositoryCredentials(ctx interface{}, name interface{}) *ArgoDB_DeleteWriteRepositoryCredentials_Call
- func (_e *ArgoDB_Expecter) GetAllHelmRepositoryCredentials(ctx interface{}) *ArgoDB_GetAllHelmRepositoryCredentials_Call
- func (_e *ArgoDB_Expecter) GetAllOCIRepositoryCredentials(ctx interface{}) *ArgoDB_GetAllOCIRepositoryCredentials_Call
- func (_e *ArgoDB_Expecter) GetApplicationControllerReplicas() *ArgoDB_GetApplicationControllerReplicas_Call
- func (_e *ArgoDB_Expecter) GetCluster(ctx interface{}, server interface{}) *ArgoDB_GetCluster_Call
- func (_e *ArgoDB_Expecter) GetClusterServersByName(ctx interface{}, name interface{}) *ArgoDB_GetClusterServersByName_Call
- func (_e *ArgoDB_Expecter) GetProjectClusters(ctx interface{}, project interface{}) *ArgoDB_GetProjectClusters_Call
- func (_e *ArgoDB_Expecter) GetProjectRepositories(project interface{}) *ArgoDB_GetProjectRepositories_Call
- func (_e *ArgoDB_Expecter) GetProjectWriteRepositories(project interface{}) *ArgoDB_GetProjectWriteRepositories_Call
- func (_e *ArgoDB_Expecter) GetRepository(ctx interface{}, url interface{}, project interface{}) *ArgoDB_GetRepository_Call
- func (_e *ArgoDB_Expecter) GetRepositoryCredentials(ctx interface{}, name interface{}) *ArgoDB_GetRepositoryCredentials_Call
- func (_e *ArgoDB_Expecter) GetWriteRepository(ctx interface{}, url interface{}, project interface{}) *ArgoDB_GetWriteRepository_Call
- func (_e *ArgoDB_Expecter) GetWriteRepositoryCredentials(ctx interface{}, name interface{}) *ArgoDB_GetWriteRepositoryCredentials_Call
- func (_e *ArgoDB_Expecter) ListClusters(ctx interface{}) *ArgoDB_ListClusters_Call
- func (_e *ArgoDB_Expecter) ListConfiguredGPGPublicKeys(ctx interface{}) *ArgoDB_ListConfiguredGPGPublicKeys_Call
- func (_e *ArgoDB_Expecter) ListHelmRepositories(ctx interface{}) *ArgoDB_ListHelmRepositories_Call
- func (_e *ArgoDB_Expecter) ListOCIRepositories(ctx interface{}) *ArgoDB_ListOCIRepositories_Call
- func (_e *ArgoDB_Expecter) ListRepoCertificates(ctx interface{}, selector interface{}) *ArgoDB_ListRepoCertificates_Call
- func (_e *ArgoDB_Expecter) ListRepositories(ctx interface{}) *ArgoDB_ListRepositories_Call
- func (_e *ArgoDB_Expecter) ListRepositoryCredentials(ctx interface{}) *ArgoDB_ListRepositoryCredentials_Call
- func (_e *ArgoDB_Expecter) ListWriteRepositories(ctx interface{}) *ArgoDB_ListWriteRepositories_Call
- func (_e *ArgoDB_Expecter) ListWriteRepositoryCredentials(ctx interface{}) *ArgoDB_ListWriteRepositoryCredentials_Call
- func (_e *ArgoDB_Expecter) RemoveRepoCertificates(ctx interface{}, selector interface{}) *ArgoDB_RemoveRepoCertificates_Call
- func (_e *ArgoDB_Expecter) RepositoryExists(ctx interface{}, repoURL interface{}, project interface{}) *ArgoDB_RepositoryExists_Call
- func (_e *ArgoDB_Expecter) UpdateCluster(ctx interface{}, c interface{}) *ArgoDB_UpdateCluster_Call
- func (_e *ArgoDB_Expecter) UpdateRepository(ctx interface{}, r interface{}) *ArgoDB_UpdateRepository_Call
- func (_e *ArgoDB_Expecter) UpdateRepositoryCredentials(ctx interface{}, r interface{}) *ArgoDB_UpdateRepositoryCredentials_Call
- func (_e *ArgoDB_Expecter) UpdateWriteRepository(ctx interface{}, r interface{}) *ArgoDB_UpdateWriteRepository_Call
- func (_e *ArgoDB_Expecter) UpdateWriteRepositoryCredentials(ctx interface{}, r interface{}) *ArgoDB_UpdateWriteRepositoryCredentials_Call
- func (_e *ArgoDB_Expecter) WatchClusters(ctx interface{}, handleAddEvent interface{}, handleModEvent interface{}, ...) *ArgoDB_WatchClusters_Call
- func (_e *ArgoDB_Expecter) WriteRepositoryExists(ctx interface{}, repoURL interface{}, project interface{}) *ArgoDB_WriteRepositoryExists_Call
- type ArgoDB_GetAllHelmRepositoryCredentials_Call
- func (_c *ArgoDB_GetAllHelmRepositoryCredentials_Call) Return(repoCredss []*v1alpha1.RepoCreds, err error) *ArgoDB_GetAllHelmRepositoryCredentials_Call
- func (_c *ArgoDB_GetAllHelmRepositoryCredentials_Call) Run(run func(ctx context.Context)) *ArgoDB_GetAllHelmRepositoryCredentials_Call
- func (_c *ArgoDB_GetAllHelmRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context) ([]*v1alpha1.RepoCreds, error)) *ArgoDB_GetAllHelmRepositoryCredentials_Call
- type ArgoDB_GetAllOCIRepositoryCredentials_Call
- func (_c *ArgoDB_GetAllOCIRepositoryCredentials_Call) Return(repoCredss []*v1alpha1.RepoCreds, err error) *ArgoDB_GetAllOCIRepositoryCredentials_Call
- func (_c *ArgoDB_GetAllOCIRepositoryCredentials_Call) Run(run func(ctx context.Context)) *ArgoDB_GetAllOCIRepositoryCredentials_Call
- func (_c *ArgoDB_GetAllOCIRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context) ([]*v1alpha1.RepoCreds, error)) *ArgoDB_GetAllOCIRepositoryCredentials_Call
- type ArgoDB_GetApplicationControllerReplicas_Call
- func (_c *ArgoDB_GetApplicationControllerReplicas_Call) Return(n int) *ArgoDB_GetApplicationControllerReplicas_Call
- func (_c *ArgoDB_GetApplicationControllerReplicas_Call) Run(run func()) *ArgoDB_GetApplicationControllerReplicas_Call
- func (_c *ArgoDB_GetApplicationControllerReplicas_Call) RunAndReturn(run func() int) *ArgoDB_GetApplicationControllerReplicas_Call
- type ArgoDB_GetClusterServersByName_Call
- func (_c *ArgoDB_GetClusterServersByName_Call) Return(strings []string, err error) *ArgoDB_GetClusterServersByName_Call
- func (_c *ArgoDB_GetClusterServersByName_Call) Run(run func(ctx context.Context, name string)) *ArgoDB_GetClusterServersByName_Call
- func (_c *ArgoDB_GetClusterServersByName_Call) RunAndReturn(run func(ctx context.Context, name string) ([]string, error)) *ArgoDB_GetClusterServersByName_Call
- type ArgoDB_GetCluster_Call
- func (_c *ArgoDB_GetCluster_Call) Return(cluster *v1alpha1.Cluster, err error) *ArgoDB_GetCluster_Call
- func (_c *ArgoDB_GetCluster_Call) Run(run func(ctx context.Context, server string)) *ArgoDB_GetCluster_Call
- func (_c *ArgoDB_GetCluster_Call) RunAndReturn(run func(ctx context.Context, server string) (*v1alpha1.Cluster, error)) *ArgoDB_GetCluster_Call
- type ArgoDB_GetProjectClusters_Call
- func (_c *ArgoDB_GetProjectClusters_Call) Return(clusters []*v1alpha1.Cluster, err error) *ArgoDB_GetProjectClusters_Call
- func (_c *ArgoDB_GetProjectClusters_Call) Run(run func(ctx context.Context, project string)) *ArgoDB_GetProjectClusters_Call
- func (_c *ArgoDB_GetProjectClusters_Call) RunAndReturn(run func(ctx context.Context, project string) ([]*v1alpha1.Cluster, error)) *ArgoDB_GetProjectClusters_Call
- type ArgoDB_GetProjectRepositories_Call
- func (_c *ArgoDB_GetProjectRepositories_Call) Return(repositorys []*v1alpha1.Repository, err error) *ArgoDB_GetProjectRepositories_Call
- func (_c *ArgoDB_GetProjectRepositories_Call) Run(run func(project string)) *ArgoDB_GetProjectRepositories_Call
- func (_c *ArgoDB_GetProjectRepositories_Call) RunAndReturn(run func(project string) ([]*v1alpha1.Repository, error)) *ArgoDB_GetProjectRepositories_Call
- type ArgoDB_GetProjectWriteRepositories_Call
- func (_c *ArgoDB_GetProjectWriteRepositories_Call) Return(repositorys []*v1alpha1.Repository, err error) *ArgoDB_GetProjectWriteRepositories_Call
- func (_c *ArgoDB_GetProjectWriteRepositories_Call) Run(run func(project string)) *ArgoDB_GetProjectWriteRepositories_Call
- func (_c *ArgoDB_GetProjectWriteRepositories_Call) RunAndReturn(run func(project string) ([]*v1alpha1.Repository, error)) *ArgoDB_GetProjectWriteRepositories_Call
- type ArgoDB_GetRepositoryCredentials_Call
- func (_c *ArgoDB_GetRepositoryCredentials_Call) Return(repoCreds *v1alpha1.RepoCreds, err error) *ArgoDB_GetRepositoryCredentials_Call
- func (_c *ArgoDB_GetRepositoryCredentials_Call) Run(run func(ctx context.Context, name string)) *ArgoDB_GetRepositoryCredentials_Call
- func (_c *ArgoDB_GetRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context, name string) (*v1alpha1.RepoCreds, error)) *ArgoDB_GetRepositoryCredentials_Call
- type ArgoDB_GetRepository_Call
- func (_c *ArgoDB_GetRepository_Call) Return(repository *v1alpha1.Repository, err error) *ArgoDB_GetRepository_Call
- func (_c *ArgoDB_GetRepository_Call) Run(run func(ctx context.Context, url string, project string)) *ArgoDB_GetRepository_Call
- func (_c *ArgoDB_GetRepository_Call) RunAndReturn(...) *ArgoDB_GetRepository_Call
- type ArgoDB_GetWriteRepositoryCredentials_Call
- func (_c *ArgoDB_GetWriteRepositoryCredentials_Call) Return(repoCreds *v1alpha1.RepoCreds, err error) *ArgoDB_GetWriteRepositoryCredentials_Call
- func (_c *ArgoDB_GetWriteRepositoryCredentials_Call) Run(run func(ctx context.Context, name string)) *ArgoDB_GetWriteRepositoryCredentials_Call
- func (_c *ArgoDB_GetWriteRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context, name string) (*v1alpha1.RepoCreds, error)) *ArgoDB_GetWriteRepositoryCredentials_Call
- type ArgoDB_GetWriteRepository_Call
- func (_c *ArgoDB_GetWriteRepository_Call) Return(repository *v1alpha1.Repository, err error) *ArgoDB_GetWriteRepository_Call
- func (_c *ArgoDB_GetWriteRepository_Call) Run(run func(ctx context.Context, url string, project string)) *ArgoDB_GetWriteRepository_Call
- func (_c *ArgoDB_GetWriteRepository_Call) RunAndReturn(...) *ArgoDB_GetWriteRepository_Call
- type ArgoDB_ListClusters_Call
- func (_c *ArgoDB_ListClusters_Call) Return(clusterList *v1alpha1.ClusterList, err error) *ArgoDB_ListClusters_Call
- func (_c *ArgoDB_ListClusters_Call) Run(run func(ctx context.Context)) *ArgoDB_ListClusters_Call
- func (_c *ArgoDB_ListClusters_Call) RunAndReturn(run func(ctx context.Context) (*v1alpha1.ClusterList, error)) *ArgoDB_ListClusters_Call
- type ArgoDB_ListConfiguredGPGPublicKeys_Call
- func (_c *ArgoDB_ListConfiguredGPGPublicKeys_Call) Return(stringToGnuPGPublicKey map[string]*v1alpha1.GnuPGPublicKey, err error) *ArgoDB_ListConfiguredGPGPublicKeys_Call
- func (_c *ArgoDB_ListConfiguredGPGPublicKeys_Call) Run(run func(ctx context.Context)) *ArgoDB_ListConfiguredGPGPublicKeys_Call
- func (_c *ArgoDB_ListConfiguredGPGPublicKeys_Call) RunAndReturn(run func(ctx context.Context) (map[string]*v1alpha1.GnuPGPublicKey, error)) *ArgoDB_ListConfiguredGPGPublicKeys_Call
- type ArgoDB_ListHelmRepositories_Call
- func (_c *ArgoDB_ListHelmRepositories_Call) Return(repositorys []*v1alpha1.Repository, err error) *ArgoDB_ListHelmRepositories_Call
- func (_c *ArgoDB_ListHelmRepositories_Call) Run(run func(ctx context.Context)) *ArgoDB_ListHelmRepositories_Call
- func (_c *ArgoDB_ListHelmRepositories_Call) RunAndReturn(run func(ctx context.Context) ([]*v1alpha1.Repository, error)) *ArgoDB_ListHelmRepositories_Call
- type ArgoDB_ListOCIRepositories_Call
- func (_c *ArgoDB_ListOCIRepositories_Call) Return(repositorys []*v1alpha1.Repository, err error) *ArgoDB_ListOCIRepositories_Call
- func (_c *ArgoDB_ListOCIRepositories_Call) Run(run func(ctx context.Context)) *ArgoDB_ListOCIRepositories_Call
- func (_c *ArgoDB_ListOCIRepositories_Call) RunAndReturn(run func(ctx context.Context) ([]*v1alpha1.Repository, error)) *ArgoDB_ListOCIRepositories_Call
- type ArgoDB_ListRepoCertificates_Call
- func (_c *ArgoDB_ListRepoCertificates_Call) Return(repositoryCertificateList *v1alpha1.RepositoryCertificateList, err error) *ArgoDB_ListRepoCertificates_Call
- func (_c *ArgoDB_ListRepoCertificates_Call) Run(run func(ctx context.Context, selector *db.CertificateListSelector)) *ArgoDB_ListRepoCertificates_Call
- func (_c *ArgoDB_ListRepoCertificates_Call) RunAndReturn(...) *ArgoDB_ListRepoCertificates_Call
- type ArgoDB_ListRepositories_Call
- func (_c *ArgoDB_ListRepositories_Call) Return(repositorys []*v1alpha1.Repository, err error) *ArgoDB_ListRepositories_Call
- func (_c *ArgoDB_ListRepositories_Call) Run(run func(ctx context.Context)) *ArgoDB_ListRepositories_Call
- func (_c *ArgoDB_ListRepositories_Call) RunAndReturn(run func(ctx context.Context) ([]*v1alpha1.Repository, error)) *ArgoDB_ListRepositories_Call
- type ArgoDB_ListRepositoryCredentials_Call
- func (_c *ArgoDB_ListRepositoryCredentials_Call) Return(strings []string, err error) *ArgoDB_ListRepositoryCredentials_Call
- func (_c *ArgoDB_ListRepositoryCredentials_Call) Run(run func(ctx context.Context)) *ArgoDB_ListRepositoryCredentials_Call
- func (_c *ArgoDB_ListRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context) ([]string, error)) *ArgoDB_ListRepositoryCredentials_Call
- type ArgoDB_ListWriteRepositories_Call
- func (_c *ArgoDB_ListWriteRepositories_Call) Return(repositorys []*v1alpha1.Repository, err error) *ArgoDB_ListWriteRepositories_Call
- func (_c *ArgoDB_ListWriteRepositories_Call) Run(run func(ctx context.Context)) *ArgoDB_ListWriteRepositories_Call
- func (_c *ArgoDB_ListWriteRepositories_Call) RunAndReturn(run func(ctx context.Context) ([]*v1alpha1.Repository, error)) *ArgoDB_ListWriteRepositories_Call
- type ArgoDB_ListWriteRepositoryCredentials_Call
- func (_c *ArgoDB_ListWriteRepositoryCredentials_Call) Return(strings []string, err error) *ArgoDB_ListWriteRepositoryCredentials_Call
- func (_c *ArgoDB_ListWriteRepositoryCredentials_Call) Run(run func(ctx context.Context)) *ArgoDB_ListWriteRepositoryCredentials_Call
- func (_c *ArgoDB_ListWriteRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context) ([]string, error)) *ArgoDB_ListWriteRepositoryCredentials_Call
- type ArgoDB_RemoveRepoCertificates_Call
- func (_c *ArgoDB_RemoveRepoCertificates_Call) Return(repositoryCertificateList *v1alpha1.RepositoryCertificateList, err error) *ArgoDB_RemoveRepoCertificates_Call
- func (_c *ArgoDB_RemoveRepoCertificates_Call) Run(run func(ctx context.Context, selector *db.CertificateListSelector)) *ArgoDB_RemoveRepoCertificates_Call
- func (_c *ArgoDB_RemoveRepoCertificates_Call) RunAndReturn(...) *ArgoDB_RemoveRepoCertificates_Call
- type ArgoDB_RepositoryExists_Call
- func (_c *ArgoDB_RepositoryExists_Call) Return(b bool, err error) *ArgoDB_RepositoryExists_Call
- func (_c *ArgoDB_RepositoryExists_Call) Run(run func(ctx context.Context, repoURL string, project string)) *ArgoDB_RepositoryExists_Call
- func (_c *ArgoDB_RepositoryExists_Call) RunAndReturn(run func(ctx context.Context, repoURL string, project string) (bool, error)) *ArgoDB_RepositoryExists_Call
- type ArgoDB_UpdateCluster_Call
- func (_c *ArgoDB_UpdateCluster_Call) Return(cluster *v1alpha1.Cluster, err error) *ArgoDB_UpdateCluster_Call
- func (_c *ArgoDB_UpdateCluster_Call) Run(run func(ctx context.Context, c *v1alpha1.Cluster)) *ArgoDB_UpdateCluster_Call
- func (_c *ArgoDB_UpdateCluster_Call) RunAndReturn(run func(ctx context.Context, c *v1alpha1.Cluster) (*v1alpha1.Cluster, error)) *ArgoDB_UpdateCluster_Call
- type ArgoDB_UpdateRepositoryCredentials_Call
- func (_c *ArgoDB_UpdateRepositoryCredentials_Call) Return(repoCreds *v1alpha1.RepoCreds, err error) *ArgoDB_UpdateRepositoryCredentials_Call
- func (_c *ArgoDB_UpdateRepositoryCredentials_Call) Run(run func(ctx context.Context, r *v1alpha1.RepoCreds)) *ArgoDB_UpdateRepositoryCredentials_Call
- func (_c *ArgoDB_UpdateRepositoryCredentials_Call) RunAndReturn(...) *ArgoDB_UpdateRepositoryCredentials_Call
- type ArgoDB_UpdateRepository_Call
- func (_c *ArgoDB_UpdateRepository_Call) Return(repository *v1alpha1.Repository, err error) *ArgoDB_UpdateRepository_Call
- func (_c *ArgoDB_UpdateRepository_Call) Run(run func(ctx context.Context, r *v1alpha1.Repository)) *ArgoDB_UpdateRepository_Call
- func (_c *ArgoDB_UpdateRepository_Call) RunAndReturn(...) *ArgoDB_UpdateRepository_Call
- type ArgoDB_UpdateWriteRepositoryCredentials_Call
- func (_c *ArgoDB_UpdateWriteRepositoryCredentials_Call) Return(repoCreds *v1alpha1.RepoCreds, err error) *ArgoDB_UpdateWriteRepositoryCredentials_Call
- func (_c *ArgoDB_UpdateWriteRepositoryCredentials_Call) Run(run func(ctx context.Context, r *v1alpha1.RepoCreds)) *ArgoDB_UpdateWriteRepositoryCredentials_Call
- func (_c *ArgoDB_UpdateWriteRepositoryCredentials_Call) RunAndReturn(...) *ArgoDB_UpdateWriteRepositoryCredentials_Call
- type ArgoDB_UpdateWriteRepository_Call
- func (_c *ArgoDB_UpdateWriteRepository_Call) Return(repository *v1alpha1.Repository, err error) *ArgoDB_UpdateWriteRepository_Call
- func (_c *ArgoDB_UpdateWriteRepository_Call) Run(run func(ctx context.Context, r *v1alpha1.Repository)) *ArgoDB_UpdateWriteRepository_Call
- func (_c *ArgoDB_UpdateWriteRepository_Call) RunAndReturn(...) *ArgoDB_UpdateWriteRepository_Call
- type ArgoDB_WatchClusters_Call
- type ArgoDB_WriteRepositoryExists_Call
- func (_c *ArgoDB_WriteRepositoryExists_Call) Return(b bool, err error) *ArgoDB_WriteRepositoryExists_Call
- func (_c *ArgoDB_WriteRepositoryExists_Call) Run(run func(ctx context.Context, repoURL string, project string)) *ArgoDB_WriteRepositoryExists_Call
- func (_c *ArgoDB_WriteRepositoryExists_Call) RunAndReturn(run func(ctx context.Context, repoURL string, project string) (bool, error)) *ArgoDB_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 ArgoDB ¶
ArgoDB is an autogenerated mock type for the ArgoDB type
func NewArgoDB ¶
NewArgoDB creates a new instance of ArgoDB. 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 (*ArgoDB) AddGPGPublicKey ¶
func (_mock *ArgoDB) AddGPGPublicKey(ctx context.Context, keyData string) (map[string]*v1alpha1.GnuPGPublicKey, []string, error)
AddGPGPublicKey provides a mock function for the type ArgoDB
func (*ArgoDB) CreateCluster ¶
func (_mock *ArgoDB) CreateCluster(ctx context.Context, c *v1alpha1.Cluster) (*v1alpha1.Cluster, error)
CreateCluster provides a mock function for the type ArgoDB
func (*ArgoDB) CreateRepoCertificate ¶
func (_mock *ArgoDB) CreateRepoCertificate(ctx context.Context, certificate *v1alpha1.RepositoryCertificateList, upsert bool) (*v1alpha1.RepositoryCertificateList, error)
CreateRepoCertificate provides a mock function for the type ArgoDB
func (*ArgoDB) CreateRepository ¶
func (_mock *ArgoDB) CreateRepository(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)
CreateRepository provides a mock function for the type ArgoDB
func (*ArgoDB) CreateRepositoryCredentials ¶
func (_mock *ArgoDB) CreateRepositoryCredentials(ctx context.Context, r *v1alpha1.RepoCreds) (*v1alpha1.RepoCreds, error)
CreateRepositoryCredentials provides a mock function for the type ArgoDB
func (*ArgoDB) CreateWriteRepository ¶
func (_mock *ArgoDB) CreateWriteRepository(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)
CreateWriteRepository provides a mock function for the type ArgoDB
func (*ArgoDB) CreateWriteRepositoryCredentials ¶
func (_mock *ArgoDB) CreateWriteRepositoryCredentials(ctx context.Context, r *v1alpha1.RepoCreds) (*v1alpha1.RepoCreds, error)
CreateWriteRepositoryCredentials provides a mock function for the type ArgoDB
func (*ArgoDB) DeleteCluster ¶
DeleteCluster provides a mock function for the type ArgoDB
func (*ArgoDB) DeleteGPGPublicKey ¶
DeleteGPGPublicKey provides a mock function for the type ArgoDB
func (*ArgoDB) DeleteRepository ¶
DeleteRepository provides a mock function for the type ArgoDB
func (*ArgoDB) DeleteRepositoryCredentials ¶
DeleteRepositoryCredentials provides a mock function for the type ArgoDB
func (*ArgoDB) DeleteWriteRepository ¶
DeleteWriteRepository provides a mock function for the type ArgoDB
func (*ArgoDB) DeleteWriteRepositoryCredentials ¶
DeleteWriteRepositoryCredentials provides a mock function for the type ArgoDB
func (*ArgoDB) EXPECT ¶ added in v3.1.0
func (_m *ArgoDB) EXPECT() *ArgoDB_Expecter
func (*ArgoDB) GetAllHelmRepositoryCredentials ¶
func (_mock *ArgoDB) GetAllHelmRepositoryCredentials(ctx context.Context) ([]*v1alpha1.RepoCreds, error)
GetAllHelmRepositoryCredentials provides a mock function for the type ArgoDB
func (*ArgoDB) GetAllOCIRepositoryCredentials ¶ added in v3.1.0
func (_mock *ArgoDB) GetAllOCIRepositoryCredentials(ctx context.Context) ([]*v1alpha1.RepoCreds, error)
GetAllOCIRepositoryCredentials provides a mock function for the type ArgoDB
func (*ArgoDB) GetApplicationControllerReplicas ¶
GetApplicationControllerReplicas provides a mock function for the type ArgoDB
func (*ArgoDB) GetCluster ¶
GetCluster provides a mock function for the type ArgoDB
func (*ArgoDB) GetClusterServersByName ¶
GetClusterServersByName provides a mock function for the type ArgoDB
func (*ArgoDB) GetProjectClusters ¶
func (_mock *ArgoDB) GetProjectClusters(ctx context.Context, project string) ([]*v1alpha1.Cluster, error)
GetProjectClusters provides a mock function for the type ArgoDB
func (*ArgoDB) GetProjectRepositories ¶
func (_mock *ArgoDB) GetProjectRepositories(project string) ([]*v1alpha1.Repository, error)
GetProjectRepositories provides a mock function for the type ArgoDB
func (*ArgoDB) GetProjectWriteRepositories ¶
func (_mock *ArgoDB) GetProjectWriteRepositories(project string) ([]*v1alpha1.Repository, error)
GetProjectWriteRepositories provides a mock function for the type ArgoDB
func (*ArgoDB) GetRepository ¶
func (_mock *ArgoDB) GetRepository(ctx context.Context, url string, project string) (*v1alpha1.Repository, error)
GetRepository provides a mock function for the type ArgoDB
func (*ArgoDB) GetRepositoryCredentials ¶
func (_mock *ArgoDB) GetRepositoryCredentials(ctx context.Context, name string) (*v1alpha1.RepoCreds, error)
GetRepositoryCredentials provides a mock function for the type ArgoDB
func (*ArgoDB) GetWriteRepository ¶
func (_mock *ArgoDB) GetWriteRepository(ctx context.Context, url string, project string) (*v1alpha1.Repository, error)
GetWriteRepository provides a mock function for the type ArgoDB
func (*ArgoDB) GetWriteRepositoryCredentials ¶
func (_mock *ArgoDB) GetWriteRepositoryCredentials(ctx context.Context, name string) (*v1alpha1.RepoCreds, error)
GetWriteRepositoryCredentials provides a mock function for the type ArgoDB
func (*ArgoDB) ListClusters ¶
ListClusters provides a mock function for the type ArgoDB
func (*ArgoDB) ListConfiguredGPGPublicKeys ¶
func (_mock *ArgoDB) ListConfiguredGPGPublicKeys(ctx context.Context) (map[string]*v1alpha1.GnuPGPublicKey, error)
ListConfiguredGPGPublicKeys provides a mock function for the type ArgoDB
func (*ArgoDB) ListHelmRepositories ¶
ListHelmRepositories provides a mock function for the type ArgoDB
func (*ArgoDB) ListOCIRepositories ¶ added in v3.1.0
ListOCIRepositories provides a mock function for the type ArgoDB
func (*ArgoDB) ListRepoCertificates ¶
func (_mock *ArgoDB) ListRepoCertificates(ctx context.Context, selector *db.CertificateListSelector) (*v1alpha1.RepositoryCertificateList, error)
ListRepoCertificates provides a mock function for the type ArgoDB
func (*ArgoDB) ListRepositories ¶
ListRepositories provides a mock function for the type ArgoDB
func (*ArgoDB) ListRepositoryCredentials ¶
ListRepositoryCredentials provides a mock function for the type ArgoDB
func (*ArgoDB) ListWriteRepositories ¶
ListWriteRepositories provides a mock function for the type ArgoDB
func (*ArgoDB) ListWriteRepositoryCredentials ¶
ListWriteRepositoryCredentials provides a mock function for the type ArgoDB
func (*ArgoDB) RemoveRepoCertificates ¶
func (_mock *ArgoDB) RemoveRepoCertificates(ctx context.Context, selector *db.CertificateListSelector) (*v1alpha1.RepositoryCertificateList, error)
RemoveRepoCertificates provides a mock function for the type ArgoDB
func (*ArgoDB) RepositoryExists ¶
func (_mock *ArgoDB) RepositoryExists(ctx context.Context, repoURL string, project string) (bool, error)
RepositoryExists provides a mock function for the type ArgoDB
func (*ArgoDB) UpdateCluster ¶
func (_mock *ArgoDB) UpdateCluster(ctx context.Context, c *v1alpha1.Cluster) (*v1alpha1.Cluster, error)
UpdateCluster provides a mock function for the type ArgoDB
func (*ArgoDB) UpdateRepository ¶
func (_mock *ArgoDB) UpdateRepository(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)
UpdateRepository provides a mock function for the type ArgoDB
func (*ArgoDB) UpdateRepositoryCredentials ¶
func (_mock *ArgoDB) UpdateRepositoryCredentials(ctx context.Context, r *v1alpha1.RepoCreds) (*v1alpha1.RepoCreds, error)
UpdateRepositoryCredentials provides a mock function for the type ArgoDB
func (*ArgoDB) UpdateWriteRepository ¶
func (_mock *ArgoDB) UpdateWriteRepository(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)
UpdateWriteRepository provides a mock function for the type ArgoDB
func (*ArgoDB) UpdateWriteRepositoryCredentials ¶
func (_mock *ArgoDB) UpdateWriteRepositoryCredentials(ctx context.Context, r *v1alpha1.RepoCreds) (*v1alpha1.RepoCreds, error)
UpdateWriteRepositoryCredentials provides a mock function for the type ArgoDB
func (*ArgoDB) WatchClusters ¶
func (_mock *ArgoDB) 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 ArgoDB
type ArgoDB_AddGPGPublicKey_Call ¶ added in v3.1.0
ArgoDB_AddGPGPublicKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddGPGPublicKey'
func (*ArgoDB_AddGPGPublicKey_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_AddGPGPublicKey_Call) Return(stringToGnuPGPublicKey map[string]*v1alpha1.GnuPGPublicKey, strings []string, err error) *ArgoDB_AddGPGPublicKey_Call
func (*ArgoDB_AddGPGPublicKey_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_AddGPGPublicKey_Call) Run(run func(ctx context.Context, keyData string)) *ArgoDB_AddGPGPublicKey_Call
func (*ArgoDB_AddGPGPublicKey_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_AddGPGPublicKey_Call) RunAndReturn(run func(ctx context.Context, keyData string) (map[string]*v1alpha1.GnuPGPublicKey, []string, error)) *ArgoDB_AddGPGPublicKey_Call
type ArgoDB_CreateCluster_Call ¶ added in v3.1.0
ArgoDB_CreateCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateCluster'
func (*ArgoDB_CreateCluster_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_CreateCluster_Call) Return(cluster *v1alpha1.Cluster, err error) *ArgoDB_CreateCluster_Call
func (*ArgoDB_CreateCluster_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_CreateCluster_Call) Run(run func(ctx context.Context, c *v1alpha1.Cluster)) *ArgoDB_CreateCluster_Call
func (*ArgoDB_CreateCluster_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_CreateCluster_Call) RunAndReturn(run func(ctx context.Context, c *v1alpha1.Cluster) (*v1alpha1.Cluster, error)) *ArgoDB_CreateCluster_Call
type ArgoDB_CreateRepoCertificate_Call ¶ added in v3.1.0
ArgoDB_CreateRepoCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateRepoCertificate'
func (*ArgoDB_CreateRepoCertificate_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_CreateRepoCertificate_Call) Return(repositoryCertificateList *v1alpha1.RepositoryCertificateList, err error) *ArgoDB_CreateRepoCertificate_Call
func (*ArgoDB_CreateRepoCertificate_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_CreateRepoCertificate_Call) Run(run func(ctx context.Context, certificate *v1alpha1.RepositoryCertificateList, upsert bool)) *ArgoDB_CreateRepoCertificate_Call
func (*ArgoDB_CreateRepoCertificate_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_CreateRepoCertificate_Call) RunAndReturn(run func(ctx context.Context, certificate *v1alpha1.RepositoryCertificateList, upsert bool) (*v1alpha1.RepositoryCertificateList, error)) *ArgoDB_CreateRepoCertificate_Call
type ArgoDB_CreateRepositoryCredentials_Call ¶ added in v3.1.0
ArgoDB_CreateRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateRepositoryCredentials'
func (*ArgoDB_CreateRepositoryCredentials_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_CreateRepositoryCredentials_Call) Return(repoCreds *v1alpha1.RepoCreds, err error) *ArgoDB_CreateRepositoryCredentials_Call
func (*ArgoDB_CreateRepositoryCredentials_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_CreateRepositoryCredentials_Call) Run(run func(ctx context.Context, r *v1alpha1.RepoCreds)) *ArgoDB_CreateRepositoryCredentials_Call
func (*ArgoDB_CreateRepositoryCredentials_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_CreateRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context, r *v1alpha1.RepoCreds) (*v1alpha1.RepoCreds, error)) *ArgoDB_CreateRepositoryCredentials_Call
type ArgoDB_CreateRepository_Call ¶ added in v3.1.0
ArgoDB_CreateRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateRepository'
func (*ArgoDB_CreateRepository_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_CreateRepository_Call) Return(repository *v1alpha1.Repository, err error) *ArgoDB_CreateRepository_Call
func (*ArgoDB_CreateRepository_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_CreateRepository_Call) Run(run func(ctx context.Context, r *v1alpha1.Repository)) *ArgoDB_CreateRepository_Call
func (*ArgoDB_CreateRepository_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_CreateRepository_Call) RunAndReturn(run func(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)) *ArgoDB_CreateRepository_Call
type ArgoDB_CreateWriteRepositoryCredentials_Call ¶ added in v3.1.0
ArgoDB_CreateWriteRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateWriteRepositoryCredentials'
func (*ArgoDB_CreateWriteRepositoryCredentials_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_CreateWriteRepositoryCredentials_Call) Return(repoCreds *v1alpha1.RepoCreds, err error) *ArgoDB_CreateWriteRepositoryCredentials_Call
func (*ArgoDB_CreateWriteRepositoryCredentials_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_CreateWriteRepositoryCredentials_Call) Run(run func(ctx context.Context, r *v1alpha1.RepoCreds)) *ArgoDB_CreateWriteRepositoryCredentials_Call
func (*ArgoDB_CreateWriteRepositoryCredentials_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_CreateWriteRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context, r *v1alpha1.RepoCreds) (*v1alpha1.RepoCreds, error)) *ArgoDB_CreateWriteRepositoryCredentials_Call
type ArgoDB_CreateWriteRepository_Call ¶ added in v3.1.0
ArgoDB_CreateWriteRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateWriteRepository'
func (*ArgoDB_CreateWriteRepository_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_CreateWriteRepository_Call) Return(repository *v1alpha1.Repository, err error) *ArgoDB_CreateWriteRepository_Call
func (*ArgoDB_CreateWriteRepository_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_CreateWriteRepository_Call) Run(run func(ctx context.Context, r *v1alpha1.Repository)) *ArgoDB_CreateWriteRepository_Call
func (*ArgoDB_CreateWriteRepository_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_CreateWriteRepository_Call) RunAndReturn(run func(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)) *ArgoDB_CreateWriteRepository_Call
type ArgoDB_DeleteCluster_Call ¶ added in v3.1.0
ArgoDB_DeleteCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCluster'
func (*ArgoDB_DeleteCluster_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_DeleteCluster_Call) Return(err error) *ArgoDB_DeleteCluster_Call
func (*ArgoDB_DeleteCluster_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_DeleteCluster_Call) Run(run func(ctx context.Context, server string)) *ArgoDB_DeleteCluster_Call
func (*ArgoDB_DeleteCluster_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_DeleteCluster_Call) RunAndReturn(run func(ctx context.Context, server string) error) *ArgoDB_DeleteCluster_Call
type ArgoDB_DeleteGPGPublicKey_Call ¶ added in v3.1.0
ArgoDB_DeleteGPGPublicKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteGPGPublicKey'
func (*ArgoDB_DeleteGPGPublicKey_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_DeleteGPGPublicKey_Call) Return(err error) *ArgoDB_DeleteGPGPublicKey_Call
func (*ArgoDB_DeleteGPGPublicKey_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_DeleteGPGPublicKey_Call) Run(run func(ctx context.Context, keyID string)) *ArgoDB_DeleteGPGPublicKey_Call
func (*ArgoDB_DeleteGPGPublicKey_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_DeleteGPGPublicKey_Call) RunAndReturn(run func(ctx context.Context, keyID string) error) *ArgoDB_DeleteGPGPublicKey_Call
type ArgoDB_DeleteRepositoryCredentials_Call ¶ added in v3.1.0
ArgoDB_DeleteRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteRepositoryCredentials'
func (*ArgoDB_DeleteRepositoryCredentials_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_DeleteRepositoryCredentials_Call) Return(err error) *ArgoDB_DeleteRepositoryCredentials_Call
func (*ArgoDB_DeleteRepositoryCredentials_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_DeleteRepositoryCredentials_Call) Run(run func(ctx context.Context, name string)) *ArgoDB_DeleteRepositoryCredentials_Call
func (*ArgoDB_DeleteRepositoryCredentials_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_DeleteRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context, name string) error) *ArgoDB_DeleteRepositoryCredentials_Call
type ArgoDB_DeleteRepository_Call ¶ added in v3.1.0
ArgoDB_DeleteRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteRepository'
func (*ArgoDB_DeleteRepository_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_DeleteRepository_Call) Return(err error) *ArgoDB_DeleteRepository_Call
func (*ArgoDB_DeleteRepository_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_DeleteRepository_Call) Run(run func(ctx context.Context, name string, project string)) *ArgoDB_DeleteRepository_Call
func (*ArgoDB_DeleteRepository_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_DeleteRepository_Call) RunAndReturn(run func(ctx context.Context, name string, project string) error) *ArgoDB_DeleteRepository_Call
type ArgoDB_DeleteWriteRepositoryCredentials_Call ¶ added in v3.1.0
ArgoDB_DeleteWriteRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteWriteRepositoryCredentials'
func (*ArgoDB_DeleteWriteRepositoryCredentials_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_DeleteWriteRepositoryCredentials_Call) Return(err error) *ArgoDB_DeleteWriteRepositoryCredentials_Call
func (*ArgoDB_DeleteWriteRepositoryCredentials_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_DeleteWriteRepositoryCredentials_Call) Run(run func(ctx context.Context, name string)) *ArgoDB_DeleteWriteRepositoryCredentials_Call
func (*ArgoDB_DeleteWriteRepositoryCredentials_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_DeleteWriteRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context, name string) error) *ArgoDB_DeleteWriteRepositoryCredentials_Call
type ArgoDB_DeleteWriteRepository_Call ¶ added in v3.1.0
ArgoDB_DeleteWriteRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteWriteRepository'
func (*ArgoDB_DeleteWriteRepository_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_DeleteWriteRepository_Call) Return(err error) *ArgoDB_DeleteWriteRepository_Call
func (*ArgoDB_DeleteWriteRepository_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_DeleteWriteRepository_Call) Run(run func(ctx context.Context, name string, project string)) *ArgoDB_DeleteWriteRepository_Call
func (*ArgoDB_DeleteWriteRepository_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_DeleteWriteRepository_Call) RunAndReturn(run func(ctx context.Context, name string, project string) error) *ArgoDB_DeleteWriteRepository_Call
type ArgoDB_Expecter ¶ added in v3.1.0
type ArgoDB_Expecter struct {
// contains filtered or unexported fields
}
func (*ArgoDB_Expecter) AddGPGPublicKey ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) AddGPGPublicKey(ctx interface{}, keyData interface{}) *ArgoDB_AddGPGPublicKey_Call
AddGPGPublicKey is a helper method to define mock.On call
- ctx context.Context
- keyData string
func (*ArgoDB_Expecter) CreateCluster ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) CreateCluster(ctx interface{}, c interface{}) *ArgoDB_CreateCluster_Call
CreateCluster is a helper method to define mock.On call
- ctx context.Context
- c *v1alpha1.Cluster
func (*ArgoDB_Expecter) CreateRepoCertificate ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) CreateRepoCertificate(ctx interface{}, certificate interface{}, upsert interface{}) *ArgoDB_CreateRepoCertificate_Call
CreateRepoCertificate is a helper method to define mock.On call
- ctx context.Context
- certificate *v1alpha1.RepositoryCertificateList
- upsert bool
func (*ArgoDB_Expecter) CreateRepository ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) CreateRepository(ctx interface{}, r interface{}) *ArgoDB_CreateRepository_Call
CreateRepository is a helper method to define mock.On call
- ctx context.Context
- r *v1alpha1.Repository
func (*ArgoDB_Expecter) CreateRepositoryCredentials ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) CreateRepositoryCredentials(ctx interface{}, r interface{}) *ArgoDB_CreateRepositoryCredentials_Call
CreateRepositoryCredentials is a helper method to define mock.On call
- ctx context.Context
- r *v1alpha1.RepoCreds
func (*ArgoDB_Expecter) CreateWriteRepository ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) CreateWriteRepository(ctx interface{}, r interface{}) *ArgoDB_CreateWriteRepository_Call
CreateWriteRepository is a helper method to define mock.On call
- ctx context.Context
- r *v1alpha1.Repository
func (*ArgoDB_Expecter) CreateWriteRepositoryCredentials ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) CreateWriteRepositoryCredentials(ctx interface{}, r interface{}) *ArgoDB_CreateWriteRepositoryCredentials_Call
CreateWriteRepositoryCredentials is a helper method to define mock.On call
- ctx context.Context
- r *v1alpha1.RepoCreds
func (*ArgoDB_Expecter) DeleteCluster ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) DeleteCluster(ctx interface{}, server interface{}) *ArgoDB_DeleteCluster_Call
DeleteCluster is a helper method to define mock.On call
- ctx context.Context
- server string
func (*ArgoDB_Expecter) DeleteGPGPublicKey ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) DeleteGPGPublicKey(ctx interface{}, keyID interface{}) *ArgoDB_DeleteGPGPublicKey_Call
DeleteGPGPublicKey is a helper method to define mock.On call
- ctx context.Context
- keyID string
func (*ArgoDB_Expecter) DeleteRepository ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) DeleteRepository(ctx interface{}, name interface{}, project interface{}) *ArgoDB_DeleteRepository_Call
DeleteRepository is a helper method to define mock.On call
- ctx context.Context
- name string
- project string
func (*ArgoDB_Expecter) DeleteRepositoryCredentials ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) DeleteRepositoryCredentials(ctx interface{}, name interface{}) *ArgoDB_DeleteRepositoryCredentials_Call
DeleteRepositoryCredentials is a helper method to define mock.On call
- ctx context.Context
- name string
func (*ArgoDB_Expecter) DeleteWriteRepository ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) DeleteWriteRepository(ctx interface{}, name interface{}, project interface{}) *ArgoDB_DeleteWriteRepository_Call
DeleteWriteRepository is a helper method to define mock.On call
- ctx context.Context
- name string
- project string
func (*ArgoDB_Expecter) DeleteWriteRepositoryCredentials ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) DeleteWriteRepositoryCredentials(ctx interface{}, name interface{}) *ArgoDB_DeleteWriteRepositoryCredentials_Call
DeleteWriteRepositoryCredentials is a helper method to define mock.On call
- ctx context.Context
- name string
func (*ArgoDB_Expecter) GetAllHelmRepositoryCredentials ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) GetAllHelmRepositoryCredentials(ctx interface{}) *ArgoDB_GetAllHelmRepositoryCredentials_Call
GetAllHelmRepositoryCredentials is a helper method to define mock.On call
- ctx context.Context
func (*ArgoDB_Expecter) GetAllOCIRepositoryCredentials ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) GetAllOCIRepositoryCredentials(ctx interface{}) *ArgoDB_GetAllOCIRepositoryCredentials_Call
GetAllOCIRepositoryCredentials is a helper method to define mock.On call
- ctx context.Context
func (*ArgoDB_Expecter) GetApplicationControllerReplicas ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) GetApplicationControllerReplicas() *ArgoDB_GetApplicationControllerReplicas_Call
GetApplicationControllerReplicas is a helper method to define mock.On call
func (*ArgoDB_Expecter) GetCluster ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) GetCluster(ctx interface{}, server interface{}) *ArgoDB_GetCluster_Call
GetCluster is a helper method to define mock.On call
- ctx context.Context
- server string
func (*ArgoDB_Expecter) GetClusterServersByName ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) GetClusterServersByName(ctx interface{}, name interface{}) *ArgoDB_GetClusterServersByName_Call
GetClusterServersByName is a helper method to define mock.On call
- ctx context.Context
- name string
func (*ArgoDB_Expecter) GetProjectClusters ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) GetProjectClusters(ctx interface{}, project interface{}) *ArgoDB_GetProjectClusters_Call
GetProjectClusters is a helper method to define mock.On call
- ctx context.Context
- project string
func (*ArgoDB_Expecter) GetProjectRepositories ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) GetProjectRepositories(project interface{}) *ArgoDB_GetProjectRepositories_Call
GetProjectRepositories is a helper method to define mock.On call
- project string
func (*ArgoDB_Expecter) GetProjectWriteRepositories ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) GetProjectWriteRepositories(project interface{}) *ArgoDB_GetProjectWriteRepositories_Call
GetProjectWriteRepositories is a helper method to define mock.On call
- project string
func (*ArgoDB_Expecter) GetRepository ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) GetRepository(ctx interface{}, url interface{}, project interface{}) *ArgoDB_GetRepository_Call
GetRepository is a helper method to define mock.On call
- ctx context.Context
- url string
- project string
func (*ArgoDB_Expecter) GetRepositoryCredentials ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) GetRepositoryCredentials(ctx interface{}, name interface{}) *ArgoDB_GetRepositoryCredentials_Call
GetRepositoryCredentials is a helper method to define mock.On call
- ctx context.Context
- name string
func (*ArgoDB_Expecter) GetWriteRepository ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) GetWriteRepository(ctx interface{}, url interface{}, project interface{}) *ArgoDB_GetWriteRepository_Call
GetWriteRepository is a helper method to define mock.On call
- ctx context.Context
- url string
- project string
func (*ArgoDB_Expecter) GetWriteRepositoryCredentials ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) GetWriteRepositoryCredentials(ctx interface{}, name interface{}) *ArgoDB_GetWriteRepositoryCredentials_Call
GetWriteRepositoryCredentials is a helper method to define mock.On call
- ctx context.Context
- name string
func (*ArgoDB_Expecter) ListClusters ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) ListClusters(ctx interface{}) *ArgoDB_ListClusters_Call
ListClusters is a helper method to define mock.On call
- ctx context.Context
func (*ArgoDB_Expecter) ListConfiguredGPGPublicKeys ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) ListConfiguredGPGPublicKeys(ctx interface{}) *ArgoDB_ListConfiguredGPGPublicKeys_Call
ListConfiguredGPGPublicKeys is a helper method to define mock.On call
- ctx context.Context
func (*ArgoDB_Expecter) ListHelmRepositories ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) ListHelmRepositories(ctx interface{}) *ArgoDB_ListHelmRepositories_Call
ListHelmRepositories is a helper method to define mock.On call
- ctx context.Context
func (*ArgoDB_Expecter) ListOCIRepositories ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) ListOCIRepositories(ctx interface{}) *ArgoDB_ListOCIRepositories_Call
ListOCIRepositories is a helper method to define mock.On call
- ctx context.Context
func (*ArgoDB_Expecter) ListRepoCertificates ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) ListRepoCertificates(ctx interface{}, selector interface{}) *ArgoDB_ListRepoCertificates_Call
ListRepoCertificates is a helper method to define mock.On call
- ctx context.Context
- selector *db.CertificateListSelector
func (*ArgoDB_Expecter) ListRepositories ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) ListRepositories(ctx interface{}) *ArgoDB_ListRepositories_Call
ListRepositories is a helper method to define mock.On call
- ctx context.Context
func (*ArgoDB_Expecter) ListRepositoryCredentials ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) ListRepositoryCredentials(ctx interface{}) *ArgoDB_ListRepositoryCredentials_Call
ListRepositoryCredentials is a helper method to define mock.On call
- ctx context.Context
func (*ArgoDB_Expecter) ListWriteRepositories ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) ListWriteRepositories(ctx interface{}) *ArgoDB_ListWriteRepositories_Call
ListWriteRepositories is a helper method to define mock.On call
- ctx context.Context
func (*ArgoDB_Expecter) ListWriteRepositoryCredentials ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) ListWriteRepositoryCredentials(ctx interface{}) *ArgoDB_ListWriteRepositoryCredentials_Call
ListWriteRepositoryCredentials is a helper method to define mock.On call
- ctx context.Context
func (*ArgoDB_Expecter) RemoveRepoCertificates ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) RemoveRepoCertificates(ctx interface{}, selector interface{}) *ArgoDB_RemoveRepoCertificates_Call
RemoveRepoCertificates is a helper method to define mock.On call
- ctx context.Context
- selector *db.CertificateListSelector
func (*ArgoDB_Expecter) RepositoryExists ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) RepositoryExists(ctx interface{}, repoURL interface{}, project interface{}) *ArgoDB_RepositoryExists_Call
RepositoryExists is a helper method to define mock.On call
- ctx context.Context
- repoURL string
- project string
func (*ArgoDB_Expecter) UpdateCluster ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) UpdateCluster(ctx interface{}, c interface{}) *ArgoDB_UpdateCluster_Call
UpdateCluster is a helper method to define mock.On call
- ctx context.Context
- c *v1alpha1.Cluster
func (*ArgoDB_Expecter) UpdateRepository ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) UpdateRepository(ctx interface{}, r interface{}) *ArgoDB_UpdateRepository_Call
UpdateRepository is a helper method to define mock.On call
- ctx context.Context
- r *v1alpha1.Repository
func (*ArgoDB_Expecter) UpdateRepositoryCredentials ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) UpdateRepositoryCredentials(ctx interface{}, r interface{}) *ArgoDB_UpdateRepositoryCredentials_Call
UpdateRepositoryCredentials is a helper method to define mock.On call
- ctx context.Context
- r *v1alpha1.RepoCreds
func (*ArgoDB_Expecter) UpdateWriteRepository ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) UpdateWriteRepository(ctx interface{}, r interface{}) *ArgoDB_UpdateWriteRepository_Call
UpdateWriteRepository is a helper method to define mock.On call
- ctx context.Context
- r *v1alpha1.Repository
func (*ArgoDB_Expecter) UpdateWriteRepositoryCredentials ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) UpdateWriteRepositoryCredentials(ctx interface{}, r interface{}) *ArgoDB_UpdateWriteRepositoryCredentials_Call
UpdateWriteRepositoryCredentials is a helper method to define mock.On call
- ctx context.Context
- r *v1alpha1.RepoCreds
func (*ArgoDB_Expecter) WatchClusters ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) WatchClusters(ctx interface{}, handleAddEvent interface{}, handleModEvent interface{}, handleDeleteEvent interface{}) *ArgoDB_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 (*ArgoDB_Expecter) WriteRepositoryExists ¶ added in v3.1.0
func (_e *ArgoDB_Expecter) WriteRepositoryExists(ctx interface{}, repoURL interface{}, project interface{}) *ArgoDB_WriteRepositoryExists_Call
WriteRepositoryExists is a helper method to define mock.On call
- ctx context.Context
- repoURL string
- project string
type ArgoDB_GetAllHelmRepositoryCredentials_Call ¶ added in v3.1.0
ArgoDB_GetAllHelmRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllHelmRepositoryCredentials'
func (*ArgoDB_GetAllHelmRepositoryCredentials_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_GetAllHelmRepositoryCredentials_Call) Return(repoCredss []*v1alpha1.RepoCreds, err error) *ArgoDB_GetAllHelmRepositoryCredentials_Call
func (*ArgoDB_GetAllHelmRepositoryCredentials_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_GetAllHelmRepositoryCredentials_Call) Run(run func(ctx context.Context)) *ArgoDB_GetAllHelmRepositoryCredentials_Call
func (*ArgoDB_GetAllHelmRepositoryCredentials_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_GetAllHelmRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context) ([]*v1alpha1.RepoCreds, error)) *ArgoDB_GetAllHelmRepositoryCredentials_Call
type ArgoDB_GetAllOCIRepositoryCredentials_Call ¶ added in v3.1.0
ArgoDB_GetAllOCIRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllOCIRepositoryCredentials'
func (*ArgoDB_GetAllOCIRepositoryCredentials_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_GetAllOCIRepositoryCredentials_Call) Return(repoCredss []*v1alpha1.RepoCreds, err error) *ArgoDB_GetAllOCIRepositoryCredentials_Call
func (*ArgoDB_GetAllOCIRepositoryCredentials_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_GetAllOCIRepositoryCredentials_Call) Run(run func(ctx context.Context)) *ArgoDB_GetAllOCIRepositoryCredentials_Call
func (*ArgoDB_GetAllOCIRepositoryCredentials_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_GetAllOCIRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context) ([]*v1alpha1.RepoCreds, error)) *ArgoDB_GetAllOCIRepositoryCredentials_Call
type ArgoDB_GetApplicationControllerReplicas_Call ¶ added in v3.1.0
ArgoDB_GetApplicationControllerReplicas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetApplicationControllerReplicas'
func (*ArgoDB_GetApplicationControllerReplicas_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_GetApplicationControllerReplicas_Call) Return(n int) *ArgoDB_GetApplicationControllerReplicas_Call
func (*ArgoDB_GetApplicationControllerReplicas_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_GetApplicationControllerReplicas_Call) Run(run func()) *ArgoDB_GetApplicationControllerReplicas_Call
func (*ArgoDB_GetApplicationControllerReplicas_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_GetApplicationControllerReplicas_Call) RunAndReturn(run func() int) *ArgoDB_GetApplicationControllerReplicas_Call
type ArgoDB_GetClusterServersByName_Call ¶ added in v3.1.0
ArgoDB_GetClusterServersByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetClusterServersByName'
func (*ArgoDB_GetClusterServersByName_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_GetClusterServersByName_Call) Return(strings []string, err error) *ArgoDB_GetClusterServersByName_Call
func (*ArgoDB_GetClusterServersByName_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_GetClusterServersByName_Call) Run(run func(ctx context.Context, name string)) *ArgoDB_GetClusterServersByName_Call
func (*ArgoDB_GetClusterServersByName_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_GetClusterServersByName_Call) RunAndReturn(run func(ctx context.Context, name string) ([]string, error)) *ArgoDB_GetClusterServersByName_Call
type ArgoDB_GetCluster_Call ¶ added in v3.1.0
ArgoDB_GetCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCluster'
func (*ArgoDB_GetCluster_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_GetCluster_Call) Return(cluster *v1alpha1.Cluster, err error) *ArgoDB_GetCluster_Call
func (*ArgoDB_GetCluster_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_GetCluster_Call) Run(run func(ctx context.Context, server string)) *ArgoDB_GetCluster_Call
func (*ArgoDB_GetCluster_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_GetCluster_Call) RunAndReturn(run func(ctx context.Context, server string) (*v1alpha1.Cluster, error)) *ArgoDB_GetCluster_Call
type ArgoDB_GetProjectClusters_Call ¶ added in v3.1.0
ArgoDB_GetProjectClusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProjectClusters'
func (*ArgoDB_GetProjectClusters_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_GetProjectClusters_Call) Return(clusters []*v1alpha1.Cluster, err error) *ArgoDB_GetProjectClusters_Call
func (*ArgoDB_GetProjectClusters_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_GetProjectClusters_Call) Run(run func(ctx context.Context, project string)) *ArgoDB_GetProjectClusters_Call
func (*ArgoDB_GetProjectClusters_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_GetProjectClusters_Call) RunAndReturn(run func(ctx context.Context, project string) ([]*v1alpha1.Cluster, error)) *ArgoDB_GetProjectClusters_Call
type ArgoDB_GetProjectRepositories_Call ¶ added in v3.1.0
ArgoDB_GetProjectRepositories_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProjectRepositories'
func (*ArgoDB_GetProjectRepositories_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_GetProjectRepositories_Call) Return(repositorys []*v1alpha1.Repository, err error) *ArgoDB_GetProjectRepositories_Call
func (*ArgoDB_GetProjectRepositories_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_GetProjectRepositories_Call) Run(run func(project string)) *ArgoDB_GetProjectRepositories_Call
func (*ArgoDB_GetProjectRepositories_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_GetProjectRepositories_Call) RunAndReturn(run func(project string) ([]*v1alpha1.Repository, error)) *ArgoDB_GetProjectRepositories_Call
type ArgoDB_GetProjectWriteRepositories_Call ¶ added in v3.1.0
ArgoDB_GetProjectWriteRepositories_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProjectWriteRepositories'
func (*ArgoDB_GetProjectWriteRepositories_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_GetProjectWriteRepositories_Call) Return(repositorys []*v1alpha1.Repository, err error) *ArgoDB_GetProjectWriteRepositories_Call
func (*ArgoDB_GetProjectWriteRepositories_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_GetProjectWriteRepositories_Call) Run(run func(project string)) *ArgoDB_GetProjectWriteRepositories_Call
func (*ArgoDB_GetProjectWriteRepositories_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_GetProjectWriteRepositories_Call) RunAndReturn(run func(project string) ([]*v1alpha1.Repository, error)) *ArgoDB_GetProjectWriteRepositories_Call
type ArgoDB_GetRepositoryCredentials_Call ¶ added in v3.1.0
ArgoDB_GetRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRepositoryCredentials'
func (*ArgoDB_GetRepositoryCredentials_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_GetRepositoryCredentials_Call) Return(repoCreds *v1alpha1.RepoCreds, err error) *ArgoDB_GetRepositoryCredentials_Call
func (*ArgoDB_GetRepositoryCredentials_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_GetRepositoryCredentials_Call) Run(run func(ctx context.Context, name string)) *ArgoDB_GetRepositoryCredentials_Call
func (*ArgoDB_GetRepositoryCredentials_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_GetRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context, name string) (*v1alpha1.RepoCreds, error)) *ArgoDB_GetRepositoryCredentials_Call
type ArgoDB_GetRepository_Call ¶ added in v3.1.0
ArgoDB_GetRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRepository'
func (*ArgoDB_GetRepository_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_GetRepository_Call) Return(repository *v1alpha1.Repository, err error) *ArgoDB_GetRepository_Call
func (*ArgoDB_GetRepository_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_GetRepository_Call) Run(run func(ctx context.Context, url string, project string)) *ArgoDB_GetRepository_Call
func (*ArgoDB_GetRepository_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_GetRepository_Call) RunAndReturn(run func(ctx context.Context, url string, project string) (*v1alpha1.Repository, error)) *ArgoDB_GetRepository_Call
type ArgoDB_GetWriteRepositoryCredentials_Call ¶ added in v3.1.0
ArgoDB_GetWriteRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWriteRepositoryCredentials'
func (*ArgoDB_GetWriteRepositoryCredentials_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_GetWriteRepositoryCredentials_Call) Return(repoCreds *v1alpha1.RepoCreds, err error) *ArgoDB_GetWriteRepositoryCredentials_Call
func (*ArgoDB_GetWriteRepositoryCredentials_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_GetWriteRepositoryCredentials_Call) Run(run func(ctx context.Context, name string)) *ArgoDB_GetWriteRepositoryCredentials_Call
func (*ArgoDB_GetWriteRepositoryCredentials_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_GetWriteRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context, name string) (*v1alpha1.RepoCreds, error)) *ArgoDB_GetWriteRepositoryCredentials_Call
type ArgoDB_GetWriteRepository_Call ¶ added in v3.1.0
ArgoDB_GetWriteRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWriteRepository'
func (*ArgoDB_GetWriteRepository_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_GetWriteRepository_Call) Return(repository *v1alpha1.Repository, err error) *ArgoDB_GetWriteRepository_Call
func (*ArgoDB_GetWriteRepository_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_GetWriteRepository_Call) Run(run func(ctx context.Context, url string, project string)) *ArgoDB_GetWriteRepository_Call
func (*ArgoDB_GetWriteRepository_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_GetWriteRepository_Call) RunAndReturn(run func(ctx context.Context, url string, project string) (*v1alpha1.Repository, error)) *ArgoDB_GetWriteRepository_Call
type ArgoDB_ListClusters_Call ¶ added in v3.1.0
ArgoDB_ListClusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListClusters'
func (*ArgoDB_ListClusters_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_ListClusters_Call) Return(clusterList *v1alpha1.ClusterList, err error) *ArgoDB_ListClusters_Call
func (*ArgoDB_ListClusters_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_ListClusters_Call) Run(run func(ctx context.Context)) *ArgoDB_ListClusters_Call
func (*ArgoDB_ListClusters_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_ListClusters_Call) RunAndReturn(run func(ctx context.Context) (*v1alpha1.ClusterList, error)) *ArgoDB_ListClusters_Call
type ArgoDB_ListConfiguredGPGPublicKeys_Call ¶ added in v3.1.0
ArgoDB_ListConfiguredGPGPublicKeys_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListConfiguredGPGPublicKeys'
func (*ArgoDB_ListConfiguredGPGPublicKeys_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_ListConfiguredGPGPublicKeys_Call) Return(stringToGnuPGPublicKey map[string]*v1alpha1.GnuPGPublicKey, err error) *ArgoDB_ListConfiguredGPGPublicKeys_Call
func (*ArgoDB_ListConfiguredGPGPublicKeys_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_ListConfiguredGPGPublicKeys_Call) Run(run func(ctx context.Context)) *ArgoDB_ListConfiguredGPGPublicKeys_Call
func (*ArgoDB_ListConfiguredGPGPublicKeys_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_ListConfiguredGPGPublicKeys_Call) RunAndReturn(run func(ctx context.Context) (map[string]*v1alpha1.GnuPGPublicKey, error)) *ArgoDB_ListConfiguredGPGPublicKeys_Call
type ArgoDB_ListHelmRepositories_Call ¶ added in v3.1.0
ArgoDB_ListHelmRepositories_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListHelmRepositories'
func (*ArgoDB_ListHelmRepositories_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_ListHelmRepositories_Call) Return(repositorys []*v1alpha1.Repository, err error) *ArgoDB_ListHelmRepositories_Call
func (*ArgoDB_ListHelmRepositories_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_ListHelmRepositories_Call) Run(run func(ctx context.Context)) *ArgoDB_ListHelmRepositories_Call
func (*ArgoDB_ListHelmRepositories_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_ListHelmRepositories_Call) RunAndReturn(run func(ctx context.Context) ([]*v1alpha1.Repository, error)) *ArgoDB_ListHelmRepositories_Call
type ArgoDB_ListOCIRepositories_Call ¶ added in v3.1.0
ArgoDB_ListOCIRepositories_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListOCIRepositories'
func (*ArgoDB_ListOCIRepositories_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_ListOCIRepositories_Call) Return(repositorys []*v1alpha1.Repository, err error) *ArgoDB_ListOCIRepositories_Call
func (*ArgoDB_ListOCIRepositories_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_ListOCIRepositories_Call) Run(run func(ctx context.Context)) *ArgoDB_ListOCIRepositories_Call
func (*ArgoDB_ListOCIRepositories_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_ListOCIRepositories_Call) RunAndReturn(run func(ctx context.Context) ([]*v1alpha1.Repository, error)) *ArgoDB_ListOCIRepositories_Call
type ArgoDB_ListRepoCertificates_Call ¶ added in v3.1.0
ArgoDB_ListRepoCertificates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListRepoCertificates'
func (*ArgoDB_ListRepoCertificates_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_ListRepoCertificates_Call) Return(repositoryCertificateList *v1alpha1.RepositoryCertificateList, err error) *ArgoDB_ListRepoCertificates_Call
func (*ArgoDB_ListRepoCertificates_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_ListRepoCertificates_Call) Run(run func(ctx context.Context, selector *db.CertificateListSelector)) *ArgoDB_ListRepoCertificates_Call
func (*ArgoDB_ListRepoCertificates_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_ListRepoCertificates_Call) RunAndReturn(run func(ctx context.Context, selector *db.CertificateListSelector) (*v1alpha1.RepositoryCertificateList, error)) *ArgoDB_ListRepoCertificates_Call
type ArgoDB_ListRepositories_Call ¶ added in v3.1.0
ArgoDB_ListRepositories_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListRepositories'
func (*ArgoDB_ListRepositories_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_ListRepositories_Call) Return(repositorys []*v1alpha1.Repository, err error) *ArgoDB_ListRepositories_Call
func (*ArgoDB_ListRepositories_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_ListRepositories_Call) Run(run func(ctx context.Context)) *ArgoDB_ListRepositories_Call
func (*ArgoDB_ListRepositories_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_ListRepositories_Call) RunAndReturn(run func(ctx context.Context) ([]*v1alpha1.Repository, error)) *ArgoDB_ListRepositories_Call
type ArgoDB_ListRepositoryCredentials_Call ¶ added in v3.1.0
ArgoDB_ListRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListRepositoryCredentials'
func (*ArgoDB_ListRepositoryCredentials_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_ListRepositoryCredentials_Call) Return(strings []string, err error) *ArgoDB_ListRepositoryCredentials_Call
func (*ArgoDB_ListRepositoryCredentials_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_ListRepositoryCredentials_Call) Run(run func(ctx context.Context)) *ArgoDB_ListRepositoryCredentials_Call
func (*ArgoDB_ListRepositoryCredentials_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_ListRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context) ([]string, error)) *ArgoDB_ListRepositoryCredentials_Call
type ArgoDB_ListWriteRepositories_Call ¶ added in v3.1.0
ArgoDB_ListWriteRepositories_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListWriteRepositories'
func (*ArgoDB_ListWriteRepositories_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_ListWriteRepositories_Call) Return(repositorys []*v1alpha1.Repository, err error) *ArgoDB_ListWriteRepositories_Call
func (*ArgoDB_ListWriteRepositories_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_ListWriteRepositories_Call) Run(run func(ctx context.Context)) *ArgoDB_ListWriteRepositories_Call
func (*ArgoDB_ListWriteRepositories_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_ListWriteRepositories_Call) RunAndReturn(run func(ctx context.Context) ([]*v1alpha1.Repository, error)) *ArgoDB_ListWriteRepositories_Call
type ArgoDB_ListWriteRepositoryCredentials_Call ¶ added in v3.1.0
ArgoDB_ListWriteRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListWriteRepositoryCredentials'
func (*ArgoDB_ListWriteRepositoryCredentials_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_ListWriteRepositoryCredentials_Call) Return(strings []string, err error) *ArgoDB_ListWriteRepositoryCredentials_Call
func (*ArgoDB_ListWriteRepositoryCredentials_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_ListWriteRepositoryCredentials_Call) Run(run func(ctx context.Context)) *ArgoDB_ListWriteRepositoryCredentials_Call
func (*ArgoDB_ListWriteRepositoryCredentials_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_ListWriteRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context) ([]string, error)) *ArgoDB_ListWriteRepositoryCredentials_Call
type ArgoDB_RemoveRepoCertificates_Call ¶ added in v3.1.0
ArgoDB_RemoveRepoCertificates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveRepoCertificates'
func (*ArgoDB_RemoveRepoCertificates_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_RemoveRepoCertificates_Call) Return(repositoryCertificateList *v1alpha1.RepositoryCertificateList, err error) *ArgoDB_RemoveRepoCertificates_Call
func (*ArgoDB_RemoveRepoCertificates_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_RemoveRepoCertificates_Call) Run(run func(ctx context.Context, selector *db.CertificateListSelector)) *ArgoDB_RemoveRepoCertificates_Call
func (*ArgoDB_RemoveRepoCertificates_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_RemoveRepoCertificates_Call) RunAndReturn(run func(ctx context.Context, selector *db.CertificateListSelector) (*v1alpha1.RepositoryCertificateList, error)) *ArgoDB_RemoveRepoCertificates_Call
type ArgoDB_RepositoryExists_Call ¶ added in v3.1.0
ArgoDB_RepositoryExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RepositoryExists'
func (*ArgoDB_RepositoryExists_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_RepositoryExists_Call) Return(b bool, err error) *ArgoDB_RepositoryExists_Call
func (*ArgoDB_RepositoryExists_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_RepositoryExists_Call) Run(run func(ctx context.Context, repoURL string, project string)) *ArgoDB_RepositoryExists_Call
func (*ArgoDB_RepositoryExists_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_RepositoryExists_Call) RunAndReturn(run func(ctx context.Context, repoURL string, project string) (bool, error)) *ArgoDB_RepositoryExists_Call
type ArgoDB_UpdateCluster_Call ¶ added in v3.1.0
ArgoDB_UpdateCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateCluster'
func (*ArgoDB_UpdateCluster_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_UpdateCluster_Call) Return(cluster *v1alpha1.Cluster, err error) *ArgoDB_UpdateCluster_Call
func (*ArgoDB_UpdateCluster_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_UpdateCluster_Call) Run(run func(ctx context.Context, c *v1alpha1.Cluster)) *ArgoDB_UpdateCluster_Call
func (*ArgoDB_UpdateCluster_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_UpdateCluster_Call) RunAndReturn(run func(ctx context.Context, c *v1alpha1.Cluster) (*v1alpha1.Cluster, error)) *ArgoDB_UpdateCluster_Call
type ArgoDB_UpdateRepositoryCredentials_Call ¶ added in v3.1.0
ArgoDB_UpdateRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateRepositoryCredentials'
func (*ArgoDB_UpdateRepositoryCredentials_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_UpdateRepositoryCredentials_Call) Return(repoCreds *v1alpha1.RepoCreds, err error) *ArgoDB_UpdateRepositoryCredentials_Call
func (*ArgoDB_UpdateRepositoryCredentials_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_UpdateRepositoryCredentials_Call) Run(run func(ctx context.Context, r *v1alpha1.RepoCreds)) *ArgoDB_UpdateRepositoryCredentials_Call
func (*ArgoDB_UpdateRepositoryCredentials_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_UpdateRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context, r *v1alpha1.RepoCreds) (*v1alpha1.RepoCreds, error)) *ArgoDB_UpdateRepositoryCredentials_Call
type ArgoDB_UpdateRepository_Call ¶ added in v3.1.0
ArgoDB_UpdateRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateRepository'
func (*ArgoDB_UpdateRepository_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_UpdateRepository_Call) Return(repository *v1alpha1.Repository, err error) *ArgoDB_UpdateRepository_Call
func (*ArgoDB_UpdateRepository_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_UpdateRepository_Call) Run(run func(ctx context.Context, r *v1alpha1.Repository)) *ArgoDB_UpdateRepository_Call
func (*ArgoDB_UpdateRepository_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_UpdateRepository_Call) RunAndReturn(run func(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)) *ArgoDB_UpdateRepository_Call
type ArgoDB_UpdateWriteRepositoryCredentials_Call ¶ added in v3.1.0
ArgoDB_UpdateWriteRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateWriteRepositoryCredentials'
func (*ArgoDB_UpdateWriteRepositoryCredentials_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_UpdateWriteRepositoryCredentials_Call) Return(repoCreds *v1alpha1.RepoCreds, err error) *ArgoDB_UpdateWriteRepositoryCredentials_Call
func (*ArgoDB_UpdateWriteRepositoryCredentials_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_UpdateWriteRepositoryCredentials_Call) Run(run func(ctx context.Context, r *v1alpha1.RepoCreds)) *ArgoDB_UpdateWriteRepositoryCredentials_Call
func (*ArgoDB_UpdateWriteRepositoryCredentials_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_UpdateWriteRepositoryCredentials_Call) RunAndReturn(run func(ctx context.Context, r *v1alpha1.RepoCreds) (*v1alpha1.RepoCreds, error)) *ArgoDB_UpdateWriteRepositoryCredentials_Call
type ArgoDB_UpdateWriteRepository_Call ¶ added in v3.1.0
ArgoDB_UpdateWriteRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateWriteRepository'
func (*ArgoDB_UpdateWriteRepository_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_UpdateWriteRepository_Call) Return(repository *v1alpha1.Repository, err error) *ArgoDB_UpdateWriteRepository_Call
func (*ArgoDB_UpdateWriteRepository_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_UpdateWriteRepository_Call) Run(run func(ctx context.Context, r *v1alpha1.Repository)) *ArgoDB_UpdateWriteRepository_Call
func (*ArgoDB_UpdateWriteRepository_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_UpdateWriteRepository_Call) RunAndReturn(run func(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)) *ArgoDB_UpdateWriteRepository_Call
type ArgoDB_WatchClusters_Call ¶ added in v3.1.0
ArgoDB_WatchClusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WatchClusters'
func (*ArgoDB_WatchClusters_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_WatchClusters_Call) Return(err error) *ArgoDB_WatchClusters_Call
func (*ArgoDB_WatchClusters_Call) RunAndReturn ¶ added in v3.1.0
type ArgoDB_WriteRepositoryExists_Call ¶ added in v3.1.0
ArgoDB_WriteRepositoryExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteRepositoryExists'
func (*ArgoDB_WriteRepositoryExists_Call) Return ¶ added in v3.1.0
func (_c *ArgoDB_WriteRepositoryExists_Call) Return(b bool, err error) *ArgoDB_WriteRepositoryExists_Call
func (*ArgoDB_WriteRepositoryExists_Call) Run ¶ added in v3.1.0
func (_c *ArgoDB_WriteRepositoryExists_Call) Run(run func(ctx context.Context, repoURL string, project string)) *ArgoDB_WriteRepositoryExists_Call
func (*ArgoDB_WriteRepositoryExists_Call) RunAndReturn ¶ added in v3.1.0
func (_c *ArgoDB_WriteRepositoryExists_Call) RunAndReturn(run func(ctx context.Context, repoURL string, project string) (bool, error)) *ArgoDB_WriteRepositoryExists_Call
type RepoCredsDB ¶ added in v3.3.0
RepoCredsDB is an autogenerated mock type for the RepoCredsDB type
func NewRepoCredsDB ¶ added in v3.3.0
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 v3.3.0
func (_m *RepoCredsDB) EXPECT() *RepoCredsDB_Expecter
func (*RepoCredsDB) GetRepoCredsBySecretName ¶ added in v3.3.0
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 v3.3.0
type RepoCredsDB_Expecter struct {
// contains filtered or unexported fields
}
func (*RepoCredsDB_Expecter) GetRepoCredsBySecretName ¶ added in v3.3.0
func (_e *RepoCredsDB_Expecter) GetRepoCredsBySecretName(context1 interface{}, secretName interface{}) *RepoCredsDB_GetRepoCredsBySecretName_Call
GetRepoCredsBySecretName is a helper method to define mock.On call
- context1 context.Context
- secretName string
type RepoCredsDB_GetRepoCredsBySecretName_Call ¶ added in v3.3.0
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 v3.3.0
func (_c *RepoCredsDB_GetRepoCredsBySecretName_Call) Return(repoCreds *v1alpha1.RepoCreds, err error) *RepoCredsDB_GetRepoCredsBySecretName_Call
func (*RepoCredsDB_GetRepoCredsBySecretName_Call) Run ¶ added in v3.3.0
func (_c *RepoCredsDB_GetRepoCredsBySecretName_Call) Run(run func(context1 context.Context, secretName string)) *RepoCredsDB_GetRepoCredsBySecretName_Call
func (*RepoCredsDB_GetRepoCredsBySecretName_Call) RunAndReturn ¶ added in v3.3.0
func (_c *RepoCredsDB_GetRepoCredsBySecretName_Call) RunAndReturn(run func(context1 context.Context, secretName string) (*v1alpha1.RepoCreds, error)) *RepoCredsDB_GetRepoCredsBySecretName_Call