installmodeler

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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 InstallModeling

type InstallModeling interface {
	Install(parms Parms) error
}

NamespaceDeleting deletes the namespace and waits for the results up to a timeout period.

func NewInstallModeling

func NewInstallModeling() (InstallModeling, error)

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

type Parms

type Parms struct {
	Namespace                     string `validate:"min=2" arg:"required=true,shortname=n" 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 */
}

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