Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LaunchTemplate ¶
type LaunchTemplate struct { Name string InstanceTypes []*cloudprovider.InstanceType ImageID string }
type Provider ¶
type Provider struct { sync.Mutex KubeDNSIP net.IP ClusterEndpoint string // contains filtered or unexported fields }
func NewProvider ¶
func NewProvider(ctx context.Context, cache *cache.Cache, ec2api ec2iface.EC2API, amiFamily *amifamily.Resolver, securityGroupProvider *securitygroup.Provider, subnetProvider *subnet.Provider, instanceProfileProvider *instanceprofile.Provider, caBundle *string, startAsync <-chan struct{}, kubeDNSIP net.IP, clusterEndpoint string) *Provider
func (*Provider) DeleteLaunchTemplates ¶
func (*Provider) EnsureAll ¶
func (p *Provider) EnsureAll(ctx context.Context, nodeClass *v1beta1.EC2NodeClass, nodeClaim *corev1beta1.NodeClaim, instanceTypes []*cloudprovider.InstanceType, capacityType string, tags map[string]string) ([]*LaunchTemplate, error)
Click to show internal directories.
Click to hide internal directories.