utils

package
v0.26.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCorrespondingLandscaperDeployment

func GetCorrespondingLandscaperDeployment(ctx context.Context, laasClient client.Client, ls *openmcpv1alpha1.Landscaper) (*laasv1alpha1.LandscaperDeployment, error)

GetCorrespondingLandscaperDeployment fetches the LandscaperDeployment belonging to the given ManagedControlPlane. If there is a reference but the referenced LandscaperDeployment is not found, an IsNotFound error is returned. If there is no reference, the method tries to find a LandscaperDeployment with a label pointing to the given ManagedControlPlane, returning nil - but no error - if none is found.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL