Documentation
¶
Index ¶
- func GetHostAndFullRepoPath(url string, repo string) (string, string, error)
- type RepositoryCredsK8sClient
- type RepositoryCredsK8sClientImpl
- func (impl *RepositoryCredsK8sClientImpl) AddChartRepository(argoK8sConfig *argoApplication.ArgoK8sConfig, ...) error
- func (impl *RepositoryCredsK8sClientImpl) AddOrUpdateOCIRegistry(argoK8sConfig *argoApplication.ArgoK8sConfig, username, password string, ...) error
- func (impl *RepositoryCredsK8sClientImpl) CreateSecretDataForHelmChart(name, username, password, repoURL string, ...) (secretData map[string]string)
- func (impl *RepositoryCredsK8sClientImpl) DeleteChartRepository(argoK8sConfig *argoApplication.ArgoK8sConfig, name, url string) error
- func (impl *RepositoryCredsK8sClientImpl) DeleteChartSecret(argoK8sConfig *argoApplication.ArgoK8sConfig, secretName string) error
- func (impl *RepositoryCredsK8sClientImpl) DeleteOCIRegistry(argoK8sConfig *argoApplication.ArgoK8sConfig, registryURL, repo string, ...) error
- func (impl *RepositoryCredsK8sClientImpl) UpdateChartRepository(argoK8sConfig *argoApplication.ArgoK8sConfig, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RepositoryCredsK8sClient ¶ added in v1.2.2
type RepositoryCredsK8sClient interface { AddOrUpdateOCIRegistry(argoK8sConfig *argoApplication.ArgoK8sConfig, username, password string, uniqueId int, registryUrl, repo string, isPublic bool) error DeleteOCIRegistry(argoK8sConfig *argoApplication.ArgoK8sConfig, registryURL, repo string, ociRegistryId int) error AddChartRepository(argoK8sConfig *argoApplication.ArgoK8sConfig, request bean.ChartRepositoryAddRequest) error UpdateChartRepository(argoK8sConfig *argoApplication.ArgoK8sConfig, request bean.ChartRepositoryUpdateRequest) error DeleteChartRepository(argoK8sConfig *argoApplication.ArgoK8sConfig, name, url string) error }
type RepositoryCredsK8sClientImpl ¶ added in v1.2.2
type RepositoryCredsK8sClientImpl struct { K8sService k8s.K8sService // contains filtered or unexported fields }
func NewRepositoryCredsK8sClientImpl ¶ added in v1.2.2
func NewRepositoryCredsK8sClientImpl( logger *zap.SugaredLogger, K8sService k8s.K8sService, ) *RepositoryCredsK8sClientImpl
func (*RepositoryCredsK8sClientImpl) AddChartRepository ¶ added in v1.2.2
func (impl *RepositoryCredsK8sClientImpl) AddChartRepository(argoK8sConfig *argoApplication.ArgoK8sConfig, request bean.ChartRepositoryAddRequest) error
func (*RepositoryCredsK8sClientImpl) AddOrUpdateOCIRegistry ¶ added in v1.2.2
func (impl *RepositoryCredsK8sClientImpl) AddOrUpdateOCIRegistry(argoK8sConfig *argoApplication.ArgoK8sConfig, username, password string, uniqueId int, registryUrl, repo string, isPublic bool) error
func (*RepositoryCredsK8sClientImpl) CreateSecretDataForHelmChart ¶ added in v1.2.2
func (impl *RepositoryCredsK8sClientImpl) CreateSecretDataForHelmChart(name, username, password, repoURL string, allowInsecureConnection, isPrivateChart bool) (secretData map[string]string)
Private helm charts credentials are saved as secrets
func (*RepositoryCredsK8sClientImpl) DeleteChartRepository ¶ added in v1.2.2
func (impl *RepositoryCredsK8sClientImpl) DeleteChartRepository(argoK8sConfig *argoApplication.ArgoK8sConfig, name, url string) error
func (*RepositoryCredsK8sClientImpl) DeleteChartSecret ¶ added in v1.2.2
func (impl *RepositoryCredsK8sClientImpl) DeleteChartSecret(argoK8sConfig *argoApplication.ArgoK8sConfig, secretName string) error
func (*RepositoryCredsK8sClientImpl) DeleteOCIRegistry ¶ added in v1.2.2
func (impl *RepositoryCredsK8sClientImpl) DeleteOCIRegistry(argoK8sConfig *argoApplication.ArgoK8sConfig, registryURL, repo string, ociRegistryId int) error
func (*RepositoryCredsK8sClientImpl) UpdateChartRepository ¶ added in v1.2.2
func (impl *RepositoryCredsK8sClientImpl) UpdateChartRepository(argoK8sConfig *argoApplication.ArgoK8sConfig, request bean.ChartRepositoryUpdateRequest) error
Click to show internal directories.
Click to hide internal directories.