Documentation ¶
Index ¶
- Constants
- func BuildHashedUsername(workloadName, namespace, clusterUID string) string
- func GetClusterUID(ctx context.Context) (string, error)
- func GetOrCreateClusterUID(ctx context.Context) string
- func KubernetesToPostgresName(kubernetesName string) string
- func SetClusterUID(ctx context.Context) (string, error)
Constants ¶
View Source
const (
HashedUsernameSectionMaxLength = 10
)
View Source
const OtterizeClusterUIDKeyName = "clusteruid"
View Source
const OtterizeClusterUIDResourceName = "otterize-cluster-uid"
Variables ¶
This section is empty.
Functions ¶
func BuildHashedUsername ¶
func GetClusterUID ¶
GetClusterUID Fetches cluster ID from the config map created in the Otterize namespace
func GetOrCreateClusterUID ¶
func KubernetesToPostgresName ¶
KubernetesToPostgresName translates a name with Kubernetes conventions to Postgres conventions
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.