Documentation ¶
Index ¶
- Constants
- func BuildCapaClusterConfig(config ClusterConfig) capa.ClusterConfig
- func BuildCapgClusterConfig(config ClusterConfig) capg.ClusterConfig
- func BuildCapoClusterConfig(config ClusterConfig, controlPlaneReplicas int) openstack.ClusterConfig
- func IsInvalidFlag(err error) bool
- func WriteAWSTemplate(ctx context.Context, client k8sclient.Interface, out io.Writer, ...) error
- func WriteAzureTemplate(ctx context.Context, client k8sclient.Interface, out io.Writer, ...) error
- func WriteCAPAEKSTemplate(ctx context.Context, client k8sclient.Interface, out io.Writer, ...) error
- func WriteCAPATemplate(ctx context.Context, client k8sclient.Interface, output io.Writer, ...) error
- func WriteCAPZTemplate(ctx context.Context, client k8sclient.Interface, out io.Writer, ...) error
- func WriteGCPTemplate(ctx context.Context, client k8sclient.Interface, output io.Writer, ...) error
- func WriteGSAWSTemplate(ctx context.Context, client k8sclient.Interface, out io.Writer, ...) error
- func WriteGSAzureTemplate(ctx context.Context, client k8sclient.Interface, out io.Writer, ...) error
- func WriteOpenStackTemplate(ctx context.Context, k8sClient k8sclient.Interface, output io.Writer, ...) error
- func WriteVSphereTemplate(ctx context.Context, client k8sclient.Interface, out io.Writer, ...) error
- type AWSConfig
- type AWSMachinePoolConfig
- type AppConfig
- type ClusterConfig
- type GCPConfig
- type GCPControlPlane
- type GCPMachineDeployment
- type MachineConfig
- type OIDC
- type OpenStackConfig
- type ServiceAccount
Constants ¶
View Source
const ( DefaultAppsRepoName = "default-apps-aws" ClusterAWSRepoName = "cluster-aws" ModePrivate = "private" )
View Source
const ( DefaultAppsGCPRepoName = "default-apps-gcp" ClusterGCPRepoName = "cluster-gcp" )
Variables ¶
This section is empty.
Functions ¶
func BuildCapaClusterConfig ¶ added in v2.30.0
func BuildCapaClusterConfig(config ClusterConfig) capa.ClusterConfig
func BuildCapgClusterConfig ¶ added in v2.30.0
func BuildCapgClusterConfig(config ClusterConfig) capg.ClusterConfig
func BuildCapoClusterConfig ¶ added in v2.30.0
func BuildCapoClusterConfig(config ClusterConfig, controlPlaneReplicas int) openstack.ClusterConfig
func WriteAWSTemplate ¶
func WriteAzureTemplate ¶
func WriteCAPAEKSTemplate ¶
func WriteCAPATemplate ¶
func WriteCAPZTemplate ¶
func WriteGCPTemplate ¶
func WriteGSAWSTemplate ¶
func WriteGSAzureTemplate ¶
func WriteOpenStackTemplate ¶
func WriteVSphereTemplate ¶
Types ¶
type AWSConfig ¶
type AWSConfig struct { EKS bool ExternalSNAT bool ControlPlaneSubnet string // for CAPA AWSClusterRoleIdentityName string MachinePool AWSMachinePoolConfig NetworkAZUsageLimit int NetworkVPCCIDR string ClusterType string HttpProxy string HttpsProxy string NoProxy string APIMode string VPCMode string DNSMode string TopologyMode string PrefixListID string TransitGatewayID string }
type AWSMachinePoolConfig ¶
type ClusterConfig ¶
type ClusterConfig struct { KubernetesVersion string FileName string ControlPlaneAZ []string Description string Name string Organization string ReleaseVersion string ReleaseComponents map[string]string Labels map[string]string Namespace string PodsCIDR string OIDC OIDC ServicePriority string Region string BastionInstanceType string BastionReplicas int ControlPlaneInstanceType string App AppConfig AWS AWSConfig GCP GCPConfig OpenStack OpenStackConfig }
type GCPConfig ¶
type GCPConfig struct { Project string FailureDomains []string ControlPlane GCPControlPlane MachineDeployment GCPMachineDeployment }
type GCPControlPlane ¶
type GCPControlPlane struct {
ServiceAccount ServiceAccount
}
type GCPMachineDeployment ¶
type MachineConfig ¶
type OpenStackConfig ¶
type OpenStackConfig struct { Cloud string CloudConfig string DNSNameservers []string ExternalNetworkID string NodeCIDR string NetworkName string SubnetName string Bastion MachineConfig ControlPlane MachineConfig Worker MachineConfig WorkerFailureDomain string WorkerReplicas int }
type ServiceAccount ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.