limits

package
v1.15.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 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