capa

package
v2.29.2 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: Apache-2.0 Imports: 2 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 AWS

type AWS struct {
	Region string `json:"region,omitempty"`
	Role   string `json:"awsClusterRole,omitempty"`
}

type Bastion

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

type ClusterConfig

type ClusterConfig struct {
	ClusterDescription string         `json:"clusterDescription,omitempty"`
	ClusterName        string         `json:"clusterName,omitempty"`
	Organization       string         `json:"organization,omitempty"`
	AWS                *AWS           `json:"aws,omitempty"`
	Network            *Network       `json:"network,omitempty"`
	Bastion            *Bastion       `json:"bastion,omitempty"`
	ControlPlane       *ControlPlane  `json:"controlPlane,omitempty"`
	MachinePools       *[]MachinePool `json:"machinePools,omitempty"`
	FlatcarAWSAccount  string         `json:"flatcarAWSAccount,omitempty"`
}

type ControlPlane

type ControlPlane struct {
	InstanceType           string   `json:"instanceType,omitempty"`
	Replicas               int      `json:"replicas,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"`
}

type DefaultAppsConfig

type DefaultAppsConfig struct {
	ClusterName  string `json:"clusterName,omitempty"`
	Organization string `json:"organization,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 Network

type Network struct {
	AvailabilityZoneUsageLimit int    `json:"availabilityZoneUsageLimit,omitempty"`
	VPCCIDR                    string `json:"vpcCIDR,omitempty"`
}

Jump to

Keyboard shortcuts

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