Documentation ¶
Index ¶
- type Config
- func (c *Config) AppendLoadDir(priority uint32, paths ...string) error
- func (c *Config) DebugLogger() logr.Logger
- func (c *Config) DefaultFlagSet() *flag.FlagSet
- func (c *Config) DefaultLogger() logr.Logger
- func (c *Config) DetectWorkspace() (string, error)
- func (c *Config) Environment() error
- func (c *Config) LoadFromDefaultDirs()
- func (c *Config) LoadFromSystemDir() error
- func (c *Config) LoadFromUserDir() error
- func (c *Config) LoadFromWorkspace() error
- func (c *Config) LoggerWithLevel(v int) logr.Logger
- func (c *Config) PopulateFlagSet(fs *flag.FlagSet)
- func (c *Config) SetEnvKeyPrefix(p string)
- func (c *Config) SetLogger(logger logr.Logger) logr.Logger
- func (c *Config) Unmarshal(filename string, data []byte) error
- func (c *Config) UnmarshalBase64(data []byte) error
- func (c *Config) UnmarshalBinary(data []byte) error
- func (c *Config) UnmarshalJSON(data []byte) error
- func (c *Config) UnmarshalJsonnet(filename string, data []byte) error
- func (c *Config) UnmarshalText(data []byte) error
- func (c *Config) UnmarshalToml(filename string, data []byte) error
- func (c *Config) UnmarshalYAML(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
func (*Config) AppendLoadDir ¶
func (*Config) DebugLogger ¶
func (*Config) DefaultFlagSet ¶
FlagSet returns a flag.FlagSet instance for the config
func (*Config) DefaultLogger ¶
func (*Config) DetectWorkspace ¶
func (*Config) Environment ¶
func (*Config) LoadFromDefaultDirs ¶
func (c *Config) LoadFromDefaultDirs()
func (*Config) LoadFromSystemDir ¶
func (*Config) LoadFromUserDir ¶
func (*Config) LoadFromWorkspace ¶
func (*Config) PopulateFlagSet ¶
func (*Config) SetEnvKeyPrefix ¶
func (*Config) UnmarshalBase64 ¶
func (*Config) UnmarshalBinary ¶
func (*Config) UnmarshalJSON ¶
func (*Config) UnmarshalJsonnet ¶
func (*Config) UnmarshalText ¶
func (*Config) UnmarshalYAML ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.