naming

package
v0.0.0-...-5ee5d88 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NamespaceForCluster = namespaceForCluster

NamespaceForCluster returns the namespace to use for the given cluster.

View Source
var NamespaceForResource = namespaceForResource

NamespaceForResource returns either the kubefed namespace or resource namespace.

View Source
var QualifiedNameForCluster = qualifiedNameForCluster

QualifiedNameForCluster returns the qualified name to use for the given cluster.

Functions

func GenerateDerivedSvcFedObjName

func GenerateDerivedSvcFedObjName(serviceName string) string

GenerateDerivedSvcFedObjName generates a federated object name whose template is a derived service.

func GenerateFederatedObjectName

func GenerateFederatedObjectName(objectName, ftcName string) string

GenerateFederatedObjectName generates a federated object name from source object name and ftc name.

func GenerateImportedEndpointSliceName

func GenerateImportedEndpointSliceName(endpointSliceName string, cluster string) string

GenerateImportedEndpointSliceName generates an imported endpointSlice name from endpointSlice name in member clusters.

func GenerateSourceClusterValue

func GenerateSourceClusterValue(clusterName string) string

GenerateSourceClusterValue generates the value of source cluster label.

Types

This section is empty.

Jump to

Keyboard shortcuts

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