Documentation ¶
Index ¶
- Constants
- func DetermineTrustDomain(commandLineTrustDomain string, isKubernetes bool) string
- func GenCustomSpiffe(identity string) string
- func GenSpiffeURI(ns, serviceAccount string) (string, error)
- func GetTrustDomain() string
- func MustGenSpiffeURI(ns, serviceAccount string) string
- func SetTrustDomain(value string)
Constants ¶
View Source
const ( Scheme = "spiffe" URIPrefix = Scheme + "://" )
Variables ¶
This section is empty.
Functions ¶
func DetermineTrustDomain ¶
func GenCustomSpiffe ¶
GenCustomSpiffe returns the spiffe string that can have a custom structure
func GenSpiffeURI ¶
GenSpiffeURI returns the formatted uri(SPIFFEE format for now) for the certificate.
func GetTrustDomain ¶
func GetTrustDomain() string
func MustGenSpiffeURI ¶
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.
Click to show internal directories.
Click to hide internal directories.