clusterapi

package
v1.4.19-ec3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2025 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

Provider implements AWS CAPI installation.

func (*Provider) DestroyBootstrap

func (p *Provider) DestroyBootstrap(ctx context.Context, in clusterapi.BootstrapDestroyInput) error

DestroyBootstrap removes aws bootstrap resources not handled by the deletion of the bootstrap machine by the capi controllers.

func (Provider) Ignition

func (p Provider) Ignition(ctx context.Context, in clusterapi.IgnitionInput) ([]*corev1.Secret, error)

Ignition edits the ignition contents to add the public and private load balancer ip addresses to the infrastructure CR. The infrastructure CR is updated and added to the ignition files. CAPA creates a bucket for ignition, and this ignition data will be placed in the bucket.

func (*Provider) InfraReady

func (*Provider) InfraReady(ctx context.Context, in clusterapi.InfraReadyInput) error

InfraReady creates private hosted zone and DNS records.

func (*Provider) Name

func (*Provider) Name() string

Name gives the name of the provider, AWS.

func (*Provider) PostDestroy

func (p *Provider) PostDestroy(ctx context.Context, in clusterapi.PostDestroyerInput) error

PostDestroy deletes the ignition bucket after capi stopped running, so it won't try to reconcile the bucket.

func (*Provider) PreProvision

func (*Provider) PreProvision(ctx context.Context, in clusterapi.PreProvisionInput) error

PreProvision creates the IAM roles used by all nodes in the cluster.

func (*Provider) PublicGatherEndpoint added in v0.90.17

func (*Provider) PublicGatherEndpoint() clusterapi.GatherEndpoint

PublicGatherEndpoint indicates that machine ready checks should wait for an ExternalIP in the status and use that when gathering bootstrap log bundles.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL