installkubedash

package
v0.0.0-...-5a14af6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ArgInteractive bool

ArgInteractive is used to populate command line argments for the Interactive.

View Source
var ArgNamespace string

ArgNamespace is used to populate command line argments for the Namespace.

View Source
var ArgQueryForAllPodsRunningSeconds int

ArgQueryForAllPodsRunningSeconds is used to populate command line argments for the QueryForAllPodsRunningSeconds.

View Source
var ArgTimeoutSeconds int

ArgTimeoutSeconds is used to populate command line argments for the TimeoutSeconds.

Functions

func FillCobraCommand

func FillCobraCommand(cmd *cobra.Command)

FillCobraCommand assigns default parameters for this command to the Cobra command.

Types

type KubeDashboardInstalling

type KubeDashboardInstalling interface {
	Install(parms Parms) error
}

KubeDashboardInstalling installs the kubernetes dashboard.

func NewKubeDashboardInstalling

func NewKubeDashboardInstalling() (KubeDashboardInstalling, error)

NewKubeDashboardInstalling uses local kubernetes configuration files in $HOME/.kub/config to connect to Kubernetes and passess back a InstallProcessRuntimeBundling.

type Parms

type Parms struct {
	Namespace                     string `validate:"min=2" arg:"shortname=n,defaultValue=kube-system" help:"Kubernetes namespace to install into."`
	TimeoutSeconds                int    `validate:"min=0" arg:"shortname=t,defaultValue=720" help:"Number of seconds to wait until the kubernetes commands give up."`
	QueryForAllPodsRunningSeconds int    `` /* 129-byte string literal not displayed */
	Interactive                   bool   `arg:"defaultValue=false" help:"Determines whether user actions are expected and waited on."`
}

Parms are the parameters for the command.

Jump to

Keyboard shortcuts

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