Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TagOneResource ¶
func TagOneResource(ctx aliyun_resources.Context, cluster string, resourceID string) error
func TagResource ¶
func TagResource(ctx aliyun_resources.Context, cluster string, resourceIDs []string) error
Types ¶
type DescribeACKInstancesResponse ¶
type DescribeACKInstancesResponse struct { aliyun_resources.ResponsePager Instances []Instance }
func ListByCluster ¶
func ListByCluster(ctx aliyun_resources.Context, page aliyun_resources.PageOption, cluster string) (*DescribeACKInstancesResponse, error)
type Instance ¶
type Instance struct { Name string `json:"name"` ClusterID string `json:"cluster_id"` Size int `json:"size"` RegionID string `json:"region_id"` ClusterType string `json:"cluster_type"` CurrentVersion string `json:"current_version"` //k8s version State string `json:"state"` Parameters Parameters `json:"parameters"` Tags []Tag `json:"tags"` }
type Parameters ¶
Click to show internal directories.
Click to hide internal directories.