deploymentid

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package deploymentid validates the stable identity shared by a billet control plane and its nodes.

Index

Constants

View Source
const Length = 32

Length is the length of the lowercase hex encoding billet mints from 16 random bytes.

Variables

This section is empty.

Functions

func Validate

func Validate(id string) error

Validate refuses anything billet would not have minted.

The identity is interpolated into filenames, Docker labels and cloud tags. Refusing instead of sanitising is required because a sanitised value would name a different deployment from the one already attached to running compute.

Types

This section is empty.

Jump to

Keyboard shortcuts

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