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 ¶
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.
Click to show internal directories.
Click to hide internal directories.