Documentation ¶
Index ¶
- type LaunchTemplate
- type Provider
- func (p *Provider) DeleteLaunchTemplates(ctx context.Context, nodeClass *v1beta1.EC2NodeClass) error
- func (p *Provider) EnsureAll(ctx context.Context, nodeClass *v1beta1.EC2NodeClass, ...) ([]*LaunchTemplate, error)
- func (p *Provider) Invalidate(ctx context.Context, ltName string, ltID string)
- func (p *Provider) ResolveClusterCIDR(ctx context.Context) error
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 CABundle *string ClusterEndpoint string ClusterCIDR atomic.Pointer[string] // contains filtered or unexported fields }
func NewProvider ¶
func NewProvider(ctx context.Context, cache *cache.Cache, ec2api ec2iface.EC2API, eksapi eksiface.EKSAPI, 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)
func (*Provider) Invalidate ¶
Invalidate deletes a launch template from cache if it exists
Click to show internal directories.
Click to hide internal directories.