cmd

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2020 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PollIntervalinSeconds = 2
)

PollIntervalinSeconds ..

Variables

View Source
var Version = "DEV"

Functions

func BindAllFlags

func BindAllFlags(cmd *cobra.Command)

BindAllFlags ...

func MarkFlagsRequired

func MarkFlagsRequired(cmd *cobra.Command, names ...string)

MarkFlagsRequired ...

func NewRootCommand

func NewRootCommand(cli *CLI) *cobra.Command

NewRootCommand ...

Types

type CLI

type CLI struct {
	Endpoint    string
	Context     context.Context
	RootCommand *cobra.Command
	// contains filtered or unexported fields
}

CLI ...

func NewCLI

func NewCLI() *CLI

NewCLI sadasdsa

func (*CLI) Client

func (c *CLI) Client() *nutanix.Client

Client cli ...

func (*CLI) InitAllClusters

func (c *CLI) InitAllClusters() error

InitAllClusters ...

func (*CLI) WaitTask

func (c *CLI) WaitTask(ctx context.Context, taskUUID string, timeoutSeconds int) error

WaitTask ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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