argo

package
v0.6.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

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 ArgoUserService interface {
	GetLatestDevtronArgoCdUserToken() (string, error)
	ValidateGitOpsAndGetOrUpdateArgoCdUserDetail() string
	GetOrUpdateArgoCdUserDetail() string
}

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 connection.ArgoCDConnectionManager, versionService argocdServer.VersionService, k8sUtil *k8s.K8sUtil) (*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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL