Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
RootURL string `mapstructure:"root_url"`
FrontendURL string `mapstructure:"frontend_url"`
Prod bool `mapstructure:"prod"`
APIKeyAccess bool `mapstructure:"api_key_access"`
GoogleClientID string `mapstructure:"google_client_id"`
GoogleSecretID string `mapstructure:"google_secret_id"`
GoogleAllowedDomains []string `mapstructure:"google_allowed_domains"`
APIPort string `mapstructure:"api_port"`
GrpcPort string `mapstructure:"grpc_port"`
RedisAddr string `mapstructure:"redis_addr"`
RedisPassword string `mapstructure:"redis_password"`
RedisDB int `mapstructure:"redis_db"`
S3Endpoint string `mapstructure:"s3_endpoint"`
S3Key string `mapstructure:"s3_key"`
S3Secret string `mapstructure:"s3_secret"`
S3Bucket string `mapstructure:"s3_bucket"`
S3Region string `mapstructure:"s3_region"`
S3Prefix string `mapstructure:"s3_prefix"`
EnableBEngine bool `mapstructure:"enable_bengine"`
DockerRegistryUsername string `mapstructure:"docker_registry_username"`
DockerRegistryPassword string `mapstructure:"docker_registry_password"`
HostSourceVolume string `mapstructure:"host_source_volume"`
}
Config configuration struct.
func LoadConfig ¶
LoadConfig loads mlsolid's configuration file from the path specified. It also checks for any configuration file under /etc/mlsolid.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package bengine handles running benchmarks.
|
Package bengine handles running benchmarks. |
|
Package grpcservice implements the grpc server methods
|
Package grpcservice implements the grpc server methods |
|
Package oauth inits oauth providers using goth.
|
Package oauth inits oauth providers using goth. |
Click to show internal directories.
Click to hide internal directories.