identity

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2026 License: AGPL-3.0 Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package identity holds identity rules shared by SDK state and wire admission.

Index

Constants

View Source
const MaxConnectionIDBytes = 4096

MaxConnectionIDBytes is the native metadata byte limit for a plugin-defined connection ID. Credential attachments must address the same connection unchanged.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComponentClass

type ComponentClass uint8

ComponentClass distinguishes state validation failures without carrying the input.

const (
	ComponentValid ComponentClass = iota
	ComponentInvalid
	ComponentTrailingDot
	ComponentReserved
)

Only ComponentValid admits the name. The other classes preserve the local state's distinct malformed-name, trailing-dot, and reserved-device errors.

func ClassifyComponent

func ClassifyComponent(name string) ComponentClass

ClassifyComponent checks installed plugin IDs and capability filenames. State has no grammar-level byte limit; a wire protocol can bound length separately.

Jump to

Keyboard shortcuts

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