Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the redhatcop v1alpha1 API group +kubebuilder:object:generate=true +groupName=redhatcop.redhat.io
Index ¶
- Variables
- type KeepalivedGroup
- func (in *KeepalivedGroup) DeepCopy() *KeepalivedGroup
- func (in *KeepalivedGroup) DeepCopyInto(out *KeepalivedGroup)
- func (in *KeepalivedGroup) DeepCopyObject() runtime.Object
- func (m *KeepalivedGroup) GetConditions() []metav1.Condition
- func (m *KeepalivedGroup) SetConditions(conditions []metav1.Condition)
- type KeepalivedGroupList
- type KeepalivedGroupSpec
- type KeepalivedGroupStatus
- type PasswordAuth
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "redhatcop.redhat.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 KeepalivedGroup ¶
type KeepalivedGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KeepalivedGroupSpec `json:"spec,omitempty"` Status KeepalivedGroupStatus `json:"status,omitempty"` }
KeepalivedGroup is the Schema for the keepalivedgroups API
func (*KeepalivedGroup) DeepCopy ¶
func (in *KeepalivedGroup) DeepCopy() *KeepalivedGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeepalivedGroup.
func (*KeepalivedGroup) DeepCopyInto ¶
func (in *KeepalivedGroup) DeepCopyInto(out *KeepalivedGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeepalivedGroup) DeepCopyObject ¶
func (in *KeepalivedGroup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*KeepalivedGroup) GetConditions ¶
func (m *KeepalivedGroup) GetConditions() []metav1.Condition
func (*KeepalivedGroup) SetConditions ¶
func (m *KeepalivedGroup) SetConditions(conditions []metav1.Condition)
type KeepalivedGroupList ¶
type KeepalivedGroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []KeepalivedGroup `json:"items"` }
KeepalivedGroupList contains a list of KeepalivedGroup
func (*KeepalivedGroupList) DeepCopy ¶
func (in *KeepalivedGroupList) DeepCopy() *KeepalivedGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeepalivedGroupList.
func (*KeepalivedGroupList) DeepCopyInto ¶
func (in *KeepalivedGroupList) DeepCopyInto(out *KeepalivedGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeepalivedGroupList) DeepCopyObject ¶
func (in *KeepalivedGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeepalivedGroupSpec ¶
type KeepalivedGroupSpec struct { // +kubebuilder:validation:Optional // +mapType=granular NodeSelector map[string]string `json:"nodeSelector,omitempty"` // //+kubebuilder:validation:Optional // +kubebuilder:validation:Required // +kubebuilder:default:=registry.redhat.io/openshift4/ose-keepalived-ipfailover Image string `json:"image"` // +kubebuilder:validation:Required Interface string `json:"interface"` // +optional // +kubebuilder:validation:Format=ipv4 InterfaceFromIP string `json:"interfaceFromIP"` // +optional PasswordAuth PasswordAuth `json:"passwordAuth,omitempty"` // +kubebuilder:validation:Optional // +mapType=granular VerbatimConfig map[string]string `json:"verbatimConfig,omitempty"` // +kubebuilder:validation:Optional // // +kubebuilder:validation:UniqueItems=true // +listType=set BlacklistRouterIDs []int `json:"blacklistRouterIDs,omitempty"` // +optional UnicastEnabled bool `json:"unicastEnabled,omitempty"` // +optional DaemonsetPodPriorityClassName string `json:"daemonsetPodPriorityClassName"` // +kubebuilder:validation:Optional // +mapType=granular DaemonsetPodAnnotations map[string]string `json:"daemonsetPodAnnotations,omitempty"` }
KeepalivedGroupSpec defines the desired state of KeepalivedGroup
func (*KeepalivedGroupSpec) DeepCopy ¶
func (in *KeepalivedGroupSpec) DeepCopy() *KeepalivedGroupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeepalivedGroupSpec.
func (*KeepalivedGroupSpec) DeepCopyInto ¶
func (in *KeepalivedGroupSpec) DeepCopyInto(out *KeepalivedGroupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeepalivedGroupStatus ¶
type KeepalivedGroupStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"` // +mapType=granular RouterIDs map[string]int `json:"routerIDs,omitempty"` }
KeepalivedGroupStatus defines the observed state of KeepalivedGroup
func (*KeepalivedGroupStatus) DeepCopy ¶
func (in *KeepalivedGroupStatus) DeepCopy() *KeepalivedGroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeepalivedGroupStatus.
func (*KeepalivedGroupStatus) DeepCopyInto ¶
func (in *KeepalivedGroupStatus) DeepCopyInto(out *KeepalivedGroupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PasswordAuth ¶ added in v1.2.0
type PasswordAuth struct { // +required SecretRef corev1.LocalObjectReference `json:"secretRef"` // +optional // +kubebuilder:default:=password SecretKey string `json:"secretKey"` }
PasswordAuth references a Kubernetes secret to extract the password for VRRP authentication
func (*PasswordAuth) DeepCopy ¶ added in v1.2.0
func (in *PasswordAuth) DeepCopy() *PasswordAuth
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PasswordAuth.
func (*PasswordAuth) DeepCopyInto ¶ added in v1.2.0
func (in *PasswordAuth) DeepCopyInto(out *PasswordAuth)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.