Documentation ¶
Index ¶
- func CreateNodeGroups(ctx context.Context, opts *options.NodeGroupCreateConfig)
- func GetNodeGroupList(ctx context.Context, cluster string, args ...string) (nodeGroupList []*api.NodeGroup, err error)
- func KubeConfigPath() string
- func NewCmdApply() *cobra.Command
- func NewCmdBackup() *cobra.Command
- func NewCmdCreateCluster() *cobra.Command
- func NewCmdCreateNodeGroup() *cobra.Command
- func NewCmdDeleteCluster() *cobra.Command
- func NewCmdDeleteNodeGroup() *cobra.Command
- func NewCmdDescribeCluster(out io.Writer) *cobra.Command
- func NewCmdEditCluster(out, outErr io.Writer) *cobra.Command
- func NewCmdEditNodeGroup(out, outErr io.Writer) *cobra.Command
- func NewCmdGetCluster(out io.Writer) *cobra.Command
- func NewCmdGetNodeGroup(out io.Writer) *cobra.Command
- func NewCmdSSH() *cobra.Command
- func NewCmdUse() *cobra.Command
- func OpenShell(privateKey []byte, addr string, port int32, user string)
- func RunDescribeCluster(ctx context.Context, opts *options.ClusterDescribeConfig, out io.Writer) error
- func RunGetCluster(ctx context.Context, opts *options.ClusterGetConfig, out io.Writer) error
- func RunGetNodeGroup(ctx context.Context, opts *options.NodeGroupGetConfig, out io.Writer) error
- func RunUpdateCluster(ctx context.Context, opts *options.ClusterEditConfig, out, errOut io.Writer) error
- func RunUpdateNodeGroup(ctx context.Context, opts *options.NodeGroupEditConfig, out, errOut io.Writer) error
- func SearchLocalKubeConfig(clusterName string) (*rest.Config, error)
- func UpdateCluster(ctx context.Context, original, updated *api.Cluster) error
- func UpdateNodeGroup(ctx context.Context, original, updated *api.NodeGroup, clusterName string) error
- func UseCluster(ctx context.Context, opts *options.ClusterUseConfig, konf *api.KubeConfig)
- type ItemList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNodeGroups ¶
func CreateNodeGroups(ctx context.Context, opts *options.NodeGroupCreateConfig)
func GetNodeGroupList ¶
func KubeConfigPath ¶
func KubeConfigPath() string
func NewCmdApply ¶
func NewCmdBackup ¶
func NewCmdCreateCluster ¶
func NewCmdCreateNodeGroup ¶
func NewCmdDeleteCluster ¶
func NewCmdDeleteNodeGroup ¶
func RunDescribeCluster ¶
func RunGetCluster ¶
func RunGetNodeGroup ¶
func RunUpdateCluster ¶
func RunUpdateNodeGroup ¶
func UpdateNodeGroup ¶
func UseCluster ¶
func UseCluster(ctx context.Context, opts *options.ClusterUseConfig, konf *api.KubeConfig)
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.