Documentation

Index

Constants

const (
	Scheme = "spiffe"
)

Variables

This section is empty.

Functions

func DetermineTrustDomain

func DetermineTrustDomain(commandLineTrustDomain string, isKubernetes bool) string

func GenSpiffeURI

func GenSpiffeURI(ns, serviceAccount string) (string, error)

GenSpiffeURI returns the formatted uri(SPIFFEE format for now) for the certificate.

func GetTrustDomain

func GetTrustDomain() string

func MustGenSpiffeURI

func MustGenSpiffeURI(ns, serviceAccount string) string

MustGenSpiffeURI returns the formatted uri(SPIFFEE format for now) for the certificate and logs if there was an error.

func SetTrustDomain

func SetTrustDomain(value string)

Types

This section is empty.

Source Files