utils

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StableRequestNameMCP

func StableRequestNameMCP(onboardingName, controllerName string) string

StableRequestNameMCP returns a stable name for MCP requests that can be used in a request namespace on the platform cluster. onboardingName is the name of the reconciled resource on the onboarding cluster. controllerName is the name of the controller that is reconciling the resource.

func StableRequestNameOnboarding

func StableRequestNameOnboarding(onboardingName, controllerName string) string

StableRequestNameOnboarding returns a stable name for Onboarding requests that can be used in a request namespace on the platform cluster. onboardingName is the name of the reconciled resource on the onboarding cluster. controllerName is the name of the controller that is reconciling the resource.

func StableRequestNameWorkload

func StableRequestNameWorkload(onboardingName, controllerName string) string

StableRequestNameWorkload returns a stable name for Workload requests that can be used in a request namespace on the platform cluster. onboardingName is the name of the reconciled resource on the onboarding cluster. controllerName is the name of the controller that is reconciling the resource.

func StableRequestNamespace

func StableRequestNamespace(onboardingNamespace string) string

StableRequestNamespace returns a stable namespace for ClusterRequests and AccessRequests, that can be created/used on the platform cluster. onboardingNamespace is the namespace of the reconciled resource on the onboarding cluster.

Types

This section is empty.

Jump to

Keyboard shortcuts

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