addon

package
v1.34.3 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2020 License: Apache-2.0 Imports: 27 Imported by: 8

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]*addOnConfig.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

Types

type DisplayAddOn

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL