aws

package
v1.4.13 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 17 Imported by: 41

Documentation

Overview

Package aws generates Machine objects for aws.

Package aws generates Machine objects for aws.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigMasters added in v0.4.0

func ConfigMasters(machines []machineapi.Machine, controlPlane *machinev1.ControlPlaneMachineSet, clusterID string, publish types.PublishingStrategy)

ConfigMasters sets the PublicIP flag and assigns a set of load balancers to the given machines

func FilterZonesBasedOnInstanceType added in v0.4.15

func FilterZonesBasedOnInstanceType(ctx context.Context, meta *awsconfig.Metadata, instanceType string, zones []string) ([]string, error)

FilterZonesBasedOnInstanceType return a filtered list of zones where the particular instance type is available. This is mainly necessary for ARM, where the instance type m6g is not available in all availability zones.

func MachineSets added in v0.4.0

func MachineSets(clusterID string, region string, subnets map[string]string, pool *types.MachinePool, role, userDataSecret string, userTags map[string]string) ([]*machineapi.MachineSet, error)

MachineSets returns a list of machinesets for a machinepool.

func Machines added in v0.4.0

func Machines(clusterID string, region string, subnets map[string]string, pool *types.MachinePool, role, userDataSecret string, userTags map[string]string) ([]machineapi.Machine, *machinev1.ControlPlaneMachineSet, error)

Machines returns a list of machines for a machinepool.

func PreferredInstanceType added in v0.4.15

func PreferredInstanceType(ctx context.Context, meta *awsconfig.Metadata, types []string, zones []string) (string, error)

PreferredInstanceType returns a preferred instance type from the list of instance types provided in descending order of preference based on filters like the list of required availability zones.

Types

This section is empty.

Jump to

Keyboard shortcuts

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