Documentation ¶
Overview ¶
Package v2 is an out-of-tree only implementation of the AWS cloud provider. It is not compatible with v1 and should only be used on new clusters.
Package v2 is an out-of-tree only implementation of the AWS cloud provider. It is not compatible with v1 and should only be used on new clusters.
Package v2 is an out-of-tree only implementation of the AWS cloud provider. It is not compatible with v1 and should only be used on new clusters.
Index ¶
Constants ¶
View Source
const ( // TagNameKubernetesClusterPrefix is the tag name we use to differentiate multiple // logically independent clusters running in the same AZ. // tag format: kubernetes.io/cluster/<clusterID> = shared|owned // The tag key = TagNameKubernetesClusterPrefix + clusterID // The tag value is an ownership value TagNameKubernetesClusterPrefix = "kubernetes.io/cluster/" // ResourceLifecycleOwned is the value we use when tagging resources to indicate // that the resource is considered owned and managed by the cluster, // and in particular that the lifecycle is tied to the lifecycle of the cluster. ResourceLifecycleOwned = "owned" )
View Source
const (
// ProviderName is the name of the v2 AWS cloud provider
ProviderName = "aws/v2"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EC2 ¶
type EC2 interface { DescribeInstances(request *ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error) CreateTags(*ec2.CreateTagsInput) (*ec2.CreateTagsOutput, error) }
EC2 is an interface defining only the methods we call from the AWS EC2 SDK.
type EC2Metadata ¶
type EC2Metadata interface { // Query the EC2 metadata service (used to discover instance-id etc) GetMetadata(path string) (string, error) }
EC2Metadata is an abstraction over the AWS metadata service.
Click to show internal directories.
Click to hide internal directories.