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) and is imported by 13 packages. Updated 2020-09-26. Refresh now. Tools for package owners.