cmds

package
v0.0.0-...-7759ae7 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2018 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNodeGroups

func CreateNodeGroups(ctx context.Context, opts *options.NodeGroupCreateConfig)

func GetNodeGroupList

func GetNodeGroupList(ctx context.Context, cluster string, args ...string) (nodeGroupList []*api.NodeGroup, err error)

func KubeConfigPath

func KubeConfigPath() string

func NewCmdApply

func NewCmdApply() *cobra.Command

func NewCmdBackup

func NewCmdBackup() *cobra.Command

func NewCmdCreateCluster

func NewCmdCreateCluster() *cobra.Command

func NewCmdCreateNodeGroup

func NewCmdCreateNodeGroup() *cobra.Command

func NewCmdDeleteCluster

func NewCmdDeleteCluster() *cobra.Command

func NewCmdDeleteNodeGroup

func NewCmdDeleteNodeGroup() *cobra.Command

func NewCmdDescribeCluster

func NewCmdDescribeCluster(out io.Writer) *cobra.Command

func NewCmdEditCluster

func NewCmdEditCluster(out, outErr io.Writer) *cobra.Command

func NewCmdEditNodeGroup

func NewCmdEditNodeGroup(out, outErr io.Writer) *cobra.Command

func NewCmdGetCluster

func NewCmdGetCluster(out io.Writer) *cobra.Command

func NewCmdGetNodeGroup

func NewCmdGetNodeGroup(out io.Writer) *cobra.Command

func NewCmdSSH

func NewCmdSSH() *cobra.Command

func NewCmdUse

func NewCmdUse() *cobra.Command

func RunDescribeCluster

func RunDescribeCluster(ctx context.Context, opts *options.ClusterDescribeConfig, out io.Writer) error

func RunGetCluster

func RunGetCluster(ctx context.Context, opts *options.ClusterGetConfig, out io.Writer) error

func RunGetNodeGroup

func RunGetNodeGroup(ctx context.Context, opts *options.NodeGroupGetConfig, out io.Writer) error

func RunUpdateCluster

func RunUpdateCluster(ctx context.Context, opts *options.ClusterEditConfig, out, errOut io.Writer) error

func RunUpdateNodeGroup

func RunUpdateNodeGroup(ctx context.Context, opts *options.NodeGroupEditConfig, out, errOut io.Writer) error

func SearchLocalKubeConfig

func SearchLocalKubeConfig(clusterName string) (*rest.Config, error)

func UpdateCluster

func UpdateCluster(ctx context.Context, original, updated *api.Cluster) error

func UpdateNodeGroup

func UpdateNodeGroup(ctx context.Context, original, updated *api.NodeGroup, clusterName string) error

func UseCluster

func UseCluster(ctx context.Context, opts *options.ClusterUseConfig, konf *api.KubeConfig)

Types

type ItemList

type ItemList struct {
	Items []map[string]interface{} `json:"items,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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