v1alpha1

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the csi v1alpha1 API group +kubebuilder:object:generate=true +groupName=csi.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: "csi.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 NonParavirtualConfig

type NonParavirtualConfig struct {
	// +kubebuilder:validation:Optional
	TLSThumbprint string `json:"tlsThumbprint,omitempty"`

	// The namespace csi components are to be deployed in
	// +kubebuilder:validation:Optional
	Namespace string `json:"namespace"`

	// +kubebuilder:validation:Optional
	ClusterName string `json:"clusterName"`

	// +kubebuilder:validation:Optional
	Server string `json:"server"`

	// +kubebuilder:validation:Optional
	Datacenter string `json:"datacenter"`

	// +kubebuilder:validation:Optional
	PublicNetwork string `json:"publicNetwork"`

	// 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"`

	// +kubebuilder:validation:Optional
	Region string `json:"region,omitempty"`

	// +kubebuilder:validation:Optional
	Zone string `json:"zone,omitempty"`

	// +kubebuilder:validation:Optional
	InsecureFlag *bool `json:"insecureFlag,omitempty"`

	// +kubebuilder:validation:Optional
	UseTopologyCategories *bool `json:"useTopologyCategories,omitempty"`

	// +kubebuilder:validation:Optional
	ProvisionTimeout string `json:"provisionTimeout,omitempty"`

	// +kubebuilder:validation:Optional
	AttachTimeout string `json:"attachTimeout,omitempty"`

	// +kubebuilder:validation:Optional
	ResizerTimeout string `json:"resizerTimeout,omitempty"`

	// +kubebuilder:validation:Optional
	VSphereVersion string `json:"vSphereVersion,omitempty"`

	// +kubebuilder:validation:Optional
	HTTPProxy string `json:"httpProxy,omitempty"`

	// +kubebuilder:validation:Optional
	HTTPSProxy string `json:"httpsProxy,omitempty"`

	// +kubebuilder:validation:Optional
	NoProxy string `json:"noProxy,omitempty"`

	// +kubebuilder:validation:Optional
	DeploymentReplicas *int32 `json:"deploymentReplicas,omitempty"`

	// +kubebuilder:validation:Optional
	WindowsSupport *bool `json:"windowsSupport,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 VSphereCSI

type VSphereCSI struct {
	// The vSphere mode. Either `vsphereCSI` or `vsphereParavirtualCSI`.
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Enum=vsphereCSI;vsphereParavirtualCSI
	Mode string `json:"mode"`

	*NonParavirtualConfig `json:"config,omitempty"`
}

func (*VSphereCSI) DeepCopy

func (in *VSphereCSI) DeepCopy() *VSphereCSI

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

func (*VSphereCSI) DeepCopyInto

func (in *VSphereCSI) DeepCopyInto(out *VSphereCSI)

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

type VSphereCSIConfig

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

	Spec   VSphereCSIConfigSpec   `json:"spec,omitempty"`
	Status VSphereCSIConfigStatus `json:"status,omitempty"`
}

VSphereCSIConfig is the Schema for the vspherecsiconfigs API

func (*VSphereCSIConfig) DeepCopy

func (in *VSphereCSIConfig) DeepCopy() *VSphereCSIConfig

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

func (*VSphereCSIConfig) DeepCopyInto

func (in *VSphereCSIConfig) DeepCopyInto(out *VSphereCSIConfig)

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

func (*VSphereCSIConfig) DeepCopyObject

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

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

type VSphereCSIConfigList

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

VSphereCSIConfigList contains a list of VSphereCSIConfig

func (*VSphereCSIConfigList) DeepCopy

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

func (*VSphereCSIConfigList) DeepCopyInto

func (in *VSphereCSIConfigList) DeepCopyInto(out *VSphereCSIConfigList)

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

func (*VSphereCSIConfigList) DeepCopyObject

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

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

type VSphereCSIConfigSpec

type VSphereCSIConfigSpec struct {
	VSphereCSI VSphereCSI `json:"vsphereCSI"`
}

VSphereCSIConfigSpec defines the desired state of VSphereCSIConfig

func (*VSphereCSIConfigSpec) DeepCopy

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

func (*VSphereCSIConfigSpec) DeepCopyInto

func (in *VSphereCSIConfigSpec) DeepCopyInto(out *VSphereCSIConfigSpec)

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

type VSphereCSIConfigStatus

type VSphereCSIConfigStatus struct {
	// Name of the secret created by csi controller
	//+ kubebuilder:validation:Optional
	SecretRef *string `json:"secretRef,omitempty"`
}

VSphereCSIConfigStatus defines the observed state of VSphereCSIConfig

func (*VSphereCSIConfigStatus) DeepCopy

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

func (*VSphereCSIConfigStatus) DeepCopyInto

func (in *VSphereCSIConfigStatus) DeepCopyInto(out *VSphereCSIConfigStatus)

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