Documentation
¶
Index ¶
- func NewClustersCmd() *cobra.Command
- func NewCreateCmd() *cobra.Command
- func NewDeleteCmd() *cobra.Command
- func NewGetCmd() *cobra.Command
- func NewKubeconfigCmd() *cobra.Command
- func NewListCmd() *cobra.Command
- func NewVersionsCmd() *cobra.Command
- type Cluster
- type ClusterList
- type ClusterSummary
- type CreateClusterOperation
- type DeleteClusterOperation
- type GetClusterOperation
- type KubeconfigOperation
- type ListClusterOperation
- type ListVersionsOperation
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClustersCmd ¶
NewClustersCmd returns the `kubernetes clusters` command group.
func NewCreateCmd ¶
func NewDeleteCmd ¶
func NewKubeconfigCmd ¶
func NewListCmd ¶
func NewVersionsCmd ¶
NewVersionsCmd returns the `kubernetes versions` command group.
Types ¶
type Cluster ¶
type Cluster struct {
components.KubernetesClusterData
}
Cluster wraps the full SDK cluster data returned by the get endpoint.
func (*Cluster) GetData ¶
func (m *Cluster) GetData() []renderer.ResponseData
type ClusterList ¶
type ClusterList struct {
Data []*ClusterSummary
}
ClusterList is a renderable collection of clusters (list/summary shape).
func (*ClusterList) GetData ¶
func (m *ClusterList) GetData() []renderer.ResponseData
type ClusterSummary ¶
type ClusterSummary struct {
components.KubernetesClusterSummaryData
}
ClusterSummary wraps the SDK summary data returned by the list endpoint.
func (*ClusterSummary) GetData ¶
func (m *ClusterSummary) GetData() []renderer.ResponseData
func (*ClusterSummary) TableRow ¶
func (m *ClusterSummary) TableRow() table.Row
type CreateClusterOperation ¶
type CreateClusterOperation struct{}
type DeleteClusterOperation ¶
type DeleteClusterOperation struct{}
type GetClusterOperation ¶
type GetClusterOperation struct{}
type KubeconfigOperation ¶
type KubeconfigOperation struct{}
type ListClusterOperation ¶
type ListClusterOperation struct{}
type ListVersionsOperation ¶
type ListVersionsOperation struct{}
type Version ¶
type Version struct {
components.KubernetesAvailableVersionsData
}
Version wraps an available Kubernetes version for rendering.
Click to show internal directories.
Click to hide internal directories.