Documentation ¶
Index ¶
- func ClusterCommand() cli.Command
- func DeleteCommand() cli.Command
- func FormatEndpoint(data interface{}) string
- func FormatIPAddresses(data interface{}) string
- func FormatJSON(data interface{}) (string, error)
- func GetClient(ctx *cli.Context) (*cliclient.MasterClient, error)
- func KubectlCommand() cli.Command
- func LoginCommand() cli.Command
- func NamespaceCommand() cli.Command
- func NodeCommand() cli.Command
- func ProjectCommand() cli.Command
- func PromptCommand() cli.Command
- func PsCommand() cli.Command
- func RandomName() string
- func RunCommand() cli.Command
- func SSHCommand() cli.Command
- func SimpleFormat(values [][]string) (string, string)
- func SplitOnColon(s string) []string
- type CACertResponse
- type ClusterData
- type LoginData
- type NamespaceData
- type NodeData
- type PSHolder
- type ProjectData
- type TableWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterCommand ¶
func DeleteCommand ¶
func FormatEndpoint ¶
func FormatEndpoint(data interface{}) string
func FormatIPAddresses ¶
func FormatIPAddresses(data interface{}) string
func FormatJSON ¶
func KubectlCommand ¶
func LoginCommand ¶
func NamespaceCommand ¶
func NodeCommand ¶
func ProjectCommand ¶
func PromptCommand ¶
func RandomName ¶
func RandomName() string
func RunCommand ¶
func SSHCommand ¶
func SimpleFormat ¶
func SplitOnColon ¶
Types ¶
type CACertResponse ¶
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 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{})
Click to show internal directories.
Click to hide internal directories.