Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetImageTagFromImage ¶ added in v0.6.25
Types ¶
type ACDAuthConfig ¶
type ACDAuthConfig struct { ACDUsername string `env:"ACD_USERNAME" envDefault:"admin"` ACDPassword string `env:"ACD_PASSWORD" ` ACDConfigMapName string `env:"ACD_CM" envDefault:"argocd-cm"` ACDConfigMapNamespace string `env:"ACD_NAMESPACE" envDefault:"devtroncd"` GitOpsSecretName string `env:"GITOPS_SECRET_NAME" envDefault:"devtron-gitops-secret"` ResourceListForReplicas string `env:"RESOURCE_LIST_FOR_REPLICAS" envDefault:"Deployment,Rollout,StatefulSet,ReplicaSet"` ResourceListForReplicasBatchSize int `env:"RESOURCE_LIST_FOR_REPLICAS_BATCH_SIZE" envDefault:"5"` }
func GetACDAuthConfig ¶
func GetACDAuthConfig() (*ACDAuthConfig, error)
type TokenCache ¶
type TokenCache struct {
// contains filtered or unexported fields
}
func NewTokenCache ¶
func NewTokenCache(logger *zap.SugaredLogger, aCDAuthConfig *ACDAuthConfig, userAuthService user.UserAuthService) *TokenCache
func (*TokenCache) BuildACDSynchContext ¶
func (impl *TokenCache) BuildACDSynchContext() (acdContext context.Context, err error)
Click to show internal directories.
Click to hide internal directories.