provider

package
v1.58.1 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidFlag added in v1.32.0

func IsInvalidFlag(err error) bool

IsInvalidFlag asserts invalidFlagError.

func WriteAWSTemplate

func WriteAWSTemplate(ctx context.Context, client k8sclient.Interface, out io.Writer, config ClusterCRsConfig) error

func WriteAzureTemplate

func WriteAzureTemplate(ctx context.Context, client k8sclient.Interface, out io.Writer, config ClusterCRsConfig) error

func WriteCAPAEKSTemplate added in v1.43.0

func WriteCAPAEKSTemplate(ctx context.Context, client k8sclient.Interface, out io.Writer, config ClusterCRsConfig) error

func WriteCAPATemplate added in v1.32.0

func WriteCAPATemplate(ctx context.Context, client k8sclient.Interface, out io.Writer, config ClusterCRsConfig) error

func WriteCAPZTemplate added in v1.37.0

func WriteCAPZTemplate(ctx context.Context, client k8sclient.Interface, out io.Writer, config ClusterCRsConfig) error

func WriteGSAWSTemplate added in v1.32.0

func WriteGSAWSTemplate(out io.Writer, config ClusterCRsConfig) error

func WriteGSAzureTemplate added in v1.37.0

func WriteGSAzureTemplate(out io.Writer, config ClusterCRsConfig) error

func WriteOpenStackTemplate added in v1.55.0

func WriteOpenStackTemplate(ctx context.Context, client k8sclient.Interface, out io.Writer, config ClusterCRsConfig) error

func WriteVSphereTemplate added in v1.55.0

func WriteVSphereTemplate(ctx context.Context, client k8sclient.Interface, out io.Writer, config ClusterCRsConfig) error

Types

type ClusterCRsConfig

type ClusterCRsConfig struct {
	// AWS only.
	EKS                bool
	ExternalSNAT       bool
	ControlPlaneSubnet string

	// OpenStack only.
	Cloud                string   // OPENSTACK_CLOUD
	CloudConfig          string   // <no equivalent env var>>
	DNSNameservers       []string // OPENSTACK_DNS_NAMESERVERS
	ExternalNetworkID    string   // <no equivalent env var>
	FailureDomain        string   // OPENSTACK_FAILURE_DOMAIN
	ImageName            string   // OPENSTACK_IMAGE_NAME
	NodeCIDR             string   // <no equivalent env var>
	NodeMachineFlavor    string   // OPENSTACK_NODE_MACHINE_FLAVOR
	RootVolumeDiskSize   string   // <no equivalent env var>
	RootVolumeSourceType string   // <no equivalent env var>
	RootVolumeSourceUUID string   // <no equivalent env var>

	// Common.
	FileName       string
	ControlPlaneAZ []string
	Description    string
	Name           string
	Organization   string
	ReleaseVersion string
	Labels         map[string]string
	Namespace      string
	PodsCIDR       string
}

Directories

Path Synopsis
templates
aws

Jump to

Keyboard shortcuts

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