etcd: github.com/etcd-io/etcd/clientv3/credentials Index | Files

package credentials

import "github.com/etcd-io/etcd/clientv3/credentials"

Package credentials implements gRPC credential interface with etcd specific logic. e.g., client handshake with custom authority parameter

Index

Package Files

credentials.go

type Bundle Uses

type Bundle interface {
    grpccredentials.Bundle
    UpdateAuthToken(token string)
}

Bundle defines gRPC credential interface.

func NewBundle Uses

func NewBundle(cfg Config) Bundle

NewBundle constructs a new gRPC credential bundle.

type Config Uses

type Config struct {
    TLSConfig *tls.Config
}

Config defines gRPC credential configuration.

Package credentials imports 7 packages (graph). Updated 2019-10-12. Refresh now. Tools for package owners.