ec2

package
v0.0.0-...-e1267bf Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNodes

func CreateNodes(client *rancher.Client, rolesPerPool []string, quantityPerPool []int32) (ec2Nodes []*nodes.Node, err error)

CreateNodes creates `quantityPerPool[n]` number of ec2 instances

func DeleteNodes

func DeleteNodes(client *rancher.Client, nodes []*nodes.Node) error

DeleteNodes terminates ec2 instances that have been created.

func MatchRoleToConfig

func MatchRoleToConfig(poolRole string, ec2Configs []rancherEc2.AWSEC2Config) *rancherEc2.AWSEC2Config

MatchRoleToConfig matches the role of nodesAndRoles to the ec2Config that allows this role.

Types

This section is empty.

Jump to

Keyboard shortcuts

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