package
1.20240719.1
Repository: https://github.com/blend/go-sdk.git
Documentation: pkg.go.dev

# Functions

Parse consumes a SPIFFE URI and splits out the trust domain and workload identifier.
ParseKubernetesWorkloadID parses a SPIFFE workload identifier that identifies Kubernetes service account, of the form `ns/{namespace}/sa/{serviceAccount}`.

# Constants

ErrInvalidURI is the class of error returned when parsing SPIFFE URI fails.
ErrNonKubernetesWorkload is class of error returned when parsing a SPIFFE Kubernetes workload identifier fails.

# Structs

KubernetesWorkload describes a Kubernetes workload identifier.
ParsedURI represents a SPIFFE URI that has been parsed via `Parse()`.