Documentation ¶
Overview ¶
Package config stores all server application settings
Package config stores all server application settings
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NAMESPACE = os.Getenv("CRD_NAMESPACE") NAME = os.Getenv("CRD_NAME") JOBNAME_ANNOTATION = "before-job-name" JOBNAMESPACE_ANNOTATION = "before-job-namespace" SERVICE_NAME = "vald-benchmark-job" )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { config.GlobalConfig `json:",inline" yaml:",inline"` // Server represent all server configuration Server *config.Servers `json:"server_config" yaml:"server_config"` // Observability represent observability configurations Observability *config.Observability `json:"observability" yaml:"observability"` // Job represents benchmark job configurations Job *config.BenchmarkJob `json:"job" yaml:"job"` // K8sClient represents kubernetes clients K8sClient client.Client `json:"k8s_client" yaml:"k8s_client"` }
Config represent a application setting data content (config.yaml). In K8s environment, this configuration is stored in K8s ConfigMap.
type GlobalConfig ¶
type GlobalConfig = config.GlobalConfig
GlobalConfig is type alias for config.GlobalConfig.
Click to show internal directories.
Click to hide internal directories.