naming

package
v1.61.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLabelNameFromResourceName added in v1.18.0

func GetLabelNameFromResourceName(resourceName string) string

GetLabelNameFromResourceName creates a name with the length restriction for labels, and shortens if needed

func GetResourceName

func GetResourceName(base, suffix string) string

GetResourceName creates a name with provided suffix, and shortens if needed with the length restriction for pods/resources

func GetServiceNameFromResourceName added in v1.18.0

func GetServiceNameFromResourceName(name string) string

GetServiceNameFromResourceName creates a name with the length restriction for service (label), and shortens if needed

Types

This section is empty.

Jump to

Keyboard shortcuts

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