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