Documentation ¶
Index ¶
- Constants
- func BuildCapaClusterConfig(config ClusterConfig) capa.ClusterConfig
- func BuildCapgClusterConfig(config ClusterConfig) capg.ClusterConfig
- func BuildCapoClusterConfig(config ClusterConfig, controlPlaneReplicas int) openstack.ClusterConfig
- func BuildCapvClusterConfig(config ClusterConfig) capv.ClusterConfig
- func BuildCapzClusterConfig(config ClusterConfig) capz.ClusterConfig
- func BuildEKSClusterConfig(config ClusterConfig) eks.ClusterConfig
- func IsInvalidFlag(err error) bool
- func ValidateYAML(ctx context.Context, logger micrologger.Logger, client k8sclient.Interface, ...) error
- 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 WriteCAPATemplate(ctx context.Context, client k8sclient.Interface, output io.Writer, ...) error
- func WriteCAPZTemplate(ctx context.Context, client k8sclient.Interface, output io.Writer, ...) error
- func WriteEKSTemplate(ctx context.Context, client k8sclient.Interface, output 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, output io.Writer, ...) error
- type AWSConfig
- type AWSMachinePoolConfig
- type AppConfig
- type AzureConfig
- type ClusterConfig
- type GCPConfig
- type GCPControlPlane
- type GCPMachineDeployment
- type MachineConfig
- type OIDC
- type OpenStackConfig
- type ServiceAccount
- type VSphereConfig
- type VSphereControlPlane
- type VSphereMachineTemplate
Constants ¶
View Source
const ( DefaultAppsAWSRepoName = "default-apps-aws" ClusterAWSRepoName = "cluster-aws" ModePrivate = "private" )
View Source
const ( DefaultAppsGCPRepoName = "default-apps-gcp" ClusterGCPRepoName = "cluster-gcp" )
View Source
const ( DefaultAppsVsphereRepoName = "default-apps-vsphere" ClusterVsphereRepoName = "cluster-vsphere" )
View Source
const ( DefaultAppsAzureRepoName = "default-apps-azure" ClusterAzureRepoName = "cluster-azure" )
View Source
const ( DefaultAppsEKSRepoName = "default-apps-eks" ClusterEKSRepoName = "cluster-eks" )
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 BuildCapvClusterConfig ¶ added in v2.45.0
func BuildCapvClusterConfig(config ClusterConfig) capv.ClusterConfig
func BuildCapzClusterConfig ¶ added in v2.39.0
func BuildCapzClusterConfig(config ClusterConfig) capz.ClusterConfig
func BuildEKSClusterConfig ¶ added in v2.40.0
func BuildEKSClusterConfig(config ClusterConfig) eks.ClusterConfig
func ValidateYAML ¶ added in v2.34.0
func ValidateYAML(ctx context.Context, logger micrologger.Logger, client k8sclient.Interface, clusterApp applicationv1alpha1.App, yaml map[string]interface{}) error
validateYAML validates the given yaml against the cluster specific app values schema
func WriteAWSTemplate ¶
func WriteAzureTemplate ¶
func WriteCAPATemplate ¶
func WriteCAPZTemplate ¶
func WriteEKSTemplate ¶ added in v2.40.0
func WriteGCPTemplate ¶
func WriteGSAWSTemplate ¶
func WriteGSAzureTemplate ¶
func WriteOpenStackTemplate ¶
func WriteVSphereTemplate ¶
Types ¶
type AWSConfig ¶
type AWSConfig struct { 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 TopologyMode string PrefixListID string TransitGatewayID string }
type AWSMachinePoolConfig ¶
type AzureConfig ¶ added in v2.39.0
type AzureConfig struct {
SubscriptionID string
}
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 Azure AzureConfig VSphere VSphereConfig 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 ¶
type VSphereConfig ¶ added in v2.45.0
type VSphereConfig struct { ControlPlane VSphereControlPlane CredentialsSecretName string ImageTemplate string NetworkName string Worker VSphereMachineTemplate ResourcePool string ServiceLoadBalancerCIDR string SvcLbIpPoolName string }
type VSphereControlPlane ¶ added in v2.45.0
type VSphereControlPlane struct { Ip string IpPoolName string VSphereMachineTemplate }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.