Versions in this module Expand all Collapse all v1 v1.1.0 Aug 3, 2020 v1.0.0 Apr 23, 2020 Changes in this version + const SocketEnv + func Dial(opts ...DialOption) (*grpc.ClientConn, error) + func DialContext(ctx context.Context, opts ...DialOption) (*grpc.ClientConn, error) + func GetDefaultAddress() (string, bool) + func ValidateAddress(addr string) error + type DialOption func(*dialConfig) + func WithAddr(addr string) DialOption + func WithGRPCOptions(opts ...grpc.DialOption) DialOption + type Dialer struct + func NewDialer(opts ...DialOption) (*Dialer, error) + func (d *Dialer) Dial() (*grpc.ClientConn, error) + func (d *Dialer) DialContext(ctx context.Context) (*grpc.ClientConn, error) + type X509SVID struct + Certificates []*x509.Certificate + FederatedTrustBundlePools map[string]*x509.CertPool + FederatedTrustBundles map[string][]*x509.Certificate + PrivateKey crypto.Signer + SPIFFEID string + TrustBundle []*x509.Certificate + TrustBundlePool *x509.CertPool + type X509SVIDClient struct + func NewX509SVIDClient(watcher X509SVIDWatcher, opts ...DialOption) (*X509SVIDClient, error) + func (c *X509SVIDClient) Start() error + func (c *X509SVIDClient) Stop() error + type X509SVIDWatcher interface + OnError func(err error) + UpdateX509SVIDs func(*X509SVIDs) + type X509SVIDs struct + CRL *pkix.CertificateList + SVIDs []*X509SVID + func (x *X509SVIDs) Default() *X509SVID