Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //TerraformerURL is a listening URL for Terraformer module TerraformerURL = os.Getenv("TERRAFORMER_HOSTNAME") + ":" + os.Getenv("TERRAFORMER_PORT") //AnsiblerURL is a listening URL for Ansibler module AnsiblerURL = os.Getenv("ANSIBLER_HOSTNAME") + ":" + os.Getenv("ANSIBLER_PORT") //KubeElevenURL is a listening URL for KubeEleven module KubeElevenURL = os.Getenv("KUBE_ELEVEN_HOSTNAME") + ":" + os.Getenv("KUBE_ELEVEN_PORT") //ManagerURL is a listening URL for Manager module ManagerURL = os.Getenv("MANAGER_HOSTNAME") + ":" + os.Getenv("MANAGER_PORT") //OperatorURL is a listening URL for claudie-operator connection OperatorURL = os.Getenv("OPERATOR_HOSTNAME") + ":" + os.Getenv("OPERATOR_PORT") //DatabaseURL is a listening URL for Database DatabaseURL = os.Getenv("DATABASE_URL") //KuberURL is a listening URL for Kuber module KuberURL = os.Getenv("KUBER_HOSTNAME") + ":" + os.Getenv("KUBER_PORT") //BucketEndpoint is a listening URL for Minio deployment //If not defined it will use and external S3 Bucket, //by using AWS_REGION and BUCKET_NAME variables BucketEndpoint = os.Getenv("BUCKET_URL") //BucketName is the name of the bucket use for state //If not defined it will default to "claudie-tf-state" BucketName = os.Getenv("BUCKET_NAME") //DynamoEndpoint is a listening URL for DynamoDB local deployment //If not defined it will use and external DynamoDB, //by using AWS_REGION and DYNAMO_TABLE_NAME variables DynamoEndpoint = os.Getenv("DYNAMO_URL") //DynamoTable is the name of the DB table used for state locking //If not defined it will default to "claudie" DynamoTable = os.Getenv("DYNAMO_TABLE_NAME") // AwsAccesskeyId is part of credentials needed for connecting to bucket and dynamoDB AwsAccesskeyId = os.Getenv("AWS_ACCESS_KEY_ID") // AwsSecretAccessKey is part of credentials needed for connecting to bucket and dynamoDB AwsSecretAccessKey = os.Getenv("AWS_SECRET_ACCESS_KEY") // AwsRegion is part of credentials needed for connecting to bucket and dynamoDB AwsRegion = os.Getenv("AWS_REGION") //Namespace of current deployment //NOTE: namespace should be left empty if env var not been set Namespace = os.Getenv("NAMESPACE") //Golang log level LogLevel = os.Getenv("GOLANG_LOG") )
Hostnames and ports on what services are listening
Functions ¶
func GetOrDefault ¶ added in v0.9.1
GetOrDefault take a string representing environment variable as an argument, and a default value If the environment variable is not defined, it returns the provided default value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.