Searched refs:TransportCredentials (Results 1 – 7 of 7) sorted by relevance
83 type TransportCredentials interface { interface104 Clone() TransportCredentials182 func (c *tlsCreds) Clone() TransportCredentials {192 func NewTLS(c *tls.Config) TransportCredentials {201 func NewClientTLSFromCert(cp *x509.CertPool, serverNameOverride string) TransportCredentials {208 func NewClientTLSFromFile(certFile, serverNameOverride string) (TransportCredentials, error) {221 func NewServerTLSFromCert(cert *tls.Certificate) TransportCredentials {227 func NewServerTLSFromFile(certFile, keyFile string) (TransportCredentials, error) {
317 func WithTransportCredentials(creds credentials.TransportCredentials) DialOption { argument319 o.copts.TransportCredentials = creds482 if cc.dopts.copts.TransportCredentials == nil {486 if cc.dopts.copts.TransportCredentials != nil {567 creds := cc.dopts.copts.TransportCredentials593 var credsClone credentials.TransportCredentials594 if creds := cc.dopts.copts.TransportCredentials; creds != nil {
52 DialCreds credentials.TransportCredentials
118 creds credentials.TransportCredentials261 func Creds(c credentials.TransportCredentials) ServerOption { argument
127 DialCreds credentials.TransportCredentials
464 TransportCredentials credentials.TransportCredentials member
177 if creds := opts.TransportCredentials; creds != nil {