kubeidentity

package
v0.1.0-c02.1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2026 License: Apache-2.0 Imports: 3 Imported by: ? 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 kubeidentity defines canonical privacy-safe hashes for Kubernetes object identities shared by public collectors and downstream adapters.

Index

Constants

View Source
const (
	// NodeUIDHashAlgorithm identifies the exact Node UID hashing contract:
	// SHA-256(UTF-8(NodeUIDHashAlgorithm) || 0x00 || exact UTF-8 UID bytes).
	// The UID is not JSON-encoded, trimmed, normalized, or case-folded.
	NodeUIDHashAlgorithm = "cloudring.kubernetes.node-uid-sha256/v1"
)

Variables

This section is empty.

Functions

func NodeUIDSHA256

func NodeUIDSHA256(uid string) string

NodeUIDSHA256 returns the canonical privacy-safe lowercase SHA-256 binding for one raw Kubernetes Node metadata.uid. Empty, invalid UTF-8, or unbounded input is rejected with an empty result.

Types

This section is empty.

Jump to

Keyboard shortcuts

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