naming

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComposeDNS1123

func ComposeDNS1123(parts ...string) string

ComposeDNS1123 builds a DNS-1123 compliant name from the provided parts. It truncates and appends a deterministic hash suffix when needed.

func ComposeDNS1123WithSuffix

func ComposeDNS1123WithSuffix(base, suffix string) string

ComposeDNS1123WithSuffix preserves a suffix while keeping the result DNS-1123 compliant. When truncation is required, it inserts a short hash before the suffix.

Types

This section is empty.

Jump to

Keyboard shortcuts

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