ack

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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
}

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

type Parameters struct {
	MasterInstanceChargeType string `json:"MasterInstanceChargeType"`
	MasterInstanceType       string `json:"MasterInstanceType"`
	WorkerInstanceChargeType string `json:"WorkerInstanceChargeType"`
	WorkerInstanceType       string `json:"WorkerInstanceType"`
}

type Tag

type Tag struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

Jump to

Keyboard shortcuts

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