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.

        Source Files