Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultPath is the default path for the configuration file DefaultPath = "PROJECT" // DefaultVersion is the version which will be used when the version flag is not provided DefaultVersion = config.Version2 )
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)
Click to show internal directories.
Click to hide internal directories.