v1alpha1

package
v0.0.0-...-891af87 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: Apache-2.0 Imports: 5 Imported by: 3

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the cpi v1alpha1 API group +kubebuilder:object:generate=true +groupName=cpi.tanzu.vmware.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "cpi.tanzu.vmware.com", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type NSXT

type NSXT struct {
	// A flag that enables pod routing
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=false
	PodRoutingEnabled *bool `json:"podRoutingEnabled,omitempty"`

	// Route configuration for NSXT
	// +kubebuilder:validation:Optional
	Route *NSXTRouteConfig `json:"route,omitempty"`

	// A secret reference that contains Nsx-T login credential to access NSX-T
	// consists of the field username and password
	// +kubebuilder:validation:Optional
	CredentialLocalObjRef *v1.TypedLocalObjectReference `json:"credentialLocalObjRef,omitempty"`

	// The NSX-T server
	// +kubebuilder:validation:Optional
	APIHost *string `json:"apiHost,omitempty"`

	// Insecure is to be set to true if NSX-T uses self-signed cert
	// +kubebuilder:validation:Optional
	Insecure *bool `json:"insecure,omitempty"`

	// RemoteAuth is to be set to true if NSX-T uses remote authentication (authentication done through the vIDM)
	// +kubebuilder:validation:Optional
	RemoteAuth *bool `json:"remoteAuth,omitempty"`

	// VMCAccessToken is VMC access token for token based authentication
	// +kubebuilder:validation:Optional
	VMCAccessToken *string `json:"vmcAccessToken,omitempty"`

	// VMCAuthHost is VMC verification host for token based authentication
	// +kubebuilder:validation:Optional
	VMCAuthHost *string `json:"vmcAuthHost,omitempty"`

	// Client certificate key for NSX-T
	// +kubebuilder:validation:Optional
	ClientCertKeyData *string `json:"clientCertKeyData,omitempty"`

	// Client certificate data for NSX-T
	// +kubebuilder:validation:Optional
	ClientCertData *string `json:"clientCertData,omitempty"`

	// The certificate authority for the server certificate for locally signed certificates
	// +kubebuilder:validation:Optional
	RootCAData *string `json:"rootCAData,omitempty"`
}

func (*NSXT) DeepCopy

func (in *NSXT) DeepCopy() *NSXT

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

func (*NSXT) DeepCopyInto

func (in *NSXT) DeepCopyInto(out *NSXT)

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

type NSXTRouteConfig

type NSXTRouteConfig struct {
	// NSX-T T0/T1 logical router path
	// +kubebuilder:validation:Optional
	RouterPath *string `json:"routerPath,omitempty"`
}

func (*NSXTRouteConfig) DeepCopy

func (in *NSXTRouteConfig) DeepCopy() *NSXTRouteConfig

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

func (*NSXTRouteConfig) DeepCopyInto

func (in *NSXTRouteConfig) DeepCopyInto(out *NSXTRouteConfig)

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

type NonParavirtualConfig

type NonParavirtualConfig struct {

	// The IP address or FQDN of the vSphere endpoint
	// +kubebuilder:validation:Optional
	VCenterAPIEndpoint *string `json:"vCenterAPIEndpoint,omitempty"`

	// The datacenter in which VMs are created/located
	// +kubebuilder:validation:Optional
	Datacenter *string `json:"datacenter,omitempty"`

	// A secret reference that contains vSphere login credentials to access a vSphere endpoint
	// consists of the fields username and password
	// +kubebuilder:validation:Optional
	VSphereCredentialLocalObjRef *v1.TypedLocalObjectReference `json:"vSphereCredentialLocalObjRef,omitempty"`

	// The cryptographic thumbprint of the vSphere endpoint's certificate. Default value is "".
	// +kubebuilder:validation:Optional
	TLSThumbprint *string `json:"tlsThumbprint,omitempty"`

	// The region used by vSphere multi-AZ feature
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty"`

	// The zone used by vSphere multi-AZ feature
	// +kubebuilder:validation:Optional
	Zone *string `json:"zone,omitempty"`

	// The flag that disables TLS peer verification
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=false
	Insecure *bool `json:"insecure,omitempty"`

	// The IP family configuration
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Enum="ipv4";"ipv6";"ipv4,ipv6";"ipv6,ipv4"
	IPFamily *string `json:"ipFamily,omitempty"`

	// +kubebuilder:validation:Optional
	VMNetwork *VMNetwork `json:"vmNetwork,omitempty"`

	// External arguments for cloud provider
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:="TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"
	TLSCipherSuites *string `json:"tlsCipherSuites,omitempty"`

	// +kubebuilder:validation:Optional
	NSXT *NSXT `json:"nsxt,omitempty"`

	// +kubebuilder:validation:Optional
	Proxy *Proxy `json:"proxy,omitempty"`
}

func (*NonParavirtualConfig) DeepCopy

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

func (*NonParavirtualConfig) DeepCopyInto

