Documentation ¶
Overview ¶
Package config provides the frizbee configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ContextConfigKey = contextConfigKey{}
ContextConfigKey is the context key for the configuration. nolint:gochecknoglobals // this is a context key
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
GHActions GHActions `yaml:"ghactions" mapstructure:"ghactions"`
}
Config is the frizbee configuration.
func FromContext ¶
FromContext returns the configuration from the context.
func ParseConfigFile ¶
ParseConfigFile parses a configuration file.
func ParseConfigFileFromFS ¶ added in v0.0.11
ParseConfigFileFromFS parses a configuration file from a filesystem.
Click to show internal directories.
Click to hide internal directories.