Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SaveSettingFile ¶
SaveSettingFile save the setting to a generic path
func SaveSettingFileHome ¶
SaveSettingFileHome save the setting to the home
Types ¶
type Settings ¶
type Settings struct { // Repo is --plugin-repo Repo string `yaml:"repo"` // UseKubectl use kubectl instead of k3s UseKubectl bool `yaml:"use-kubectl"` }
Settings default user setting
func GetDefaultSettings ¶
func GetDefaultSettings() *Settings
GetDefaultSettings get default settings
func LoadSettingFormHomeFile ¶
LoadSettingFormHomeFile global function to get the settings from home directory
Click to show internal directories.
Click to hide internal directories.