Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the listeners v1alpha1 API group +kubebuilder:object:generate=true +groupName=listeners.zncdata.dev
Index ¶
- Constants
- Variables
- type CSIDriverSpec
- type CSIProvisionerSpec
- type ListenerCSI
- type ListenerCSIList
- type ListenerCSISpec
- type ListenerCSIStatus
- type ListenerClass
- type ListenerClassList
- type ListenerClassSpec
- type ListenerClassStatus
- type LivenessProbeSpec
- type LoggingSpec
- type NodeDriverRegistrarSpec
- type ServiceType
Constants ¶
const ( // default values CSIDriverImageRepository = "quay.io/zncdatadev/listener-csi-driver" CSIDriverImageTag = "0.0.0-dev" CSIDriverImagePullpolicy = "IfNotPresent" NodeDriverRegistrarImageRepository = "registry.k8s.io/sig-storage/csi-node-driver-registrar" NodeDriverRegistrarImageTag = "v2.8.0" NodeDriverRegistrarImagePullPolicy = "IfNotPresent" CSIProvisionerImageRepository = "registry.k8s.io/sig-storage/csi-provisioner" CSIProvisionerImageTag = "v3.5.0" CSIProvisionerImagePullPolicy = "IfNotPresent" LivenessProbeImageRepository = "registry.k8s.io/sig-storage/livenessprobe" LivenessProbeImageTag = "v2.11.0" LivenessProbeImagePullPolicy = "IfNotPresent" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "listeners.zncdata.dev", 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 CSIDriverSpec ¶
type CSIDriverSpec struct { // +kubebuilder:validation:Optional // +kubebuilder:default:="quay.io/zncdatadev/listener-csi-driver" Repository string `json:"repository,omitempty"` // +kubebuilder:validation:Optional // +kubebuilder:default:="0.0.0-dev" Tag string `json:"tag,omitempty"` // +kubebuilder:validation:Optional // +kubebuilder:default:="IfNotPresent" // +kubebuilder:validation:Enum=Always;IfNotPresent;Never PullPolicy string `json:"pullPolicy,omitempty"` // +kubebuilder:validation:Optional Logging *LoggingSpec `json:"logging,omitempty"` }
func (*CSIDriverSpec) DeepCopy ¶
func (in *CSIDriverSpec) DeepCopy() *CSIDriverSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIDriverSpec.
func (*CSIDriverSpec) DeepCopyInto ¶
func (in *CSIDriverSpec) DeepCopyInto(out *CSIDriverSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CSIProvisionerSpec ¶
type CSIProvisionerSpec struct { // +kubebuilder:validation:Optional // +kubebuilder:default:="registry.k8s.io/sig-storage/csi-provisioner" Repository string `json:"repository,omitempty"` // +kubebuilder:validation:Optional // +kubebuilder:default:="v3.5.0" Tag string `json:"tag,omitempty"` // +kubebuilder:validation:Optional // +kubebuilder:default:="IfNotPresent" // +kubebuilder:validation:Enum=Always;IfNotPresent;Never PullPolicy string `json:"pullPolicy,omitempty"` // +kubebuilder:validation:Optional Logging *LoggingSpec `json:"logging,omitempty"` }
func (*CSIProvisionerSpec) DeepCopy ¶
func (in *CSIProvisionerSpec) DeepCopy() *CSIProvisionerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIProvisionerSpec.
func (*CSIProvisionerSpec) DeepCopyInto ¶
func (in *CSIProvisionerSpec) DeepCopyInto(out *CSIProvisionerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ListenerCSI ¶
type ListenerCSI struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ListenerCSISpec `json:"spec,omitempty"` Status ListenerCSIStatus `json:"status,omitempty"` }
ListenerCSI is the Schema for the listenercsis API
func (*ListenerCSI) DeepCopy ¶
func (in *ListenerCSI) DeepCopy() *ListenerCSI
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListenerCSI.
func (*ListenerCSI) DeepCopyInto ¶
func (in *ListenerCSI) DeepCopyInto(out *ListenerCSI)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ListenerCSI) DeepCopyObject ¶
func (in *ListenerCSI) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ListenerCSIList ¶
type ListenerCSIList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ListenerCSI `json:"items"` }
ListenerCSIList contains a list of ListenerCSI
func (*ListenerCSIList) DeepCopy ¶
func (in *ListenerCSIList) DeepCopy() *ListenerCSIList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListenerCSIList.
func (*ListenerCSIList) DeepCopyInto ¶
func (in *ListenerCSIList) DeepCopyInto(out *ListenerCSIList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ListenerCSIList) DeepCopyObject ¶
func (in *ListenerCSIList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ListenerCSISpec ¶
type ListenerCSISpec struct { CSIDriver *CSIDriverSpec `json:"csiDriver,omitempty"` NodeDriverRegistrar *NodeDriverRegistrarSpec `json:"nodeDriverRegistrar,omitempty"` CSIProvisioner *CSIProvisionerSpec `json:"csiProvisioner,omitempty"` LivenessProbe *LivenessProbeSpec `json:"livenessProbe,omitempty"` }
ListenerCSISpec defines the desired state of ListenerCSI
func (*ListenerCSISpec) DeepCopy ¶
func (in *ListenerCSISpec) DeepCopy() *ListenerCSISpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListenerCSISpec.
func (*ListenerCSISpec) DeepCopyInto ¶
func (in *ListenerCSISpec) DeepCopyInto(out *ListenerCSISpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ListenerCSIStatus ¶
ListenerCSIStatus defines the observed state of ListenerCSI
func (*ListenerCSIStatus) DeepCopy ¶
func (in *ListenerCSIStatus) DeepCopy() *ListenerCSIStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListenerCSIStatus.
func (*ListenerCSIStatus) DeepCopyInto ¶
func (in *ListenerCSIStatus) DeepCopyInto(out *ListenerCSIStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ListenerClass ¶
type ListenerClass struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ListenerClassSpec `json:"spec,omitempty"` Status ListenerClassStatus `json:"status,omitempty"` }
ListenerClass is the Schema for the listenerclasses API
func (*ListenerClass) DeepCopy ¶
func (in *ListenerClass) DeepCopy() *ListenerClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListenerClass.
func (*ListenerClass) DeepCopyInto ¶
func (in *ListenerClass) DeepCopyInto(out *ListenerClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ListenerClass) DeepCopyObject ¶
func (in *ListenerClass) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ListenerClassList ¶
type ListenerClassList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ListenerClass `json:"items"` }
ListenerClassList contains a list of ListenerClass
func (*ListenerClassList) DeepCopy ¶
func (in *ListenerClassList) DeepCopy() *ListenerClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListenerClassList.
func (*ListenerClassList) DeepCopyInto ¶
func (in *ListenerClassList) DeepCopyInto(out *ListenerClassList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ListenerClassList) DeepCopyObject ¶
func (in *ListenerClassList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ListenerClassSpec ¶
type ListenerClassSpec struct { // +kubebuilder:validation:Required // +kubebuilder:validation:Enum=LoadBalancer;NodePort;ClusterIP ServiceType ServiceType `json:"serviceType,omitempty"` // +kubebuilder:validation:Optional ServiceAnnotations map[string]string `json:"serviceAnnotations,omitempty"` }
ListenerClassSpec defines the desired state of ListenerClass
func (*ListenerClassSpec) DeepCopy ¶
func (in *ListenerClassSpec) DeepCopy() *ListenerClassSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListenerClassSpec.
func (*ListenerClassSpec) DeepCopyInto ¶
func (in *ListenerClassSpec) DeepCopyInto(out *ListenerClassSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ListenerClassStatus ¶
ListenerClassStatus defines the observed state of ListenerClass
func (*ListenerClassStatus) DeepCopy ¶
func (in *ListenerClassStatus) DeepCopy() *ListenerClassStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListenerClassStatus.
func (*ListenerClassStatus) DeepCopyInto ¶
func (in *ListenerClassStatus) DeepCopyInto(out *ListenerClassStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LivenessProbeSpec ¶
type LivenessProbeSpec struct { // +kubebuilder:validation:Optional // +kubebuilder:default:="registry.k8s.io/sig-storage/livenessprobe" Repository string `json:"repository,omitempty"` // +kubebuilder:validation:Optional // +kubebuilder:default:="v2.11.0" Tag string `json:"tag,omitempty"` // +kubebuilder:validation:Optional // +kubebuilder:default:="IfNotPresent" // +kubebuilder:validation:Enum=Always;IfNotPresent;Never PullPolicy string `json:"pullPolicy,omitempty"` // +kubebuilder:validation:Optional Logging *LoggingSpec `json:"logging,omitempty"` }
func (*LivenessProbeSpec) DeepCopy ¶
func (in *LivenessProbeSpec) DeepCopy() *LivenessProbeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LivenessProbeSpec.
func (*LivenessProbeSpec) DeepCopyInto ¶
func (in *LivenessProbeSpec) DeepCopyInto(out *LivenessProbeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoggingSpec ¶
type LoggingSpec struct { // +kubebuilder:validation:Optional // +kubebuilder:default:="info" Level string `json:"level,omitempty"` }
func (*LoggingSpec) DeepCopy ¶
func (in *LoggingSpec) DeepCopy() *LoggingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingSpec.
func (*LoggingSpec) DeepCopyInto ¶
func (in *LoggingSpec) DeepCopyInto(out *LoggingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeDriverRegistrarSpec ¶
type NodeDriverRegistrarSpec struct { // +kubebuilder:validation:Optional // +kubebuilder:default:="registry.k8s.io/sig-storage/csi-node-driver-registrar" Repository string `json:"repository,omitempty"` // +kubebuilder:validation:Optional // +kubebuilder:default:="v2.8.0" Tag string `json:"tag,omitempty"` // +kubebuilder:validation:Optional // +kubebuilder:default:="IfNotPresent" // +kubebuilder:validation:Enum=Always;IfNotPresent;Never PullPolicy string `json:"pullPolicy,omitempty"` // +kubebuilder:validation:Optional Logging *LoggingSpec `json:"logging,omitempty"` }
func (*NodeDriverRegistrarSpec) DeepCopy ¶
func (in *NodeDriverRegistrarSpec) DeepCopy() *NodeDriverRegistrarSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeDriverRegistrarSpec.
func (*NodeDriverRegistrarSpec) DeepCopyInto ¶
func (in *NodeDriverRegistrarSpec) DeepCopyInto(out *NodeDriverRegistrarSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceType ¶
type ServiceType string
Service Type string describes ingress methods for a service +enum
const ( ServiceTypeClusterIP ServiceType = "ClusterIP" ServiceTypeNodePort ServiceType = "NodePort" ServiceTypeLoadBalancer ServiceType = "LoadBalancer" )