Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultConfigFilename = ".devctl.yaml" DefaultOverrideFilename = ".devctl.override.yaml" )
Variables ¶
This section is empty.
Functions ¶
func DefaultOverridePath ¶ added in v0.0.6
func DefaultPath ¶
Types ¶
type File ¶
type File struct {
Profile ProfileBlock `yaml:"profile,omitempty"`
Profiles map[string]*Profile `yaml:"profiles,omitempty"`
Plugins []Plugin `yaml:"plugins"`
Strictness string `yaml:"strictness,omitempty"` // "warn" | "error"
}
func LoadFromFile ¶
func LoadOptional ¶
func LoadStacked ¶ added in v0.0.6
func (*File) GetProfile ¶ added in v0.0.6
func (*File) ResolveProfile ¶ added in v0.0.6
func (*File) ValidateProfile ¶ added in v0.0.6
type ProfileBlock ¶ added in v0.0.6
type ProfileBlock struct {
Active string `yaml:"active,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.