etcd: Index | Files

package credentials

import ""

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


Package Files


type Bundle Uses

type Bundle interface {
    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). Updated 2020-06-10. Refresh now. Tools for package owners.