Documentation ¶
Overview ¶
Package config [used for configuring the package]
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = ``
DefaultConfig is the config embedded into the app that it will use if not able to fetch any other config
Functions ¶
func NewUpdaterOptionsWithFlags ¶
NewUpdaterOptionsWithFlags returns updater options initialized with command line flags.
Types ¶
type MultiConfig ¶
type MultiConfig struct {
Jobs []Config
}
MultiConfig for all jobs.
func Unmarshal ¶
func Unmarshal(body []byte, format string) *MultiConfig
Unmarshal config encoded with the given format.
type RawMultiConfig ¶
func FetchRawMultiConfig ¶
func FetchRawMultiConfig(ctx context.Context, logger *zap.Logger, paths []string, lastKnownConfig *RawMultiConfig, skipEncrypted bool) *RawMultiConfig
FetchRawMultiConfig retrieves the current config using a list of paths. Falls back to the last known config in case of errors.
Click to show internal directories.
Click to hide internal directories.