Documentation
¶
Index ¶
Constants ¶
View Source
const (
// DefaultPath is the default path for the configuration file
DefaultPath = "PROJECT"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
Config extends model/config.Config allowing to persist changes NOTE: the existence of Config structs in both model and internal packages is to guarantee that kubebuilder is the only project that can modify the file, while plugins can still receive the configuration
func Load ¶
Load obtains the configuration from the default path allowing to persist changes (Save method)
func LoadFrom ¶
LoadFrom obtains the configuration from the provided path allowing to persist changes (Save method)
func LoadInitialized ¶
LoadInitialized calls Load() but returns helpful error messages if the config does not exist.
Click to show internal directories.
Click to hide internal directories.