Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddonConfig ¶
type AddonsConfig ¶
type AddonsConfig struct {
Addons []*AddonConfig
}
func LoadAddonsConfig ¶
func LoadAddonsConfig() (*AddonsConfig, error)
LoadAddonsConfig loads the addons configuration from the `~/.jx/addon.yml` file if it exists
func (*AddonsConfig) GetOrCreate ¶
func (c *AddonsConfig) GetOrCreate(name string) *AddonConfig
GetOrCreate returns the addon configuration for the given name or creates a new config object
func (*AddonsConfig) Save ¶
func (c *AddonsConfig) Save() error
Save saves the addons configuration to the `~/.jx/addon.yml` file
Click to show internal directories.
Click to hide internal directories.