limits

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2021 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(instanceType string) (limit ipamTypes.Limits, ok bool)

Get returns the instance limits of a particular instance type.

func Update

func Update(limitMap map[string]ipamTypes.Limits)

Update update the limit map

func UpdateFromAPI

func UpdateFromAPI(ctx context.Context, ecs *openapi.Client) error

UpdateFromAPI updates limits for instance https://www.alibabacloud.com/help/doc-detail/25620.htm

Types

This section is empty.

Jump to

Keyboard shortcuts

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