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.
Click to show internal directories.
Click to hide internal directories.