tencent

package
v0.4.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusPending = "PENDING"
	StatusRunning = "RUNNING"
	StatusStopped = "STOPPED"

	// task result
	Success = "SUCCESS"
	Failed  = "FAILED"
	Running = "RUNNING"

	// filter eip
	ServiceTypeEIP    = "cvm"
	ResourcePrefixEIP = "eip"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudControllerManager

type CloudControllerManager struct {
	SecretID              string `json:"secret-id,omitempty" yaml:"secret-id,omitempty"`
	SecretKey             string `json:"secret-key,omitempty" yaml:"secret-key,omitempty"`
	Region                string `json:"region,omitempty" yaml:"region,omitempty"`
	VpcID                 string `json:"vpc-id,omitempty" yaml:"vpc-id,omitempty"`
	NetworkRouteTableName string `json:"router,omitempty" yaml:"router,omitempty"`
}

type Options

type Options struct {
	SecretID                string            `json:"secret-id,omitempty" yaml:"secret-id,omitempty"`
	SecretKey               string            `json:"secret-key,omitempty" yaml:"secret-key,omitempty"`
	Region                  string            `json:"region,omitempty" yaml:"region,omitempty"`
	Zone                    string            `json:"zone,omitempty" yaml:"zone,omitempty"`
	EndpointURL             string            `json:"endpoint-url,omitempty" yaml:"endpoint-url,omitempty"`
	SecurityGroupIds        string            `json:"security-group,omitempty" yaml:"security-group,omitempty"`
	KeypairID               string            `json:"keypair-id,omitempty" yaml:"keypair-id,omitempty"`
	VpcID                   string            `json:"vpc-id,omitempty" yaml:"vpc-id,omitempty"`
	SubnetID                string            `json:"subnet-id,omitempty" yaml:"subnet-id,omitempty"`
	ImageID                 string            `json:"image,omitempty" yaml:"image,omitempty"`
	InstanceType            string            `json:"instance-type,omitempty" yaml:"instance-type,omitempty"`
	SystemDiskType          string            `json:"disk-category,omitempty" yaml:"disk-category,omitempty"`
	SystemDiskSize          string            `json:"disk-size,omitempty" yaml:"disk-size,omitempty"`
	InternetMaxBandwidthOut string            `json:"internet-max-bandwidth-out,omitempty" yaml:"internet-max-bandwidth-out,omitempty"`
	PublicIPAssignedEIP     bool              `json:"eip" yaml:"eip"`
	NetworkRouteTableName   string            `json:"router,omitempty" yaml:"network-route-table-name,omitempty"`
	Tags                    map[string]string `json:"tags,omitempty" yaml:"tags,omitempty"`
	CloudControllerManager  bool              `json:"cloud-controller-manager" yaml:"cloud-controller-manager"`
}

Jump to

Keyboard shortcuts

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