# Packages
Code generated by counterfeiter.
# Functions
CleanupNetworkInterfaces finds and deletes any dangling ENIs.
DiscoverZoneTypes returns a map of zone names to zone type.
EnsureMapPublicIPOnLaunchEnabled will enable MapPublicIpOnLaunch in EC2 for all given subnet IDs.
ExtendWithOutpostSubnets extends the VPC by returning public and private subnet CIDRs for Outposts.
ImportSubnets will update spec with subnets, if VPC ID/CIDR is unknown it will use provider to call describeVPC based on the VPC ID of the first subnet; all subnets must be in the same VPC.
ImportSubnetsByIDsWithAlias is like ImportSubnetsFromIDList but allows passing a function that generates an alias for a subnet.
ImportSubnetsFromIDList will update cluster config with subnets _only specified by ID_ then pass resulting subnets to ImportSubnets NOTE: it does respect all fields set in spec.VPC, and will error if there is a mismatch of local vs remote states.
ImportSubnetsFromSpec will update spec with subnets, it will call describeSubnets first, then pass resulting subnets to ImportSubnets NOTE: it does respect all fields set in spec.VPC, and will error if there is a mismatch of local vs remote states.
MakeExtendedSubnetAlias generates an alias for a subnet that was added as part of extending the VPC with Outpost subnets.
MakeExtendedSubnetAliasFunc returns a function for creating an alias for a subnet that was added as part of extending the VPC with Outpost subnets.
NewSpecConfigImporter creates a new SpecConfigImporter instance.
NewStackConfigImporter creates a new StackConfigImporter instance.
SelectNodeGroupSubnets returns the subnet IDs to use for a nodegroup from the specified availability zones, local zones, and subnets.
SetSubnets defines CIDRs for each of the subnets, it must be called after SetAvailabilityZones.
No description provided by the author
UseEndpointAccessFromCluster retrieves the Cluster's endpoint access configuration via the SDK as the CloudFormation Stack doesn't support that configuration currently.
UseFromClusterStack retrieves the VPC configuration from an existing cluster based on stack outputs NOTE: it doesn't expect any fields in spec.VPC to be set, the remote state is treated as the source of truth.
ValidateExistingPublicSubnets makes sure that subnets have the property MapPublicIpOnLaunch enabled.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
# Structs
SpecConfigImporter returns VPC info based on the ClusterConfig Spec.
StackConfigImporter returns VPC info based on the Cluster Stack.
StackDriftError represents a stack drift error.
A SubnetPair represents a pair of public and private subnets.
# Interfaces
counterfeiter:generate -o fakes/fake_vpc_importer.go .