limits

package
v1.8.13 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2021 License: Apache-2.0 Imports: 9 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 UpdateFromEC2API

func UpdateFromEC2API(ctx context.Context) error

UpdateFromEC2API updates limits from the EC2 API via calling https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstanceTypes.html.

func UpdateFromUserDefinedMappings

func UpdateFromUserDefinedMappings(m map[string]string) (err error)

UpdateFromUserDefinedMappings updates limits from the given map.

Types

This section is empty.

Jump to

Keyboard shortcuts

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