cmd

package
v1.0.0-alpha9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClusterCommand

func ClusterCommand() cli.Command

func DeleteCommand

func DeleteCommand() cli.Command

func FormatEndpoint

func FormatEndpoint(data interface{}) string

func FormatIPAddresses

func FormatIPAddresses(data interface{}) string

func FormatJSON

func FormatJSON(data interface{}) (string, error)

func GetClient

func GetClient(ctx *cli.Context) (*cliclient.MasterClient, error)

func KubectlCommand

func KubectlCommand() cli.Command

func LoginCommand

func LoginCommand() cli.Command

func NamespaceCommand

func NamespaceCommand() cli.Command

func NodeCommand

func NodeCommand() cli.Command

func ProjectCommand

func ProjectCommand() cli.Command

func PromptCommand

func PromptCommand() cli.Command

func PsCommand

func PsCommand() cli.Command

func RandomName

func RandomName() string

func RunCommand

func RunCommand() cli.Command

func SSHCommand

func SSHCommand() cli.Command

func SimpleFormat

func SimpleFormat(values [][]string) (string, string)

func SplitOnColon

func SplitOnColon(s string) []string

Types

type CACertResponse

type CACertResponse struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type ClusterData

type ClusterData struct {
	Cluster managementClient.Cluster
}

type LoginData

type LoginData struct {
	Project     managementClient.Project
	Index       int
	ClusterName string
}

type NamespaceData

type NamespaceData struct {
	Namespace clusterClient.Namespace
}

type NodeData

type NodeData struct {
	Node managementClient.Node
	Name string
	Pool string
}

type PSHolder

type PSHolder struct {
	NameSpace string
	Name      string
	Type      string
	State     string
	Image     string
	Scale     string
}

type ProjectData

type ProjectData struct {
	Project managementClient.Project
}

type TableWriter

type TableWriter struct {
	HeaderFormat string
	ValueFormat  string

	Writer *tabwriter.Writer
	// contains filtered or unexported fields
}

func NewTableWriter

func NewTableWriter(values [][]string, ctx *cli.Context) *TableWriter

func (*TableWriter) Close

func (t *TableWriter) Close() error

func (*TableWriter) Err

func (t *TableWriter) Err() error

func (*TableWriter) Write

func (t *TableWriter) Write(obj interface{})

Jump to

Keyboard shortcuts

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