Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AppName = "helm-janitor" TTLKey = "janitor/ttl" ExpiryKey = "janitor/expires" AnnotationKey = "janitorAnnotations" DefaultTTL = 7 * 24 * 60 * 60 // 7 days in seconds. )
Functions ¶
func GetenvWithDefaultBool ¶
GetenvWithDefaultBool
Types ¶
type EnvConfig ¶
type EnvConfig struct { Cluster string `export:"EKS_CLUSTER_NAME" default:"development-lendi-eks-cluster"` Region string `export:"AWS_REGION" default:"ap-southeast-2"` JanitorLabel string `export:"JANITOR_LABEL" default:"helm-janitor=true"` TmpFileLocation string `export:"TMP_FILE_LOCATION" default:"/tmp"` TmpFilePrefix string `export:"TMP_FILE_PREFIX" default:"k8s-ca-*"` DebugFlag bool `export:"DEBUG" default:"false"` }
EnvConfig
Click to show internal directories.
Click to hide internal directories.