v1alpha1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group.

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "operator.kyma-project.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

	// Needed by kubernetes/code-generator.
	SchemeGroupVersion = GroupVersion
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Needed by kubernetes/code-generator.

Types

type KafkaOperator

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

	Spec KafkaOperatorSpec `json:"spec,omitempty"`
	// +kubebuilder:default={"observedGeneration":-1}
	Status KafkaOperatorStatus `json:"status,omitempty"`
}

KafkaOperator is the Schema for the kafkaoperators API.

func (*KafkaOperator) DeepCopy

func (in *KafkaOperator) DeepCopy() *KafkaOperator

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

func (*KafkaOperator) DeepCopyInto

func (in *KafkaOperator) DeepCopyInto(out *KafkaOperator)

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

func (*KafkaOperator) DeepCopyObject

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

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

func (*KafkaOperator) GetSpec

func (*KafkaOperator) GetStatus

func (c *KafkaOperator) GetStatus() *component.Status

type KafkaOperatorList

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

KafkaOperatorList contains a list of KafkaOperator.

func (*KafkaOperatorList) DeepCopy

func (in *KafkaOperatorList) DeepCopy() *KafkaOperatorList

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

func (*KafkaOperatorList) DeepCopyInto

func (in *KafkaOperatorList) DeepCopyInto(out *KafkaOperatorList)

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

func (*KafkaOperatorList) DeepCopyObject

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

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

type KafkaOperatorSpec

type KafkaOperatorSpec struct {
	component.PlacementSpec `json:",inline"`
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:default=1
	ReplicaCount int `json:"replicaCount,omitempty"`
	// +optional
	Image                          component.ImageSpec `json:"image"`
	component.KubernetesProperties `json:",inline"`
}

KafkaOperatorSpec defines the desired state of KafkaOperator.

func (*KafkaOperatorSpec) DeepCopy

func (in *KafkaOperatorSpec) DeepCopy() *KafkaOperatorSpec

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

func (*KafkaOperatorSpec) DeepCopyInto

func (in *KafkaOperatorSpec) DeepCopyInto(out *KafkaOperatorSpec)

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

func (*KafkaOperatorSpec) ToUnstructured

func (s *KafkaOperatorSpec) ToUnstructured() map[string]any

type KafkaOperatorStatus

type KafkaOperatorStatus struct {
	component.Status `json:",inline"`
}

KafkaOperatorStatus defines the observed state of KafkaOperator.

func (*KafkaOperatorStatus) DeepCopy

func (in *KafkaOperatorStatus) DeepCopy() *KafkaOperatorStatus

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

func (*KafkaOperatorStatus) DeepCopyInto

func (in *KafkaOperatorStatus) DeepCopyInto(out *KafkaOperatorStatus)

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