cli

package
v0.9.26 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2020 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	KubernetesConfigFlags *genericclioptions.ConfigFlags
)

Functions

func InitAndExecute

func InitAndExecute()

func RootCmd

func RootCmd() *cobra.Command

func VersionCmd added in v0.9.14

func VersionCmd() *cobra.Command

Types

type UploadPreflightError added in v0.9.15

type UploadPreflightError struct {
	Error string `json:"error"`
}

type UploadPreflightResult

type UploadPreflightResult struct {
	IsFail bool `json:"isFail,omitempty"`
	IsWarn bool `json:"isWarn,omitempty"`
	IsPass bool `json:"isPass,omitempty"`

	Title   string `json:"title"`
	Message string `json:"message"`
	URI     string `json:"uri,omitempty"`
}

type UploadPreflightResults

type UploadPreflightResults struct {
	Results []*UploadPreflightResult `json:"results,omitempty"`
	Errors  []*UploadPreflightError  `json:"errors,omitempty"`
}

Jump to

Keyboard shortcuts

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