rde_type_1_1_0

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 1 Imported by: 3

Documentation

Index

Constants

View Source
const (
	CapvcdRDETypeVersion = "1.1.0"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiEndpoints

type ApiEndpoints struct {
	Host string `json:"host,omitempty"`
	Port int32  `json:"port,omitempty"`
}

type CAPVCDEntity

type CAPVCDEntity struct {
	Metadata   Metadata   `json:"metadata"`
	Spec       CAPVCDSpec `json:"spec"`
	ApiVersion string     `json:"apiVersion"`
	Status     Status     `json:"status"`
	Kind       string     `json:"kind"`
}

type CAPVCDSpec

type CAPVCDSpec struct {
	CapiYaml string `json:"capiYaml"`
}

type CAPVCDStatus

type CAPVCDStatus struct {
	Phase                      string                      `json:"phase,omitempty"`
	Kubernetes                 string                      `json:"kubernetes,omitempty"`
	Uid                        string                      `json:"uid,omitempty"`
	ClusterAPIStatus           ClusterApiStatus            `json:"clusterApiStatus,omitempty"`
	NodePool                   []NodePool                  `json:"nodePool,omitempty"`
	CapvcdVersion              string                      `json:"capvcdVersion,omitempty"`
	UseAsManagementCluster     bool                        `json:"useAsManagementCluster,omitempty"`
	ErrorSet                   []vcdsdk.BackendError       `json:"errorSet,omitempty"`
	EventSet                   []vcdsdk.BackendEvent       `json:"eventSet,omitempty"`
	K8sNetwork                 K8sNetwork                  `json:"k8sNetwork,omitempty"`
	ParentUID                  string                      `json:"parentUid,omitempty"`
	ClusterResourceSet         []ClusterResource           `json:"clusterResourceSet,omitempty"`
	VcdProperties              VCDProperties               `json:"vcdProperties,omitempty"`
	Private                    PrivateSection              `json:"private,omitempty"`
	VCDResourceSet             []VCDResource               `json:"vcdResourceSet,omitempty"`
	CapiStatusYaml             string                      `json:"capiStatusYaml,omitempty"`
	ClusterResourceSetBindings []ClusterResourceSetBinding `json:"clusterResourceSetBindings,omitempty"`
	CreatedByVersion           string                      `json:"createdByVersion"`
	Upgrade                    Upgrade                     `json:"upgrade,omitempty"`
}

type ClusterApiStatus

type ClusterApiStatus struct {
	Phase        string         `json:"phase,omitempty"`
	ApiEndpoints []ApiEndpoints `json:"apiEndpoints,omitempty"`
}

type ClusterResource

type ClusterResource struct {
	Name    string `json:"name,omitempty"`
	Version string `json:"version,omitempty"`
}

type ClusterResourceSetBinding

type ClusterResourceSetBinding struct {
	ClusterResourceSetName string `json:"clusterResourceSetName,omitempty"`
	Kind                   string `json:"kind,omitempty"`
	Name                   string `json:"name,omitempty"`
	Applied                bool   `json:"applied,omitempty"`
	LastAppliedTime        string `json:"lastAppliedTime,omitempty"`
}

type Cni

type Cni struct {
	Name string `json:"name,omitempty"`
}

type ControlPlane

type ControlPlane struct {
	SizingClass  string `json:"sizingClass,omitempty"`
	Count        int32  `json:"count,omitempty"`
	TemplateName string `json:"templateName,omitempty"`
}

type Distribution

type Distribution struct {
	Version string `json:"version,omitempty"`
}

type K8sInfo

type K8sInfo struct {
	TkgVersion string `json:"tkgVersion,omitempty"`
	K8sVersion string `json:"kubernetesVersion,omitempty"`
}

type K8sNetwork

type K8sNetwork struct {
	Pods     Pods     `json:"pods,omitempty"`
	Services Services `json:"services,omitempty"`
}

type Metadata

type Metadata struct {
	Name string `json:"name,omitempty"`
	Vdc  string `json:"virtualDataCenterName,omitempty"`
	Org  string `json:"orgName,omitempty"`
	Site string `json:"site,omitempty"`
}

type NodePool

type NodePool struct {
	Name              string            `json:"name,omitempty"`
	SizingPolicy      string            `json:"sizingPolicy,omitempty"`
	PlacementPolicy   string            `json:"placementPolicy,omitempty"`
	DiskSizeMb        int32             `json:"diskSizeMb,omitempty"`
	NvidiaGpuEnabled  bool              `json:"nvidiaGpuEnabled,omitempty"`
	StorageProfile    string            `json:"storageProfile,omitempty"`
	DesiredReplicas   int32             `json:"desiredReplicas"`
	AvailableReplicas int32             `json:"availableReplicas"`
	NodeStatus        map[string]string `json:"nodeStatus,omitempty"`
}

type Org

type Org struct {
	Name string `json:"name,omitempty"`
	ID   string `json:"id,omitempty"`
}

type Ovdc

type Ovdc struct {
	Name        string `json:"name,omitempty"`
	ID          string `json:"id,omitempty"`
	OvdcNetwork string `json:"ovdcNetworkName,omitempty"`
}

type Pods

type Pods struct {
	CidrBlocks []string `json:"cidrBlocks,omitempty"`
}

type PrivateSection

type PrivateSection struct {
	KubeConfig string `json:"kubeConfig,omitempty"`
}

type Services

type Services struct {
	CidrBlocks []string `json:"cidrBlocks,omitempty"`
}

type Status

type Status struct {
	CAPVCDStatus CAPVCDStatus `json:"capvcd,omitempty"`
}

type Topology

type Topology struct {
	ControlPlane []ControlPlane `json:"controlPlane,omitempty"`
	Workers      []Workers      `json:"workers,omitempty"`
}

type Upgrade

type Upgrade struct {
	Current  *K8sInfo `json:"current"`
	Previous *K8sInfo `json:"previous"`
	Ready    bool     `json:"ready"`
}

type VCDProperties

type VCDProperties struct {
	Site string `json:"site,omitempty"`
	Ovdc []Ovdc `json:"orgVdcs,omitempty"`
	Org  []Org  `json:"organizations,omitempty"`
}

type VCDResource

type VCDResource struct {
	Type              string                 `json:"type,omitempty"`
	ID                string                 `json:"id,omitempty"`
	Name              string                 `json:"name,omitempty"`
	AdditionalDetails map[string]interface{} `json:"additionalDetails,omitempty"`
}

type VersionedAddon

type VersionedAddon struct {
	Name    string `json:"name,omitempty"`
	Version string `json:"version,omitempty"`
}

type Workers

type Workers struct {
	SizingClass  string `json:"sizingClass,omitempty"`
	Count        int32  `json:"count,omitempty"`
	TemplateName string `json:"templateName,omitempty"`
}

Jump to

Keyboard shortcuts

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