Documentation ¶
Index ¶
- func GenerateBindingName(namespace, kind, name string) string
- func GenerateExecutionSpaceName(clusterName string) (string, error)
- func GenerateOwnerLabelValue(namespace, name string) string
- func GenerateRoleName(serviceAccountName string) string
- func GenerateServiceAccountName(clusterName string) string
- func GetClusterName(executionSpaceName string) (string, error)
- func GetNamespaceAndName(value string) (string, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateBindingName ¶
GenerateBindingName will generate binding name by namespace, kind and name
func GenerateExecutionSpaceName ¶
GenerateExecutionSpaceName generates execution space name for the given member cluster
func GenerateOwnerLabelValue ¶
GenerateOwnerLabelValue will get owner label value.
func GenerateRoleName ¶
GenerateRoleName generates the name of a Role or ClusterRole.
func GenerateServiceAccountName ¶
GenerateServiceAccountName generates the name of a ServiceAccount.
func GetClusterName ¶ added in v0.3.0
GetClusterName returns member cluster name for the given execution space
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.