Documentation ¶
Index ¶
- func GetGlobalGrpcConfig(conf *config.Local) []grpc.DialOption
- func NewTLS(c *tls.Config, lc *config.Local) credentials.TransportCredentials
- func SPIFFEIDFromCert(cert *x509.Certificate) *url.URL
- func SPIFFEIDFromState(state utls.ConnectionState) *url.URL
- func WrapSyscallConn(rawConn, newConn net.Conn) net.Conn
- type TLSInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGlobalGrpcConfig ¶
func GetGlobalGrpcConfig(conf *config.Local) []grpc.DialOption
func NewTLS ¶
func NewTLS(c *tls.Config, lc *config.Local) credentials.TransportCredentials
func SPIFFEIDFromCert ¶
func SPIFFEIDFromCert(cert *x509.Certificate) *url.URL
func SPIFFEIDFromState ¶
func SPIFFEIDFromState(state utls.ConnectionState) *url.URL
Types ¶
type TLSInfo ¶
type TLSInfo struct { State utls.ConnectionState credentials.CommonAuthInfo // This API is experimental. SPIFFEID *url.URL }
func (TLSInfo) GetSecurityValue ¶
func (t TLSInfo) GetSecurityValue() credentials.ChannelzSecurityValue
GetSecurityValue returns security info requested by channelz.
Click to show internal directories.
Click to hide internal directories.