k8sname

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 10, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package k8sname provides validation for Kubernetes resource names with a stricter variant of RFC 1123 DNS label rules: names must start with a lowercase letter (not a digit).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(name string) error

Validate checks that name conforms to RFC 1123 DNS label rules with the additional constraint that it must start with a lowercase letter (not a digit). Returns nil on success, or a descriptive error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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