openstack

package
v4.0.0-...-0b0cad2 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 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 Bastion

type Bastion struct {
	MachineConfig `json:",inline"`
}

type ClusterConfig

type ClusterConfig struct {
	ClusterDescription string        `json:"clusterDescription,omitempty"`
	DNSNameservers     []string      `json:"dnsNameservers,omitempty"`
	Organization       string        `json:"organization,omitempty"`
	CloudConfig        string        `json:"cloudConfig,omitempty"`
	CloudName          string        `json:"cloudName,omitempty"`
	ClusterName        string        `json:"clusterName,omitempty"`
	KubernetesVersion  string        `json:"kubernetesVersion,omitempty"`
	NodeCIDR           string        `json:"nodeCIDR,omitempty"`
	NetworkName        string        `json:"networkName,omitempty"`
	SubnetName         string        `json:"subnetName,omitempty"`
	ExternalNetworkID  string        `json:"externalNetworkID,omitempty"`
	Bastion            *Bastion      `json:"bastion,omitempty"`
	NodeClasses        []NodeClass   `json:"nodeClasses,omitempty"`
	ControlPlane       *ControlPlane `json:"controlPlane,omitempty"`
	NodePools          []NodePool    `json:"nodePools,omitempty"`
	OIDC               *OIDC         `json:"oidc,omitempty"`
}

type ControlPlane

type ControlPlane struct {
	MachineConfig     `json:",inline"`
	Replicas          int      `json:"replicas,omitempty"`
	AvailabilityZones []string `json:"availabilityZones,omitempty"`
}

type DefaultAppsConfig

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

type MachineConfig

type MachineConfig struct {
	BootFromVolume bool   `json:"bootFromVolume"`
	DiskSize       int    `json:"diskSize"`
	Flavor         string `json:"flavor"`
	Image          string `json:"image"`
}

type NodeClass

type NodeClass struct {
	Name          string `json:"name"`
	MachineConfig `json:",inline"`
}

type NodePool

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

type OIDC

type OIDC struct {
	IssuerURL     string `json:"issuerUrl"`
	CAFile        string `json:"caFile"`
	ClientID      string `json:"clientId"`
	UsernameClaim string `json:"usernameClaim"`
	GroupsClaim   string `json:"groupsClaim"`
}

Jump to

Keyboard shortcuts

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