func (in *NonParavirtualConfig) DeepCopyInto(out *NonParavirtualConfig)

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

type ParavirtualConfig

type ParavirtualConfig struct {
	// A flag that enables pod routing by Antrea NSX for paravirtual mode
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=false
	AntreaNSXPodRoutingEnabled *bool `json:"antreaNSXPodRoutingEnabled,omitempty"`
}

func (*ParavirtualConfig) DeepCopy

func (in *ParavirtualConfig) DeepCopy() *ParavirtualConfig

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

func (*ParavirtualConfig) DeepCopyInto

func (in *ParavirtualConfig) DeepCopyInto(out *ParavirtualConfig)

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

type Proxy

type Proxy struct {
	// HTTP proxy setting
	// +kubebuilder:validation:Optional
	HTTPProxy *string `json:"http_proxy,omitempty"`

	// HTTPS proxy setting
	// +kubebuilder:validation:Optional
	HTTPSProxy *string `json:"https_proxy,omitempty"`

	// No-proxy setting
	// +kubebuilder:validation:Optional
	NoProxy *string `json:"no_proxy,omitempty"`
}

func (*Proxy) DeepCopy

func (in *Proxy) DeepCopy() *Proxy

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

func (*Proxy) DeepCopyInto

func (in *Proxy) DeepCopyInto(out *Proxy)

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

type VMNetwork

type VMNetwork struct {
	// Internal VM network name
	// +kubebuilder:validation:Optional
	Internal *string `json:"internal,omitempty"`

	// External VM network name
	// +kubebuilder:validation:Optional
	External *string `json:"external,omitempty"`

	// Internal VM network CIDR to be excluded
	// +kubebuilder:validation:Optional
	ExcludeInternalSubnetCidr *string `json:"excludeInternalSubnetCidr,omitempty"`

	// External VM network CIDR to be excluded
	// +kubebuilder:validation:Optional
	ExcludeExternalSubnetCidr *string `json:"excludeExternalSubnetCidr,omitempty"`
}

func (*VMNetwork) DeepCopy

func (in *VMNetwork) DeepCopy() *VMNetwork

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

func (*VMNetwork) DeepCopyInto

func (in *VMNetwork) DeepCopyInto(out *VMNetwork)

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

type VSphereCPI

type VSphereCPI struct {
	// The vSphere mode. Either `vsphereCPI` or `vsphereParavirtualCPI`.
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Enum=vsphereCPI;vsphereParavirtualCPI
	Mode *string `json:"mode,omitempty"`

	*NonParavirtualConfig `json:",omitempty"`

	*ParavirtualConfig `json:",omitempty"`
}

func (*VSphereCPI) DeepCopy

func (in *VSphereCPI) DeepCopy() *VSphereCPI

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

func (*VSphereCPI) DeepCopyInto

func (in *VSphereCPI) DeepCopyInto(out *VSphereCPI)

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

type VSphereCPIConfig

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

	Spec   VSphereCPIConfigSpec   `json:"spec,omitempty"`
	Status VSphereCPIConfigStatus `json:"status,omitempty"`
}

VSphereCPIConfig is the Schema for the VSphereCPIConfig API

func (*VSphereCPIConfig) DeepCopy

func (in *VSphereCPIConfig) DeepCopy() *VSphereCPIConfig

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

func (*VSphereCPIConfig) DeepCopyInto

func (in *VSphereCPIConfig) DeepCopyInto(out *VSphereCPIConfig)

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

func (*VSphereCPIConfig) DeepCopyObject

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

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

type VSphereCPIConfigList

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

VSphereCPIConfigList contains a list of VSphereCPIConfig

func (*VSphereCPIConfigList) DeepCopy

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

func (*VSphereCPIConfigList) DeepCopyInto

func (in *VSphereCPIConfigList) DeepCopyInto(out *VSphereCPIConfigList)

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

func (*VSphereCPIConfigList) DeepCopyObject

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

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

type VSphereCPIConfigSpec

type VSphereCPIConfigSpec struct {
	VSphereCPI VSphereCPI `json:"vsphereCPI"`
}

VSphereCPIConfigSpec defines the desired state of VSphereCPIConfig

func (*VSphereCPIConfigSpec) DeepCopy

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

func (*VSphereCPIConfigSpec) DeepCopyInto

func (in *VSphereCPIConfigSpec) DeepCopyInto(out *VSphereCPIConfigSpec)

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

type VSphereCPIConfigStatus

type VSphereCPIConfigStatus struct {
	// Name of the data value secret created by vSphere CPI controller
	//+ kubebuilder:validation:Optional
	SecretRef string `json:"secretRef,omitempty"`
}

VSphereCPIConfigStatus defines the observed state of VSphereCPIConfig

func (*VSphereCPIConfigStatus) DeepCopy

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

func (*VSphereCPIConfigStatus) DeepCopyInto

func (in *VSphereCPIConfigStatus) DeepCopyInto(out *VSphereCPIConfigStatus)

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