capv

package
v3.0.0-...-a69f007 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 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 ClusterConfig

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

type Connectivity

type Connectivity struct {
	BaseDomain string   `json:"baseDomain,omitempty"`
	Network    *Network `json:"network,omitempty"`
}

type ControlPlane

type ControlPlane struct {
	Image           *Image           `json:"image,omitempty"`
	Replicas        int              `json:"replicas,omitempty"`
	MachineTemplate *MachineTemplate `json:"machineTemplate,omitempty"`
}

type ControlPlaneEndpoint

type ControlPlaneEndpoint struct {
	Host       string `json:"host"`
	Port       int    `json:"port,omitempty"`
	IpPoolName string `json:"ipPoolName,omitempty"`
}

type DefaultAppsConfig

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

type Global

type Global struct {
	Connectivity *Connectivity               `json:"connectivity,omitempty"`
	ControlPlane *ControlPlane               `json:"controlPlane,omitempty"`
	Metadata     *Metadata                   `json:"metadata,omitempty"`
	NodeClasses  map[string]*MachineTemplate `json:"nodeClasses,omitempty"`
	NodePools    map[string]*NodePool        `json:"nodePools,omitempty"`
}

type Image

type Image struct {
	Repository string `json:"repository,omitempty"`
}

type LoadBalancers

type LoadBalancers struct {
	CidrBlocks []string `json:"cidrBlocks,omitempty"`
	IpPoolName string   `json:"ipPoolName,omitempty"`
}

type MTDevice

type MTDevice struct {
	NetworkName string `json:"networkName,omitempty"`
	Dhcp4       bool   `json:"dhcp4,omitempty"`
}

type MTNetwork

type MTNetwork struct {
	Devices []*MTDevice `json:"devices,omitempty"`
}

type MachineTemplate

type MachineTemplate struct {
	Network      *MTNetwork `json:"network,omitempty"`
	CloneMode    string     `json:"cloneMode,omitempty"`
	DiskGiB      int        `json:"diskGiB,omitempty"`
	NumCPUs      int        `json:"numCPUs,omitempty"`
	MemoryMiB    int        `json:"memoryMiB,omitempty"`
	ResourcePool string     `json:"resourcePool,omitempty"`
	Template     string     `json:"template,omitempty"`
}

type Metadata

type Metadata struct {
	Description  string `json:"description,omitempty"`
	Organization string `json:"organization,omitempty"`
}

type Network

type Network struct {
	ControlPlaneEndpoint *ControlPlaneEndpoint `json:"controlPlaneEndpoint,omitempty"`
	LoadBalancers        *LoadBalancers        `json:"loadBalancers,omitempty"`
}

type NodePool

type NodePool struct {
	Class    string `json:"class,omitempty"`
	Replicas int    `json:"replicas,omitempty"`
}

Jump to

Keyboard shortcuts

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