Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Logging struct { Level string `env:"LOG_LEVEL,default=info"` Formatter string `env:"LOG_FORMATTER,default=json"` } CollectionInterval string `env:"COLLECT_INTERVAL,default=1h"` UploadInventory bool `env:"UPLOAD_INVENTORY,default=true"` Impersonate string `env:"IMPERSONATE"` ServerAPIEndpoint string `env:"SERVER_API_ENDPOINT,default=http://localhost:8086"` HTTPPort string `env:"HTTP_PORT,default=8087"` HTTPPortMeta string `env:"HTTP_PORT_META,default=8088"` TLSCrt string `env:"TLS_CRT,default=/etc/certificates/tls.crt"` TLSKey string `env:"TLS_KEY,default=/etc/certificates/tls.key"` AuthEnabled bool `env:"AUTH_ENABLED,default=true"` Debug bool `env:"DEBUG,default=false"` Extras env.EnvSet }
Click to show internal directories.
Click to hide internal directories.