Documentation
¶
Index ¶
Constants ¶
View Source
const (
// ProviderName is the name of the provider
ProviderName = "aws"
)
Variables ¶
This section is empty.
Functions ¶
func NewCloudProvider ¶
func NewCloudProvider(logger logr.Logger) (cloudprovider.CloudProvider, error)
NewCloudProvider returns a new AWS cloud provider using the AWS SDK's default retry behavior
func NewGenericCloudProvider ¶ added in v1.10.2
func NewGenericCloudProvider(asg autoscalingiface.AutoScalingAPI, ec2c ec2iface.EC2API) cloudprovider.CloudProvider
NewGenericCloudProvider returns a cloud provider built around the supplied Autoscaling and EC2 clients. Production code uses NewCloudProvider; this constructor lets tests inject fakes (or instrumented decorators around the real clients).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.