Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the hostport v1alpha1 API group +kubebuilder:object:generate=true +groupName=hostport.rmb938.com
Index ¶
- Variables
- type HostPort
- func (in *HostPort) DeepCopy() *HostPort
- func (in *HostPort) DeepCopyInto(out *HostPort)
- func (in *HostPort) DeepCopyObject() runtime.Object
- func (r *HostPort) Default()
- func (r *HostPort) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *HostPort) ValidateCreate() (admission.Warnings, error)
- func (r *HostPort) ValidateDelete() (admission.Warnings, error)
- func (r *HostPort) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type HostPortClaim
- func (in *HostPortClaim) DeepCopy() *HostPortClaim
- func (in *HostPortClaim) DeepCopyInto(out *HostPortClaim)
- func (in *HostPortClaim) DeepCopyObject() runtime.Object
- func (r *HostPortClaim) Default()
- func (r *HostPortClaim) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *HostPortClaim) ValidateCreate() (admission.Warnings, error)
- func (r *HostPortClaim) ValidateDelete() (admission.Warnings, error)
- func (r *HostPortClaim) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type HostPortClaimList
- type HostPortClaimSpec
- type HostPortClaimStatus
- type HostPortClaimStatusPhase
- type HostPortClass
- func (in *HostPortClass) DeepCopy() *HostPortClass
- func (in *HostPortClass) DeepCopyInto(out *HostPortClass)
- func (in *HostPortClass) DeepCopyObject() runtime.Object
- func (r *HostPortClass) Default()
- func (r *HostPortClass) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *HostPortClass) ValidateCreate() (admission.Warnings, error)
- func (r *HostPortClass) ValidateDelete() (admission.Warnings, error)
- func (r *HostPortClass) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type HostPortClassList
- type HostPortClassSpec
- type HostPortClassSpecPool
- type HostPortClassStatus
- type HostPortList
- type HostPortPhase
- type HostPortSpec
- type HostPortStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "hostport.rmb938.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 HostPortFinalizer = GroupVersion.Group )
var ( HostPortPodAnnotationClaimPrefix = "claim." + GroupVersion.Group HostPortPodAnnotationPortPrefix = "port." + GroupVersion.Group )
Functions ¶
This section is empty.
Types ¶
type HostPort ¶
type HostPort struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:Required Spec HostPortSpec `json:"spec,omitempty"` // +kubebuilder:validation:Optional Status HostPortStatus `json:"status,omitempty"` }
HostPort is the Schema for the hostports API
func (*HostPort) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPort.
func (*HostPort) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HostPort) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*HostPort) Default ¶
func (r *HostPort) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*HostPort) SetupWebhookWithManager ¶
func (*HostPort) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*HostPort) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type HostPortClaim ¶
type HostPortClaim struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:Required Spec HostPortClaimSpec `json:"spec,omitempty"` // +kubebuilder:validation:Optional Status HostPortClaimStatus `json:"status,omitempty"` }
HostPortClaim is the Schema for the hostportclaims API
func (*HostPortClaim) DeepCopy ¶
func (in *HostPortClaim) DeepCopy() *HostPortClaim
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPortClaim.
func (*HostPortClaim) DeepCopyInto ¶
func (in *HostPortClaim) DeepCopyInto(out *HostPortClaim)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HostPortClaim) DeepCopyObject ¶
func (in *HostPortClaim) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*HostPortClaim) Default ¶
func (r *HostPortClaim) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*HostPortClaim) SetupWebhookWithManager ¶
func (r *HostPortClaim) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*HostPortClaim) ValidateCreate ¶
func (r *HostPortClaim) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*HostPortClaim) ValidateDelete ¶
func (r *HostPortClaim) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*HostPortClaim) ValidateUpdate ¶
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type HostPortClaimList ¶
type HostPortClaimList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []HostPortClaim `json:"items"` }
HostPortClaimList contains a list of HostPortClaim
func (*HostPortClaimList) DeepCopy ¶
func (in *HostPortClaimList) DeepCopy() *HostPortClaimList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPortClaimList.
func (*HostPortClaimList) DeepCopyInto ¶
func (in *HostPortClaimList) DeepCopyInto(out *HostPortClaimList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HostPortClaimList) DeepCopyObject ¶
func (in *HostPortClaimList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HostPortClaimSpec ¶
type HostPortClaimSpec struct { // The host port class // +kubebuilder:validation:Required HostPortClassName string `json:"hostPortClassName"` // The binding reference to the HostPort backing this claim // +kubebuilder:validation:Optional HostPortName string `json:"hostPortName"` }
HostPortClaimSpec defines the desired state of HostPortClaim
func (*HostPortClaimSpec) DeepCopy ¶
func (in *HostPortClaimSpec) DeepCopy() *HostPortClaimSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPortClaimSpec.
func (*HostPortClaimSpec) DeepCopyInto ¶
func (in *HostPortClaimSpec) DeepCopyInto(out *HostPortClaimSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostPortClaimStatus ¶
type HostPortClaimStatus struct { // Resource status conditions // +kubebuilder:validation:Optional Conditions []intmetav1.Condition `json:"conditions,omitempty"` // +kubebuilder:validation:Optional Phase HostPortClaimStatusPhase `json:"phase,omitempty"` }
HostPortClaimStatus defines the observed state of HostPortClaim
func (*HostPortClaimStatus) DeepCopy ¶
func (in *HostPortClaimStatus) DeepCopy() *HostPortClaimStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPortClaimStatus.
func (*HostPortClaimStatus) DeepCopyInto ¶
func (in *HostPortClaimStatus) DeepCopyInto(out *HostPortClaimStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostPortClaimStatusPhase ¶
type HostPortClaimStatusPhase string
const ( HostPortClaimPhasePending HostPortClaimStatusPhase = "Pending" HostPortClaimPhaseBound HostPortClaimStatusPhase = "Bound" HostPortClaimPhaseDeleting HostPortClaimStatusPhase = "Deleting" )
type HostPortClass ¶
type HostPortClass struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:Required Spec HostPortClassSpec `json:"spec,omitempty"` // +kubebuilder:validation:Optional Status HostPortClassStatus `json:"status,omitempty"` }
HostPortClass is the Schema for the hostportclasses API
func (*HostPortClass) DeepCopy ¶
func (in *HostPortClass) DeepCopy() *HostPortClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPortClass.
func (*HostPortClass) DeepCopyInto ¶
func (in *HostPortClass) DeepCopyInto(out *HostPortClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HostPortClass) DeepCopyObject ¶
func (in *HostPortClass) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*HostPortClass) Default ¶
func (r *HostPortClass) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*HostPortClass) SetupWebhookWithManager ¶
func (r *HostPortClass) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*HostPortClass) ValidateCreate ¶
func (r *HostPortClass) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*HostPortClass) ValidateDelete ¶
func (r *HostPortClass) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*HostPortClass) ValidateUpdate ¶
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type HostPortClassList ¶
type HostPortClassList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []HostPortClass `json:"items"` }
HostPortClassList contains a list of HostPortClass
func (*HostPortClassList) DeepCopy ¶
func (in *HostPortClassList) DeepCopy() *HostPortClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPortClassList.
func (*HostPortClassList) DeepCopyInto ¶
func (in *HostPortClassList) DeepCopyInto(out *HostPortClassList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HostPortClassList) DeepCopyObject ¶
func (in *HostPortClassList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HostPortClassSpec ¶
type HostPortClassSpec struct { // +kubebuilder:validation:Required Pools []HostPortClassSpecPool `json:"pools"` }
HostPortClassSpec defines the desired state of HostPortClass
func (*HostPortClassSpec) DeepCopy ¶
func (in *HostPortClassSpec) DeepCopy() *HostPortClassSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPortClassSpec.
func (*HostPortClassSpec) DeepCopyInto ¶
func (in *HostPortClassSpec) DeepCopyInto(out *HostPortClassSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostPortClassSpecPool ¶
type HostPortClassSpecPool struct { // The start port for the pool // +kubebuilder:validation:Required // +kubebuilder:validation:Minimum=1 // +kubebuilder:validation:Maximum=65535 Start int `json:"start"` // The end port for the pool // +kubebuilder:validation:Required // +kubebuilder:validation:Minimum=1 // +kubebuilder:validation:Maximum=65535 End int `json:"end"` }
func (*HostPortClassSpecPool) DeepCopy ¶
func (in *HostPortClassSpecPool) DeepCopy() *HostPortClassSpecPool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPortClassSpecPool.
func (*HostPortClassSpecPool) DeepCopyInto ¶
func (in *HostPortClassSpecPool) DeepCopyInto(out *HostPortClassSpecPool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostPortClassStatus ¶
type HostPortClassStatus struct { }
HostPortClassStatus defines the observed state of HostPortClass
func (*HostPortClassStatus) DeepCopy ¶
func (in *HostPortClassStatus) DeepCopy() *HostPortClassStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPortClassStatus.
func (*HostPortClassStatus) DeepCopyInto ¶
func (in *HostPortClassStatus) DeepCopyInto(out *HostPortClassStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostPortList ¶
type HostPortList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []HostPort `json:"items"` }
HostPortList contains a list of HostPort
func (*HostPortList) DeepCopy ¶
func (in *HostPortList) DeepCopy() *HostPortList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPortList.
func (*HostPortList) DeepCopyInto ¶
func (in *HostPortList) DeepCopyInto(out *HostPortList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HostPortList) DeepCopyObject ¶
func (in *HostPortList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HostPortPhase ¶
type HostPortPhase string
const ( HostPortPhasePending HostPortPhase = "Pending" HostPortPhaseAllocated HostPortPhase = "Allocated" HostPortPhaseDeleting HostPortPhase = "Deleting" )
type HostPortSpec ¶
type HostPortSpec struct { // The referencing claim // +kubebuilder:validation:Optional ClaimRef *v1.ObjectReference `json:"claimRef,omitempty"` // +kubebuilder:validation:Required HostPortClassName string `json:"hostPortClassName"` }
HostPortSpec defines the desired state of HostPort
func (*HostPortSpec) DeepCopy ¶
func (in *HostPortSpec) DeepCopy() *HostPortSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPortSpec.
func (*HostPortSpec) DeepCopyInto ¶
func (in *HostPortSpec) DeepCopyInto(out *HostPortSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostPortStatus ¶
type HostPortStatus struct { // Resource status conditions // +kubebuilder:validation:Optional Conditions []intmetav1.Condition `json:"conditions,omitempty"` // The port that was allocated by the HostPortClass // +kubebuilder:validation:Optional // +kubebuilder:validation:Minimum=0 // +kubebuilder:validation:Maximum=65535 Port int `json:"port"` // +kubebuilder:validation:Optional Phase HostPortPhase `json:"phase,omitempty"` }
HostPortStatus defines the observed state of HostPort
func (*HostPortStatus) DeepCopy ¶
func (in *HostPortStatus) DeepCopy() *HostPortStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPortStatus.
func (*HostPortStatus) DeepCopyInto ¶
func (in *HostPortStatus) DeepCopyInto(out *HostPortStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.