package credentials

import "github.com/coreos/etcd/clientv3/credentials"

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

Index

Types

type Bundle

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

Bundle defines gRPC credential interface.

func NewBundle

func NewBundle(cfg Config) Bundle

NewBundle constructs a new gRPC credential bundle.

type Config

type Config struct {
	TLSConfig *tls.Config
}

Config defines gRPC credential configuration.

Source Files

credentials.go

Version
v3.3.26+incompatible
Published
Oct 4, 2021
Platform
js/wasm
Imports
7 packages
Last checked
4 minutes ago

Tools for package owners.