ack

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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