identifiers

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsKind

func IsKind(id string, kind Kind) bool

IsKind reports whether id matches the canonical structure for the given kind.

func New

func New(kind Kind) string

New returns a canonical internal ID for the provided kind.

Types

type Kind

type Kind string

Kind identifies one supported internal ID namespace.

const (
	KindTaskRun      Kind = "tr"
	KindTaskEvent    Kind = "te"
	KindActionEvent  Kind = "ae"
	KindAnnotation   Kind = "ann"
	KindRequest      Kind = "req"
	KindSession      Kind = "sid"
	KindServer       Kind = "srv"
	KindOAuthPending Kind = "op"
	KindPrincipal    Kind = "pr"
)

Supported internal ID kinds.

Jump to

Keyboard shortcuts

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