etcd: go.etcd.io/etcd/clientv3/credentials Index | Files

package credentials

import "go.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 6 packages (graph) and is imported by 20 packages. Updated 2019-07-26. Refresh now. Tools for package owners.