capa

package
v2.57.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateClusterValues

func GenerateClusterValues(flagInputs ClusterConfig) (string, error)

func GenerateDefaultAppsValues

func GenerateDefaultAppsValues(flagConfig DefaultAppsConfig) (string, error)

Types

type Bastion

type Bastion struct {
	Enabled      bool   `json:"enabled,omitempty"`
	InstanceType string `json:"instanceType,omitempty"`
	Replicas     int    `json:"replicas,omitempty"`
}

type CIDRBlock added in v2.31.1

type CIDRBlock struct {
	CIDR             string `json:"cidr"`
	AvailabilityZone string `json:"availabilityZone"`
}

type ClusterConfig

type ClusterConfig struct {
	Global *Global `json:"global,omitempty"`
}

type Connectivity added in v2.34.0

type Connectivity struct {
	AvailabilityZoneUsageLimit int       `json:"availabilityZoneUsageLimit,omitempty"`
	Bastion                    *Bastion  `json:"bastion,omitempty"`
	Network                    *Network  `json:"network,omitempty"`
	Proxy                      *Proxy    `json:"proxy,omitempty"`
	Subnets                    []Subnet  `json:"subnets,omitempty"`
	Topology                   *Topology `json:"topology,omitempty"`
	VPCMode                    string    `json:"vpcMode,omitempty"`
}

type ControlPlane

type ControlPlane struct {
	APIMode                            string   `json:"apiMode,omitempty"`
	InstanceType                       string   `json:"instanceType,omitempty"`
	RootVolumeSizeGB                   int      `json:"rootVolumeSizeGB,omitempty"`
	EtcdVolumeSizeGB                   int      `json:"etcdVolumeSizeGB,omitempty"`
	ContainerdVolumeSizeGB             int      `json:"containerdVolumeSizeGB,omitempty"`
	KubeletVolumeSizeGB                int      `json:"kubeletVolumeSizeGB,omitempty"`
	AvailabilityZones                  []string `json:"availabilityZones,omitempty"`
	LoadBalancerIngressAllowCIDRBlocks []string `json:"loadBalancerIngressAllowCidrBlocks,omitempty"`
}

type DefaultAppsConfig

type DefaultAppsConfig struct {
	ClusterName  string `json:"clusterName,omitempty"`
	Organization string `json:"organization,omitempty"`
}

type Global added in v2.49.0

type Global struct {
	Connectivity     *Connectivity           `json:"connectivity,omitempty"`
	ControlPlane     *ControlPlane           `json:"controlPlane,omitempty"`
	Metadata         *Metadata               `json:"metadata,omitempty"`
	NodePools        *map[string]MachinePool `json:"nodePools,omitempty"`
	ProviderSpecific *ProviderSpecific       `json:"providerSpecific,omitempty"`
}

type MachinePool

type MachinePool struct {
	Name              string   `json:"name,omitempty"`
	AvailabilityZones []string `json:"availabilityZones,omitempty"`
	InstanceType      string   `json:"instanceType,omitempty"`
	MinSize           int      `json:"minSize,omitempty"`
	MaxSize           int      `json:"maxSize,omitempty"`
	RootVolumeSizeGB  int      `json:"rootVolumeSizeGB,omitempty"`
	CustomNodeLabels  []string `json:"customNodeLabels,omitempty"`
}

type Metadata added in v2.34.0

type Metadata struct {
	Description     string `json:"description,omitempty"`
	Name            string `json:"name,omitempty"`
	Organization    string `json:"organization,omitempty"`
	PreventDeletion bool   `json:"preventDeletion,omitempty"`
}

type Network

type Network struct {
	VPCCIDR string `json:"vpcCidr,omitempty"`
}

type ProviderSpecific added in v2.34.0

type ProviderSpecific struct {
	AMI                        string `json:"ami,omitempty"`
	AWSClusterRoleIdentityName string `json:"awsClusterRoleIdentityName,omitempty"`
	FlatcarAWSAccount          string `json:"flatcarAwsAccount,omitempty"`
	Region                     string `json:"region,omitempty"`
}

type Proxy added in v2.30.0

type Proxy struct {
	Enabled    bool   `json:"enabled,omitempty"`
	HttpsProxy string `json:"httpsProxy,omitempty"`
	HttpProxy  string `json:"httpProxy,omitempty"`
	NoProxy    string `json:"noProxy,omitempty"`
}

type Subnet added in v2.30.0

type Subnet struct {
	CidrBlocks []CIDRBlock `json:"cidrBlocks"`
	IsPublic   bool        `json:"isPublic"`
}

type Topology added in v2.34.0

type Topology struct {
	Mode             string `json:"mode,omitempty"`
	PrefixListID     string `json:"prefixListId,omitempty"`
	TransitGatewayID string `json:"transitGatewayId,omitempty"`
}

Jump to

Keyboard shortcuts

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