Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CITemplatesConfig ¶ added in v0.1.20
type Config ¶
type Config struct { FileStoreRoot string `json:"file_store_root" yaml:"file_store_root"` DefaultDomain string `json:"default_domain" yaml:"default_domain"` Logging logger.Config `json:"logging" yaml:"logging"` CA []string `json:"ca" yaml:"ca"` Insecure bool `json:"insecure" yaml:"insecure"` TokenDefaults map[string]string `json:"token_defaults" yaml:"token_defaults"` CITemplates CITemplatesConfig `json:"ci_templates" yaml:"ci_templates"` Servers map[string]ServerCredentials `json:"-" yaml:"-"` }
Config holds the configuration for the app.
func NewConfig ¶
func NewConfig(configPath Path, log *zerolog.Logger, overrides Overrider, certsGenerator *certs.Generator) (*Config, error)
NewConfig creates the configuration by reading env & files
func (*Config) PoliciesRoot ¶ added in v0.0.33
func (*Config) ReplHistoryFile ¶ added in v0.0.33
Click to show internal directories.
Click to hide internal directories.