Documentation ¶
Index ¶
- func CheckVersion(cfg *models.Config) error
- func LoadConfig(runAsAdmin bool, apiKey string, disableCache bool) *models.Config
- func LoadPrivateConfig(cfg *models.Config, apiKey string)
- func SaveConfig(cfg *models.Config)
- func SavePrivateConfig(cfg *models.Config)
- func UpdateBuilderVersion(cfg *models.Config)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckVersion ¶
CheckVersion is responsible for displaying an warning message if the version of kibble is newer than the version the template was built with
func LoadConfig ¶
LoadConfig loads the configuration from disk. If runAsAdmin it will attempt to load the private config
func LoadPrivateConfig ¶
LoadPrivateConfig is responsible for loading the private configuration if it exists
func SavePrivateConfig ¶
SavePrivateConfig - saves any private config
func UpdateBuilderVersion ¶
UpdateBuilderVersion updates the build with version with the current version and saves the config
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.