Documentation ¶
Index ¶
Constants ¶
View Source
const ( DEVTRON_USER = "devtron" DEVTRONCD_NAMESPACE = "devtroncd" ARGOCD_CM = "argocd-cm" ARGOCD_SECRET = "argocd-secret" ARGO_USER_APIKEY_CAPABILITY = "apiKey" ARGO_USER_LOGIN_CAPABILITY = "login" DEVTRON_ARGOCD_USERNAME_KEY = "DEVTRON_ACD_USER_NAME" DEVTRON_ARGOCD_USER_PASSWORD_KEY = "DEVTRON_ACD_USER_PASSWORD" DEVTRON_ARGOCD_TOKEN_KEY = "DEVTRON_ACD_TOKEN" DEVTRON_CM = "devtron-cm" DEVTRON_SECRET = "devtron-secret" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArgoUserService ¶
type ArgoUserServiceImpl ¶
type ArgoUserServiceImpl struct {
// contains filtered or unexported fields
}
func NewArgoUserServiceImpl ¶
func NewArgoUserServiceImpl(Logger *zap.SugaredLogger, clusterService cluster.ClusterService, devtronSecretConfig *util2.DevtronSecretConfig, runTimeConfig *client.RuntimeConfig, gitOpsRepository repository.GitOpsConfigRepository, argoCDConnectionManager argocdServer.ArgoCDConnectionManager, versionService argocdServer.VersionService) (*ArgoUserServiceImpl, error)
func (*ArgoUserServiceImpl) GetLatestDevtronArgoCdUserToken ¶
func (impl *ArgoUserServiceImpl) GetLatestDevtronArgoCdUserToken() (string, error)
note: this function also called for no gitops case, where apps are installed via helm
func (*ArgoUserServiceImpl) GetOrUpdateArgoCdUserDetail ¶ added in v0.5.3
func (impl *ArgoUserServiceImpl) GetOrUpdateArgoCdUserDetail() string
func (*ArgoUserServiceImpl) ValidateGitOpsAndGetOrUpdateArgoCdUserDetail ¶ added in v0.5.3
func (impl *ArgoUserServiceImpl) ValidateGitOpsAndGetOrUpdateArgoCdUserDetail() string
type HelmUserServiceImpl ¶
type HelmUserServiceImpl struct {
// contains filtered or unexported fields
}
func NewHelmUserServiceImpl ¶
func NewHelmUserServiceImpl(Logger *zap.SugaredLogger) (*HelmUserServiceImpl, error)
func (*HelmUserServiceImpl) GetLatestDevtronArgoCdUserToken ¶
func (impl *HelmUserServiceImpl) GetLatestDevtronArgoCdUserToken() (string, error)
func (*HelmUserServiceImpl) GetOrUpdateArgoCdUserDetail ¶ added in v0.5.3
func (impl *HelmUserServiceImpl) GetOrUpdateArgoCdUserDetail() string
func (*HelmUserServiceImpl) ValidateGitOpsAndGetOrUpdateArgoCdUserDetail ¶ added in v0.5.3
func (impl *HelmUserServiceImpl) ValidateGitOpsAndGetOrUpdateArgoCdUserDetail() string
Click to show internal directories.
Click to hide internal directories.