naming

package
v0.12.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BaseName

func BaseName(appName, stage, tenant string) string

BaseName returns a deterministic base name: - <app>-<stage> - <app>-<tenant>-<stage> (when tenant is provided)

func NormalizeStage

func NormalizeStage(stage string) string

NormalizeStage maps stage aliases to canonical values.

Canonical stages are lowercased and safe for typical resource naming schemes.

func ResourceName

func ResourceName(appName, resource, stage, tenant string) string

ResourceName returns a deterministic resource name: - <app>-<resource>-<stage> - <app>-<tenant>-<resource>-<stage> (when tenant is provided)

Types

This section is empty.

Jump to

Keyboard shortcuts

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