v1beta1

package
v2.16.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the infrastructure v1beta1 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io

Index

Constants

View Source
const (
	// ClusterFinalizer allows DockerClusterReconciler to clean up resources associated with DockerCluster before
	// removing it from the apiserver.
	ClusterFinalizer = "vcdcluster.infrastructure.cluster.x-k8s.io"
)
View Source
const Group = "infrastructure.cluster.x-k8s.io"
View Source
const Version = "v1beta1"

Variables

View Source
var (
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}
	// SchemeBuilder is the scheme builder with scheme init functions to run for this API package
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is a common registration function for mapping packaged scoped group & version keys to a scheme
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type APIEndpoint

type APIEndpoint struct {
	// Host is the hostname on which the API server is serving.
	Host string `json:"host"`

	// Port is the port on which the API server is serving.
	Port int `json:"port"`
}

APIEndpoint represents a reachable Kubernetes API endpoint.

func (*APIEndpoint) DeepCopy

func (in *APIEndpoint) DeepCopy() *APIEndpoint

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIEndpoint.

func (*APIEndpoint) DeepCopyInto

func (in *APIEndpoint) DeepCopyInto(out *APIEndpoint)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LoadBalancerConfig added in v2.5.0

type LoadBalancerConfig struct {
	// UseOneArm defines the intent to une OneArm when upgrading CAPVCD from 0.5.x to 1.0.0
	UseOneArm bool   `json:"useOneArm,omitempty"`
	VipSubnet string `json:"vipSubnet,omitempty"`
}

LoadBalancerConfig defines load-balancer configuration for the Cluster both for the control plane nodes and for the CPI

func (*LoadBalancerConfig) DeepCopy added in v2.5.0

func (in *LoadBalancerConfig) DeepCopy() *LoadBalancerConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerConfig.

func (*LoadBalancerConfig) DeepCopyInto added in v2.5.0

func (in *LoadBalancerConfig) DeepCopyInto(out *LoadBalancerConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Ports

type Ports struct {
	HTTP  int32 `json:"http,omitempty"`
	HTTPS int32 `json:"https,omitempty"`
	TCP   int32 `json:"tcp,omitempty"`
}

Ports :

func (*Ports) DeepCopy

func (in *Ports) DeepCopy() *Ports

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ports.

func (*Ports) DeepCopyInto

func (in *Ports) DeepCopyInto(out *Ports)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProxyConfig

type ProxyConfig struct {
	HTTPProxy  string `json:"httpProxy,omitempty"`
	HTTPSProxy string `json:"httpsProxy,omitempty"`
	NoProxy    string `json:"noProxy,omitempty"`
}

ProxyConfig defines HTTP proxy environment variables for containerd

func (*ProxyConfig) DeepCopy

func (in *ProxyConfig) DeepCopy() *ProxyConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyConfig.

func (*ProxyConfig) DeepCopyInto

func (in *ProxyConfig) DeepCopyInto(out *ProxyConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UserCredentialsContext

type UserCredentialsContext struct {
	Username     string              `json:"username,omitempty"`
	Password     string              `json:"password,omitempty"`
	RefreshToken string              `json:"refreshToken,omitempty"`
	SecretRef    *v1.SecretReference `json:"secretRef,omitempty"`
}

func (*UserCredentialsContext) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserCredentialsContext.

func (*UserCredentialsContext) DeepCopyInto

func (in *UserCredentialsContext) DeepCopyInto(out *UserCredentialsContext)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VCDCluster

type VCDCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// +kubebuilder:validation:Required
	Spec   VCDClusterSpec   `json:"spec"`
	Status VCDClusterStatus `json:"status,omitempty"`
}

VCDCluster is the Schema for the vcdclusters API

func (*VCDCluster) DeepCopy

func (in *VCDCluster) DeepCopy() *VCDCluster

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VCDCluster.

func (*VCDCluster) DeepCopyInto

func (in *VCDCluster) DeepCopyInto(out *VCDCluster)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VCDCluster) DeepCopyObject

func (in *VCDCluster) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VCDClusterList

type VCDClusterList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []VCDCluster `json:"items"`
}

VCDClusterList contains a list of VCDCluster

func (*VCDClusterList) DeepCopy

func (in *VCDClusterList) DeepCopy() *VCDClusterList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VCDClusterList.

func (*VCDClusterList) DeepCopyInto

func (in *VCDClusterList) DeepCopyInto(out *VCDClusterList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VCDClusterList) DeepCopyObject

func (in *VCDClusterList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VCDClusterSpec

type VCDClusterSpec struct {

	// +optional
	ControlPlaneEndpoint APIEndpoint `json:"controlPlaneEndpoint"`
	// +kubebuilder:validation:Required
	Site string `json:"site"`
	// +kubebuilder:validation:Required
	Org string `json:"org"`
	// +kubebuilder:validation:Required
	Ovdc string `json:"ovdc"`
	// +kubebuilder:validation:Required
	OvdcNetwork string `json:"ovdcNetwork"`
	// +kubebuilder:validation:Required
	UserCredentialsContext UserCredentialsContext `json:"userContext"`
	// + optional
	RDEId string `json:"rdeId,omitempty"`
	// +optional
	ParentUID string `json:"parentUid,omitempty"`
	// +optional
	//+kubebuilder:default=false
	UseAsManagementCluster bool `json:"useAsManagementCluster,omitempty"`
	// +optional
	ProxyConfigSpec ProxyConfig `json:"proxyConfigSpec,omitempty"`
	// +optional
	LoadBalancerConfigSpec LoadBalancerConfig `json:"loadBalancerConfigSpec,omitempty"`
}

VCDClusterSpec defines the desired state of VCDCluster

func (*VCDClusterSpec) DeepCopy

func (in *VCDClusterSpec) DeepCopy() *VCDClusterSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VCDClusterSpec.

func (*VCDClusterSpec) DeepCopyInto

func (in *VCDClusterSpec) DeepCopyInto(out *VCDClusterSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VCDClusterStatus

type VCDClusterStatus struct {

	// Ready denotes that the vcd cluster (infrastructure) is ready.
	// +kubebuilder:default=false
	Ready bool `json:"ready"`

	// RdeVersionInUse indicates the version of capvcdCluster entity type used by CAPVCD.
	// +kubebuilder:default="1.1.0"
	RdeVersionInUse string `json:"rdeVersionInUse"`

	// MetadataUpdated denotes that the metadata of Vapp is updated.
	// +optional
	VAppMetadataUpdated bool `json:"vappMetadataUpdated,omitempty"`

	// optional
	Site string `json:"site,omitempty"`

	// optional
	Org string `json:"org,omitempty"`

	// optional
	Ovdc string `json:"ovdc,omitempty"`

	// optional
	OvdcNetwork string `json:"ovdcNetwork,omitempty"`

	// +optional
	InfraId string `json:"infraId,omitempty"`

	// +optional
	ParentUID string `json:"parentUid,omitempty"`

	// +optional
	UseAsManagementCluster bool `json:"useAsManagementCluster,omitempty"`

	// +optional
	ProxyConfig ProxyConfig `json:"proxyConfig,omitempty"`

	// +optional
	LoadBalancerConfig LoadBalancerConfig `json:"loadBalancerConfig,omitempty"`
}

VCDClusterStatus defines the observed state of VCDCluster

func (*VCDClusterStatus) DeepCopy

func (in *VCDClusterStatus) DeepCopy() *VCDClusterStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VCDClusterStatus.

func (*VCDClusterStatus) DeepCopyInto

func (in *VCDClusterStatus) DeepCopyInto(out *VCDClusterStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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