v1alpha1

package
v0.1.63 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 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 SecretGenerator

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

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

SecretGenerator is the Schema for the secretgenerators API.

func (*SecretGenerator) DeepCopy

func (in *SecretGenerator) DeepCopy() *SecretGenerator

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

func (*SecretGenerator) DeepCopyInto

func (in *SecretGenerator) DeepCopyInto(out *SecretGenerator)

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

func (*SecretGenerator) DeepCopyObject

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

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

func (*SecretGenerator) GetDeploymentName

func (c *SecretGenerator) GetDeploymentName() string

func (*SecretGenerator) GetDeploymentNamespace

func (c *SecretGenerator) GetDeploymentNamespace() string

func (*SecretGenerator) GetSpec

func (*SecretGenerator) GetStatus

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

type SecretGeneratorList

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

SecretGeneratorList contains a list of SecretGenerator.

func (*SecretGeneratorList) DeepCopy

func (in *SecretGeneratorList) DeepCopy() *SecretGeneratorList

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

func (*SecretGeneratorList) DeepCopyInto

func (in *SecretGeneratorList) DeepCopyInto(out *SecretGeneratorList)

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

func (*SecretGeneratorList) DeepCopyObject

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

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

type SecretGeneratorSpec

type SecretGeneratorSpec 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"`
	LogLevel                       int                   `json:"logLevel,omitempty"`
}

SecretGeneratorSpec defines the desired state of SecretGenerator.

func (*SecretGeneratorSpec) DeepCopy

func (in *SecretGeneratorSpec) DeepCopy() *SecretGeneratorSpec

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

func (*SecretGeneratorSpec) DeepCopyInto

func (in *SecretGeneratorSpec) DeepCopyInto(out *SecretGeneratorSpec)

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

func (*SecretGeneratorSpec) ToUnstructured

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

type SecretGeneratorStatus

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

SecretGeneratorStatus defines the observed state of SecretGenerator.

func (*SecretGeneratorStatus) DeepCopy

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

func (*SecretGeneratorStatus) DeepCopyInto

func (in *SecretGeneratorStatus) DeepCopyInto(out *SecretGeneratorStatus)

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