aliyun

package
v0.0.0-...-577d5ac Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EcsClient

type EcsClient struct {
	// contains filtered or unexported fields
}

func NewEcsClient

func NewEcsClient(config *config.SDConfig) *EcsClient

func (*EcsClient) DescribeInstanceAttribute

func (d *EcsClient) DescribeInstanceAttribute(instanceId string) (response *ecs.DescribeInstanceAttributeResponse, err error)

func (*EcsClient) DescribeInstances

func (d *EcsClient) DescribeInstances(pageNumber, pageSize int) (response *ecs.DescribeInstancesResponse, err error)

func (*EcsClient) GetServers

func (d *EcsClient) GetServers() (srvs *[]ecs.Instance, err error)

Jump to

Keyboard shortcuts

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