Discover Packages
github.com/forgekeep/nebula-mesh
internal
bootstraptoken
package
Version:
v0.16.0
Opens a new window with list of versions in this module.
Published: Sep 4, 2026
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
var (
ErrUnknownPurpose = errors .New ("bootstrap token purpose is unknown")
ErrWrongPurpose = errors .New ("bootstrap token has the wrong purpose")
)
const (
PurposeEnrollment Purpose = "enrollment"
PurposeMeshImport Purpose = "mesh_import"
)
PurposeOf returns the purpose encoded in a prefixed bootstrap token. Legacy
unprefixed enrollment tokens intentionally return known=false; callers may
accept them only in the explicit backward-compatible enrollment path.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.