credentials

package
Version: v3.3.24+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto