Documentation ¶
Overview ¶
Package credentials defines APIs for parsing SPIFFE ID.
All APIs in this package are experimental.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SPIFFEIDFromState ¶
func SPIFFEIDFromState(state tls.ConnectionState) *url.URL
SPIFFEIDFromState parses the SPIFFE ID from State. If the SPIFFE ID format is invalid, return nil with warning.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.