v1alpha1

package
v1.5.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2023 License: Apache-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the redhatcop v1alpha1 API group +kubebuilder:object:generate=true +groupName=redhatcop.redhat.io

Index

Constants

This section is empty.

Variables

View Source
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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL