v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the v1alpha1 API group. +kubebuilder:object:generate=true +groupName=landscaper.services.openmcp.cloud

Index

Constants

View Source
const (
	LandscaperDomain           = "landscaper.services.openmcp.cloud"
	LandscaperProviderName     = "provider." + LandscaperDomain
	LandscaperFinalizer        = LandscaperDomain + "/finalizer"
	LandscaperOperation        = LandscaperDomain + "/operation"
	OperationReconcile         = "reconcile"
	ProviderConfigTypeLabel    = LandscaperDomain + "/providertype"
	DefaultProviderConfigValue = "default"
)
View Source
const (
	PhaseProgressing LandscaperPhase = "PhaseProgressing"
	PhaseTerminating LandscaperPhase = "PhaseTerminating"
	PhaseReady       LandscaperPhase = "PhaseReady"

	ConditionTypeInstalled   = "Installed"
	ConditionTypeUninstalled = "Uninstalled"
	ConditionTypeReady       = "Ready"

	ConditionReasonInstallationPending    = "InstallationPending"
	ConditionReasonReadinessCheckPending  = "ReadinessCheckPending"
	ConditionReasonWaitForLandscaperReady = "WaitForLandscaperReady"
	ConditionReasonUninstallationPending  = "UninstallationPending"

	ConditionReasonLandscaperInstalled = "LandscaperInstalled"
	ConditionReasonLandscaperReady     = "LandscaperReady"

	ConditionReasonInstallFailed       = "InstallFailed"
	ConditionReasonClusterAccessError  = "ClusterAccessError"
	ConditionReasonProviderConfigError = "ProviderConfigError"
	ConditionReasonConfigurationError  = "ConfigurationError"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "landscaper.services.openmcp.cloud", 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
)

Functions

func GetControllerName added in v0.2.0

func GetControllerName() string

func GetHelmDeployerName added in v0.2.0

func GetHelmDeployerName() string

func GetManifestDeployerName added in v0.2.0

func GetManifestDeployerName() string

func GetWebhooksServerName added in v0.2.0

func GetWebhooksServerName() string

Types

type Deployment added in v0.1.0

type Deployment struct {
	// +kubebuilder:validation:Required
	LandscaperController ImageConfiguration `json:"landscaperController"`
	// +kubebuilder:validation:Required
	LandscaperWebhooksServer ImageConfiguration `json:"landscaperWebhooksServer"`
	// +kubebuilder:validation:Required
	HelmDeployer ImageConfiguration `json:"helmDeployer"`
	// +kubebuilder:validation:Required
	ManifestDeployer ImageConfiguration `json:"manifestDeployer"`
}

func (*Deployment) DeepCopy added in v0.1.0

func (in *Deployment) DeepCopy() *Deployment

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

func (*Deployment) DeepCopyInto added in v0.1.0

func (in *Deployment) DeepCopyInto(out *Deployment)

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

type ImageConfiguration

type ImageConfiguration struct {
	// +kubebuilder:validation:Required
	Image string `json:"image"`
}

func (*ImageConfiguration) DeepCopy

func (in *ImageConfiguration) DeepCopy() *ImageConfiguration

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

func (*ImageConfiguration) DeepCopyInto

func (in *ImageConfiguration) DeepCopyInto(out *ImageConfiguration)

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

type Landscaper

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

	Spec   LandscaperSpec   `json:"spec,omitempty"`
	Status LandscaperStatus `json:"status,omitempty"`
}

Landscaper is the Schema for the landscapers API.

func (*Landscaper) DeepCopy

func (in *Landscaper) DeepCopy() *Landscaper

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

func (*Landscaper) DeepCopyInto

func (in *Landscaper) DeepCopyInto(out *Landscaper)

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

func (*Landscaper) DeepCopyObject

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

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

type LandscaperComponent added in v0.2.0

type LandscaperComponent struct {
	// Name is the name of the component.
	// +optional
	Name string `json:"name,omitempty"`
	// Version is the version of the component.
	// +optional
	Version string `json:"version,omitempty"`
}

LandscaperComponent represents a component of the Landscaper instance.

func (*LandscaperComponent) DeepCopy added in v0.2.0

func (in *LandscaperComponent) DeepCopy() *LandscaperComponent

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

func (*LandscaperComponent) DeepCopyInto added in v0.2.0

func (in *LandscaperComponent) DeepCopyInto(out *LandscaperComponent)

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

type LandscaperList

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

LandscaperList contains a list of Landscaper.

