cmd

package
v0.0.0-...-20cc175 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultConfigFile = "appliance-credential.yml"
)

Variables

View Source
var (
	Debugmode = false
)

Functions

func EditLIGUplinkSetCmd

func EditLIGUplinkSetCmd(c *oneview.CLIOVClient) *cobra.Command

func EnclosureLess

func EnclosureLess(i, j UplinkPort) bool

func Execute

func Execute()

Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func IOBayLess

func IOBayLess(i, j UplinkPort) bool

func NewEditCmd

func NewEditCmd() *cobra.Command

func NewEditEnclosureCmd

func NewEditEnclosureCmd(c *oneview.CLIOVClient) *cobra.Command

func NewEditLIGCmd

func NewEditLIGCmd(c *oneview.CLIOVClient) *cobra.Command

func NewEditServerCmd

func NewEditServerCmd(c *oneview.CLIOVClient) *cobra.Command

func NewLoginCmd

func NewLoginCmd() *cobra.Command

func NewResetCmd

func NewResetCmd() *cobra.Command

func NewShowCmd

func NewShowCmd() *cobra.Command

NewShowCmd creates a cobra command with desired output destination

func NewShowDeploymentServerCmd

func NewShowDeploymentServerCmd(c *oneview.CLIOVClient) *cobra.Command

func NewShowEGCmd

func NewShowEGCmd(c *oneview.CLIOVClient) *cobra.Command

func NewShowEncCmd

func NewShowEncCmd(c *oneview.CLIOVClient) *cobra.Command

func NewShowICCmd

func NewShowICCmd(c *oneview.CLIOVClient) *cobra.Command

func NewShowLECmd

func NewShowLECmd(c *oneview.CLIOVClient) *cobra.Command

func NewShowLICmd

func NewShowLICmd(c *oneview.CLIOVClient) *cobra.Command

func NewShowLIGCmd

func NewShowLIGCmd(c *oneview.CLIOVClient) *cobra.Command

func NewShowMACCmd

func NewShowMACCmd(c *oneview.CLIOVClient) *cobra.Command

func NewShowNetworkCmd

func NewShowNetworkCmd(c *oneview.CLIOVClient) *cobra.Command

func NewShowSPCmd

func NewShowSPCmd(c *oneview.CLIOVClient) *cobra.Command

func NewShowSPTemplateCmd

func NewShowSPTemplateCmd(c *oneview.CLIOVClient) *cobra.Command

func NewShowServerHWCmd

func NewShowServerHWCmd(c *oneview.CLIOVClient) *cobra.Command

func NewShowStreamerCmd

func NewShowStreamerCmd(c *oneview.CLIOVClient) *cobra.Command

func NewShowUplinkSetCmd

func NewShowUplinkSetCmd(c *oneview.CLIOVClient) *cobra.Command

func ResetDeviceBayCmd

func ResetDeviceBayCmd(c *oneview.CLIOVClient) *cobra.Command

func SetServerPowerCmd

func SetServerPowerCmd(c *oneview.CLIOVClient) *cobra.Command

func StreamerShowApplianceCmd

func StreamerShowApplianceCmd(c *oneview.CLIOVClient) *cobra.Command

func StreamerShowArtifactCmd

func StreamerShowArtifactCmd(c *oneview.CLIOVClient) *cobra.Command

func StreamerShowDeploymentPlanCmd

func StreamerShowDeploymentPlanCmd(c *oneview.CLIOVClient) *cobra.Command

Types

type EnclosureIOBay

type EnclosureIOBay struct {
	Enclosure int `sort:"1"`
	IOBay     int `sort:"2"`
}

type LIGModule

type LIGModule struct {
	EnclosureIOBay
	ModelName   string
	ModelNumber string
}

type ModulePortMapping

type ModulePortMapping struct {
	ModelName   string
	ModelNumber string
	Mapping     map[int]string
}

type UplinkPort

type UplinkPort struct {
	EnclosureIOBay
	ModelName   string
	ModelNumber string
	Port        int `sort:"3"`
	PortShown   string
}

Jump to

Keyboard shortcuts

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