Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the pfstatusrelay v1alpha1 API group +kubebuilder:object:generate=true +groupName=pfstatusrelay.openshift.io
Index ¶
- Variables
- type PFLACPMonitor
- func (in *PFLACPMonitor) DeepCopy() *PFLACPMonitor
- func (in *PFLACPMonitor) DeepCopyInto(out *PFLACPMonitor)
- func (in *PFLACPMonitor) DeepCopyObject() runtime.Object
- func (r *PFLACPMonitor) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *PFLACPMonitor) ValidateCreate() (admission.Warnings, error)
- func (r *PFLACPMonitor) ValidateDelete() (admission.Warnings, error)
- func (r *PFLACPMonitor) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type PFLACPMonitorList
- type PFLACPMonitorSpec
- type PFLACPMonitorStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "pfstatusrelay.openshift.io", 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 PFLACPMonitor ¶
type PFLACPMonitor struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PFLACPMonitorSpec `json:"spec,omitempty"` Status PFLACPMonitorStatus `json:"status,omitempty"` }
PFLACPMonitor is the Schema for the pflacpmonitors API
func (*PFLACPMonitor) DeepCopy ¶
func (in *PFLACPMonitor) DeepCopy() *PFLACPMonitor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PFLACPMonitor.
func (*PFLACPMonitor) DeepCopyInto ¶
func (in *PFLACPMonitor) DeepCopyInto(out *PFLACPMonitor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PFLACPMonitor) DeepCopyObject ¶
func (in *PFLACPMonitor) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PFLACPMonitor) SetupWebhookWithManager ¶
func (r *PFLACPMonitor) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager will setup the manager to manage the webhooks
func (*PFLACPMonitor) ValidateCreate ¶
func (r *PFLACPMonitor) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*PFLACPMonitor) ValidateDelete ¶
func (r *PFLACPMonitor) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*PFLACPMonitor) ValidateUpdate ¶
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type PFLACPMonitorList ¶
type PFLACPMonitorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PFLACPMonitor `json:"items"` }
PFLACPMonitorList contains a list of PFLACPMonitor
func (*PFLACPMonitorList) DeepCopy ¶
func (in *PFLACPMonitorList) DeepCopy() *PFLACPMonitorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PFLACPMonitorList.
func (*PFLACPMonitorList) DeepCopyInto ¶
func (in *PFLACPMonitorList) DeepCopyInto(out *PFLACPMonitorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PFLACPMonitorList) DeepCopyObject ¶
func (in *PFLACPMonitorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PFLACPMonitorSpec ¶
type PFLACPMonitorSpec struct { // List of interfaces to monitor Interfaces []string `json:"interfaces"` // Polling interval in milliseconds // +optional PollingInterval int `json:"pollingInterval,omitempty"` // Selector to filter nodes // +optional NodeSelector map[string]string `json:"nodeSelector,omitempty"` }
PFLACPMonitorSpec defines the desired state of PFLACPMonitor
func (*PFLACPMonitorSpec) DeepCopy ¶
func (in *PFLACPMonitorSpec) DeepCopy() *PFLACPMonitorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PFLACPMonitorSpec.
func (*PFLACPMonitorSpec) DeepCopyInto ¶
func (in *PFLACPMonitorSpec) DeepCopyInto(out *PFLACPMonitorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PFLACPMonitorStatus ¶
type PFLACPMonitorStatus struct { // Degraded indicates whether the monitor is in a degraded state // +optional Degraded bool `json:"degraded,omitempty"` // Error message // +optional ErrorMessage string `json:"errorMessage,omitempty"` }
PFLACPMonitorStatus defines the observed state of PFLACPMonitor
func (*PFLACPMonitorStatus) DeepCopy ¶
func (in *PFLACPMonitorStatus) DeepCopy() *PFLACPMonitorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PFLACPMonitorStatus.
func (*PFLACPMonitorStatus) DeepCopyInto ¶
func (in *PFLACPMonitorStatus) DeepCopyInto(out *PFLACPMonitorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.