cli

package
v0.9.17 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2020 License: Apache-2.0 Imports: 33 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