func (*LandscaperList) DeepCopy

func (in *LandscaperList) DeepCopy() *LandscaperList

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

func (*LandscaperList) DeepCopyInto

func (in *LandscaperList) DeepCopyInto(out *LandscaperList)

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

func (*LandscaperList) DeepCopyObject

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

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

type LandscaperPhase

type LandscaperPhase string

type LandscaperSpec

type LandscaperSpec struct {
	// +optional
	ProviderConfigRef *corev1.LocalObjectReference `json:"providerConfigRef,omitempty"`
}

LandscaperSpec defines the desired state of Landscaper.

func (*LandscaperSpec) DeepCopy

func (in *LandscaperSpec) DeepCopy() *LandscaperSpec

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

func (*LandscaperSpec) DeepCopyInto

func (in *LandscaperSpec) DeepCopyInto(out *LandscaperSpec)

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

type LandscaperStatus

type LandscaperStatus struct {
	// ProviderConfigRef is a reference to the ProviderConfig that this Landscaper instance uses.
	// +optional
	ProviderConfigRef *corev1.LocalObjectReference `json:"providerConfigRef,omitempty"`

	// +optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// ObservedGeneration is the last observed generation.
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`

	// The current phase of the Landscaper instance deployment.
	Phase LandscaperPhase `json:"phase,omitempty"`

	// LandscaperComponents is a list of components that are part of the Landscaper instance.
	// +optional
	LandscaperComponents []LandscaperComponent `json:"LandscaperComponents,omitempty"`
}

LandscaperStatus defines the observed state of Landscaper.

func (*LandscaperStatus) DeepCopy

func (in *LandscaperStatus) DeepCopy() *LandscaperStatus

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

func (*LandscaperStatus) DeepCopyInto

func (in *LandscaperStatus) DeepCopyInto(out *LandscaperStatus)

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

type ProviderConfig added in v0.1.0

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

	Spec   ProviderConfigSpec   `json:"spec,omitempty"`
	Status ProviderConfigStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,shortName=lspcfg +kubebuilder:metadata:labels="openmcp.cloud/cluster=platform"

func (*ProviderConfig) DeepCopy added in v0.1.0

func (in *ProviderConfig) DeepCopy() *ProviderConfig

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

func (*ProviderConfig) DeepCopyInto added in v0.1.0

func (in *ProviderConfig) DeepCopyInto(out *ProviderConfig)

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

func (*ProviderConfig) DeepCopyObject added in v0.1.0

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

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

func (*ProviderConfig) GetControllerVersion added in v0.2.0

func (pc *ProviderConfig) GetControllerVersion() string

func (*ProviderConfig) GetHelmDeployerVersion added in v0.2.0

func (pc *ProviderConfig) GetHelmDeployerVersion() string

func (*ProviderConfig) GetManifestDeployerVersion added in v0.2.0

func (pc *ProviderConfig) GetManifestDeployerVersion() string

func (*ProviderConfig) GetWebhooksServerVersion added in v0.2.0

func (pc *ProviderConfig) GetWebhooksServerVersion() string

type ProviderConfigList added in v0.1.0

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

func (*ProviderConfigList) DeepCopy added in v0.1.0

func (in *ProviderConfigList) DeepCopy() *ProviderConfigList

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

func (*ProviderConfigList) DeepCopyInto added in v0.1.0

func (in *ProviderConfigList) DeepCopyInto(out *ProviderConfigList)

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

func (*ProviderConfigList) DeepCopyObject added in v0.1.0

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

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

type ProviderConfigSpec added in v0.1.0

type ProviderConfigSpec struct {
	// +kubebuilder:validation:Required
	Deployment Deployment `json:"deployment"`
	// +kubebuilder:validation:MinLength=1
	WorkloadClusterDomain string `json:"workloadClusterDomain,omitempty"`
}

func (*ProviderConfigSpec) DeepCopy added in v0.1.0

func (in *ProviderConfigSpec) DeepCopy() *ProviderConfigSpec

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

func (*ProviderConfigSpec) DeepCopyInto added in v0.1.0

func (in *ProviderConfigSpec) DeepCopyInto(out *ProviderConfigSpec)

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

type ProviderConfigStatus added in v0.1.0

type ProviderConfigStatus struct{}

func (*ProviderConfigStatus) DeepCopy added in v0.1.0

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

func (*ProviderConfigStatus) DeepCopyInto added in v0.1.0

func (in *ProviderConfigStatus) DeepCopyInto(out *ProviderConfigStatus)

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