Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // BuildVersion will be overridden by the build system BuildVersion = "dev" // BuildCommit will be overridden by the build system BuildCommit = "" )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Port int GCPProjectID string GCPServiceAcc string Database *Database Publisher *Publisher ToleranceURL string UniqueConstraintURL string GitAuthPrivateKeyPath string //MultiTenancyEnabled this will affect how tolerance spec files stored and read //if MULTI_TENANCY_ENABLED env variable is NOT present the value will be false MultiTenancyEnabled bool //PodName name of replication pod PodName string //Deployment name of deployment Deployment string //Environment environment name where the instance deployed Environment string }
Config is service config
func LoadConfig ¶
func LoadConfig(confFile *ConfigFile) (*Config, error)
LoadConfig load configuration
Click to show internal directories.
Click to hide internal directories.