contextprop

package
v1.0.0-beta2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clone

func Clone[T ~map[string]string](tags T) map[string]string

Clone returns a defensive copy of tags, or nil when there is nothing to copy.

func Decode

Decode separates orchestration identity from caller-supplied immutable fields.

func Encode

func Encode(
	info api.OrchestrationContextInfo,
	fields api.ContextFields,
	userTags ...map[string]string,
) map[string]string

Encode returns a new tag map containing immutable fields and orchestration identity.

Types

This section is empty.

Jump to

Keyboard shortcuts

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