v1alpha1

package
v0.1.122 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: Apache-2.0 Imports: 6 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 ImageMapper

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

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

ImageMapper is the Schema for the imagemappers API.

func (*ImageMapper) DeepCopy

func (in *ImageMapper) DeepCopy() *ImageMapper

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

func (*ImageMapper) DeepCopyInto

func (in *ImageMapper) DeepCopyInto(out *ImageMapper)

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

func (*ImageMapper) DeepCopyObject

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

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

func (*ImageMapper) GetDeploymentName

func (c *ImageMapper) GetDeploymentName() string

func (*ImageMapper) GetDeploymentNamespace

func (c *ImageMapper) GetDeploymentNamespace() string

func (*ImageMapper) GetSpec

func (*ImageMapper) GetStatus

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

type ImageMapperList

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

ImageMapperList contains a list of ImageMapper.

func (*ImageMapperList) DeepCopy

func (in *ImageMapperList) DeepCopy() *ImageMapperList

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

func (*ImageMapperList) DeepCopyInto

func (in *ImageMapperList) DeepCopyInto(out *ImageMapperList)

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

func (*ImageMapperList) DeepCopyObject

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

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

type ImageMapperSpec

type ImageMapperSpec 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"`
	ObjectSelector                 *metav1.LabelSelector `json:"objectSelector,omitempty"`
	NamespaceSelector              *metav1.LabelSelector `json:"namespaceSelector,omitempty"`
	Mapping                        []MappingRule         `json:"mapping,omitempty"`
	LabelsAddedIfModified          map[string]string     `json:"labelsAddedIfModified,omitempty"`
	AnnotationsAddedIfModified     map[string]string     `json:"annotationsAddedIfModified,omitempty"`
	LogLevel                       int                   `json:"logLevel,omitempty"`
}

ImageMapperSpec defines the desired state of ImageMapper.

func (*ImageMapperSpec) DeepCopy

func (in *ImageMapperSpec) DeepCopy() *ImageMapperSpec

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

func (*ImageMapperSpec) DeepCopyInto

func (in *ImageMapperSpec) DeepCopyInto(out *ImageMapperSpec)

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

func (*ImageMapperSpec) ToUnstructured

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

type ImageMapperStatus

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

ImageMapperStatus defines the observed state of ImageMapper.

func (*ImageMapperStatus) DeepCopy

func (in *ImageMapperStatus) DeepCopy() *ImageMapperStatus

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

func (*ImageMapperStatus) DeepCopyInto

func (in *ImageMapperStatus) DeepCopyInto(out *ImageMapperStatus)

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

type MappingRule

type MappingRule struct {
	Pattern     string `json:"pattern"`
	Replacement string `json:"replacement"`
}

MappingRule describes how images are transformed.

func (*MappingRule) DeepCopy

func (in *MappingRule) DeepCopy() *MappingRule

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

func (*MappingRule) DeepCopyInto

func (in *MappingRule) DeepCopyInto(out *MappingRule)

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