Documentation ¶
Index ¶
Constants ¶
View Source
const (
Anchore = "anchore"
)
Variables ¶
This section is empty.
Functions ¶
func IsAddonEnabled ¶ added in v1.1.35
IsAddonEnabled returns true if the given addon is enabled
func ProviderAccessTokenURL ¶ added in v1.1.69
Types ¶
type AddonConfig ¶
AddonConfig Addon Configration
type AddonsConfig ¶
type AddonsConfig struct {
Addons []*AddonConfig
}
AddonsConfig Addons Configuration
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.