addon

package
Version: v1.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2017 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AddonsCmd = &cobra.Command{
	Use:     "addons SUBCOMMAND [flags]",
	Aliases: []string{"addon"},
	Short:   "Manages Minishift add-ons.",
	Long:    "Manages Minishift add-ons. Use the sub-commands to install, list, enable or disable Minishift add-ons.",
	Run: func(cmd *cobra.Command, args []string) {
		cmd.Help()
	},
}

Functions

func GetAddOnConfiguration added in v1.2.0

func GetAddOnConfiguration() map[string]*addon.AddOnConfig

GetAddOnConfiguration reads the Minishift configuration in $MINISHIFT_HOME/config/config.json related to addons and returns a map of addon names to AddOnConfig

func GetAddOnManager

func GetAddOnManager() *manager.AddOnManager

GetAddOnManager returns the addon manager

func RemoveAddOnFromConfig added in v1.6.0

func RemoveAddOnFromConfig(addOnName string)

RemoveAddOnFromConfig remove given add-on name entry from config file

func WriteAddOnConfig added in v1.2.0

func WriteAddOnConfig(addOnConfigMap map[string]*addon.AddOnConfig)

Types

type DisplayAddOn

type DisplayAddOn struct {
	Name        string
	Description string
	Status      string
	Priority    int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL