Documentation
¶
Index ¶
- func CreateAirgappedNodes(client *rancher.Client, rolesPerPool []string, quantityPerPool []int32, ...) (ec2Nodes []*nodes.Node, err error)
- func CreateNodes(client *rancher.Client, rolesPerPool []string, quantityPerPool []int32, ...) (ec2Nodes []*nodes.Node, err error)
- func DeleteNodes(client *rancher.Client, nodes []*nodes.Node) error
- func GetAMI(client *rancher.Client, ...) (*ec2.DescribeImagesOutput, error)
- func MatchRoleToConfig(poolRole string, ec2Configs []rancherEc2.AWSEC2Config) *rancherEc2.AWSEC2Config
- func RebootNode(client *rancher.Client, node nodes.Node, clusterID string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAirgappedNodes ¶
func CreateAirgappedNodes(client *rancher.Client, rolesPerPool []string, quantityPerPool []int32, ec2Configs *rancherEc2.AWSEC2Configs) (ec2Nodes []*nodes.Node, err error)
CreateNodes creates `quantityPerPool[n]` number of ec2 instances
func CreateNodes ¶
func CreateNodes(client *rancher.Client, rolesPerPool []string, quantityPerPool []int32, ec2Configs *rancherEc2.AWSEC2Configs, ipv6Cluster bool) (ec2Nodes []*nodes.Node, err error)
CreateNodes creates `quantityPerPool[n]` number of ec2 instances
func DeleteNodes ¶
DeleteNodes terminates ec2 instances that have been created.
func GetAMI ¶
func GetAMI(client *rancher.Client, awsCredentials *cloudcredentials.AmazonEC2CredentialConfig, id string) (*ec2.DescribeImagesOutput, error)
GetAMI returns all info associated with an aws ami
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.