ecs

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCloud

func NewCloud() cloud

Types

type AliyunEcs

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

func (*AliyunEcs) Delete

func (a *AliyunEcs) Delete(instanceId []string, maxCount int)

func (*AliyunEcs) Describe

func (a *AliyunEcs) Describe(instanceId string) (*CloudInstanceResponse, error)

func (*AliyunEcs) Healthy

func (a *AliyunEcs) Healthy() error

func (*AliyunEcs) New

func (a *AliyunEcs) New(amount int, dryRun bool, bandwidthOut bool) []string

type CloudInstanceResponse

type CloudInstanceResponse struct {
	IsOk      bool
	PrivateIP string
	PublicIP  string
}

type HuaweiEcs

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

func (*HuaweiEcs) Delete

func (a *HuaweiEcs) Delete(instanceId []string, maxCount int)

func (*HuaweiEcs) Describe

func (a *HuaweiEcs) Describe(instanceId string) (*CloudInstanceResponse, error)

func (*HuaweiEcs) Healthy

func (a *HuaweiEcs) Healthy() error

func (*HuaweiEcs) New

func (a *HuaweiEcs) New(amount int, dryRun bool, bandwidthOut bool) []string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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