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.27+incompatible
Published
Oct 15, 2021
Platform
linux/amd64
Imports
7 packages
Last checked
16 minutes ago

Tools for package owners.