Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the hostpathprovisioner v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=hostpathprovisioner.kubevirt.io
Package v1alpha1 contains API Schema definitions for the hostpathprovisioner v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=hostpathprovisioner.kubevirt.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "hostpathprovisioner.kubevirt.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
Types ¶
type HostPathProvisioner ¶
type HostPathProvisioner struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec HostPathProvisionerSpec `json:"spec,omitempty"` Status HostPathProvisionerStatus `json:"status,omitempty"` }
HostPathProvisioner is the Schema for the hostpathprovisioners API +k8s:openapi-gen=true +kubebuilder:resource:path=hostpathprovisioners,scope=Cluster
func (*HostPathProvisioner) DeepCopy ¶
func (in *HostPathProvisioner) DeepCopy() *HostPathProvisioner
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPathProvisioner.
func (*HostPathProvisioner) DeepCopyInto ¶
func (in *HostPathProvisioner) DeepCopyInto(out *HostPathProvisioner)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HostPathProvisioner) DeepCopyObject ¶
func (in *HostPathProvisioner) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HostPathProvisionerList ¶
type HostPathProvisionerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []HostPathProvisioner `json:"items"` }
HostPathProvisionerList contains a list of HostPathProvisioner
func (*HostPathProvisionerList) DeepCopy ¶
func (in *HostPathProvisionerList) DeepCopy() *HostPathProvisionerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPathProvisionerList.
func (*HostPathProvisionerList) DeepCopyInto ¶
func (in *HostPathProvisionerList) DeepCopyInto(out *HostPathProvisionerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HostPathProvisionerList) DeepCopyObject ¶
func (in *HostPathProvisionerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HostPathProvisionerSpec ¶
type HostPathProvisionerSpec struct { ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty" valid:"required"` PathConfig PathConfig `json:"pathConfig" valid:"required"` }
HostPathProvisionerSpec defines the desired state of HostPathProvisioner +k8s:openapi-gen=true
func (*HostPathProvisionerSpec) DeepCopy ¶
func (in *HostPathProvisionerSpec) DeepCopy() *HostPathProvisionerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPathProvisionerSpec.
func (*HostPathProvisionerSpec) DeepCopyInto ¶
func (in *HostPathProvisionerSpec) DeepCopyInto(out *HostPathProvisionerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostPathProvisionerStatus ¶
type HostPathProvisionerStatus struct { Conditions []conditions.Condition `json:"conditions,omitempty" optional:"true"` OperatorVersion string `json:"operatorVersion,omitempty" optional:"true"` TargetVersion string `json:"targetVersion,omitempty" optional:"true"` ObservedVersion string `json:"observedVersion,omitempty" optional:"true"` }
HostPathProvisionerStatus defines the observed state of HostPathProvisioner +k8s:openapi-gen=true
func (*HostPathProvisionerStatus) DeepCopy ¶
func (in *HostPathProvisionerStatus) DeepCopy() *HostPathProvisionerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPathProvisionerStatus.
func (*HostPathProvisionerStatus) DeepCopyInto ¶
func (in *HostPathProvisionerStatus) DeepCopyInto(out *HostPathProvisionerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PathConfig ¶
type PathConfig struct { Path string `json:"path,omitempty" valid:"required"` UseNamingPrefix string `json:"useNamingPrefix,omitempty"` }
PathConfig contains the information needed to build the path where the PVs will be created. +k8s:openapi-gen=true
func (*PathConfig) DeepCopy ¶
func (in *PathConfig) DeepCopy() *PathConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PathConfig.
func (*PathConfig) DeepCopyInto ¶
func (in *PathConfig) DeepCopyInto(out *PathConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.