Documentation ¶
Overview ¶
Package dynconfig supports dynamic configuration for pkgsite services. Dynamic configuration is read from a file and can change over the lifetime of the process.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamicConfig ¶
type DynamicConfig struct {
Experiments []*internal.Experiment
}
DynamicConfig holds configuration that can change over the lifetime of the process. It is loaded from a GCS file or other external source.
func Parse ¶
func Parse(yamlData []byte) (_ *DynamicConfig, err error)
Parse parses yamlData as a YAML description of DynamicConfig.
Click to show internal directories.
Click to hide internal directories.