v1alpha1

package
v0.1.102 Latest Latest
Warning

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

Go to latest
Published: May 4, 2026 License: Apache-2.0 Imports: 7 Imported by: 1 module, 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 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 MetricsProperties added in v0.1.45

type MetricsProperties struct {
	PodMonitor     *PodMonitorProperties     `json:"podMonitor,omitempty"`
	PrometheusRule *PrometheusRuleProperties `json:"prometheusRule,omitempty"`
}

MetricsProperties defines the properties for the metrics server.

func (*MetricsProperties) DeepCopy added in v0.1.45

func (in *MetricsProperties) DeepCopy() *MetricsProperties

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

func (*MetricsProperties) DeepCopyInto added in v0.1.45

func (in *MetricsProperties) DeepCopyInto(out *MetricsProperties)

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

type PodMonitorProperties added in v0.1.45

type PodMonitorProperties struct {
	Enabled bool `json:"enabled,omitempty"`
}

PodMonitorProperties defines the properties for the pod monitor.

func (*PodMonitorProperties) DeepCopy added in v0.1.45

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

func (*PodMonitorProperties) DeepCopyInto added in v0.1.45

func (in *PodMonitorProperties) DeepCopyInto(out *PodMonitorProperties)

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

type ProjectOperator

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

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

ProjectOperator is the Schema for the projectoperators API.

func (*ProjectOperator) DeepCopy

func (in *ProjectOperator) DeepCopy() *ProjectOperator

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

func (*ProjectOperator) DeepCopyInto

func (in *ProjectOperator) DeepCopyInto(out *ProjectOperator)

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

func (*ProjectOperator) DeepCopyObject

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

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

func (*ProjectOperator) GetDeploymentName

func (c *ProjectOperator) GetDeploymentName() string

func (*ProjectOperator) GetDeploymentNamespace

func (c *ProjectOperator) GetDeploymentNamespace() string

func (*ProjectOperator) GetSpec

func (*ProjectOperator) GetStatus

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

type ProjectOperatorList

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

ProjectOperatorList contains a list of ProjectOperator.

func (*ProjectOperatorList) DeepCopy

func (in *ProjectOperatorList) DeepCopy() *ProjectOperatorList

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

func (*ProjectOperatorList) DeepCopyInto

func (in *ProjectOperatorList) DeepCopyInto(out *ProjectOperatorList)

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

func (*ProjectOperatorList) DeepCopyObject

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

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

type ProjectOperatorSpec

type ProjectOperatorSpec struct {
	component.Spec `json:",inline"`
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:default=1
	ReplicaCount int `json:"replicaCount,omitempty"`
	// +optional
	Image                          component.ImageSpec `json:"image"`
	component.KubernetesProperties `json:",inline"`
	NamespacePrefix                string             `json:"namespacePrefix,omitempty"`
	AdminClusterRole               string             `json:"adminClusterRole,omitempty"`
	ViewerClusterRole              string             `json:"viewerClusterRole,omitempty"`
	EnableClusterView              bool               `json:"enableClusterView,omitempty"`
	Metrics                        *MetricsProperties `json:"metrics,omitempty"`
}

ProjectOperatorSpec defines the desired state of ProjectOperator.

func (*ProjectOperatorSpec) DeepCopy

func (in *ProjectOperatorSpec) DeepCopy() *ProjectOperatorSpec

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

func (*ProjectOperatorSpec) DeepCopyInto

func (in *ProjectOperatorSpec) DeepCopyInto(out *ProjectOperatorSpec)

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

func (*ProjectOperatorSpec) ToUnstructured

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

type ProjectOperatorStatus

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

ProjectOperatorStatus defines the observed state of ProjectOperator.

func (*ProjectOperatorStatus) DeepCopy

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

func (*ProjectOperatorStatus) DeepCopyInto

func (in *ProjectOperatorStatus) DeepCopyInto(out *ProjectOperatorStatus)

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

type PrometheusRuleProperties added in v0.1.45

type PrometheusRuleProperties struct {
	Enabled bool                `json:"enabled,omitempty"`
	Rules   []prometheusv1.Rule `json:"rules,omitempty"`
}

PrometheusRuleProperties defines the properties for the prometheus rule.

func (*PrometheusRuleProperties) DeepCopy added in v0.1.45

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

func (*PrometheusRuleProperties) DeepCopyInto added in v0.1.45

func (in *PrometheusRuleProperties) DeepCopyInto(out *PrometheusRuleProperties)

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