v1beta1

package
v0.7.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Overview

Package v1beta1 contains API Schema definitions for the kuadrant v1beta1 API group +kubebuilder:object:generate=true +groupName=kuadrant.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "kuadrant.io", Version: "v1beta1"}

	// 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 Kuadrant

type Kuadrant struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   KuadrantSpec   `json:"spec,omitempty"`
	Status KuadrantStatus `json:"status,omitempty"`
}

Kuadrant configures installations of Kuadrant Service Protection components

func (*Kuadrant) DeepCopy

func (in *Kuadrant) DeepCopy() *Kuadrant

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kuadrant.

func (*Kuadrant) DeepCopyInto

func (in *Kuadrant) DeepCopyInto(out *Kuadrant)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Kuadrant) DeepCopyObject

func (in *Kuadrant) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type KuadrantList

type KuadrantList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Kuadrant `json:"items"`
}

KuadrantList contains a list of Kuadrant

func (*KuadrantList) DeepCopy

func (in *KuadrantList) DeepCopy() *KuadrantList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KuadrantList.

func (*KuadrantList) DeepCopyInto

func (in *KuadrantList) DeepCopyInto(out *KuadrantList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KuadrantList) DeepCopyObject

func (in *KuadrantList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type KuadrantSpec

type KuadrantSpec struct {
	// +optional
	Limitador *LimitadorSpec `json:"limitador,omitempty"`
}

KuadrantSpec defines the desired state of Kuadrant

func (*KuadrantSpec) DeepCopy

func (in *KuadrantSpec) DeepCopy() *KuadrantSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KuadrantSpec.

func (*KuadrantSpec) DeepCopyInto

func (in *KuadrantSpec) DeepCopyInto(out *KuadrantSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KuadrantStatus

type KuadrantStatus struct {
	// ObservedGeneration reflects the generation of the most recently observed spec.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`

	// Represents the observations of a foo's current state.
	// Known .status.conditions.type are: "Available"
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}

KuadrantStatus defines the observed state of Kuadrant

func (*KuadrantStatus) DeepCopy

func (in *KuadrantStatus) DeepCopy() *KuadrantStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KuadrantStatus.

func (*KuadrantStatus) DeepCopyInto

func (in *KuadrantStatus) DeepCopyInto(out *KuadrantStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KuadrantStatus) Equals

func (r *KuadrantStatus) Equals(other *KuadrantStatus, logger logr.Logger) bool

type LimitadorSpec added in v0.7.0

type LimitadorSpec struct {

	// +optional
	Affinity *corev1.Affinity `json:"affinity,omitempty"`

	// +optional
	Replicas *int `json:"replicas,omitempty"`

	// +optional
	ResourceRequirements *corev1.ResourceRequirements `json:"resourceRequirements,omitempty"`

	// +optional
	PodDisruptionBudget *limitadorv1alpha1.PodDisruptionBudgetType `json:"pdb,omitempty"`

	// +optional
	Storage *limitadorv1alpha1.Storage `json:"storage,omitempty"`
}

func (*LimitadorSpec) DeepCopy added in v0.7.0

func (in *LimitadorSpec) DeepCopy() *LimitadorSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitadorSpec.

func (*LimitadorSpec) DeepCopyInto added in v0.7.0

func (in *LimitadorSpec) DeepCopyInto(out *LimitadorSpec)

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