v3go.etcd.io/etcd/client/v3/credentials Index | Files

package credentials

import "go.etcd.io/etcd/client/v3/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.5.18 (latest)
Published
Jan 24, 2025
Platform
linux/amd64
Imports
6 packages
Last checked
22 hours ago

Tools for package owners.