package adapter

import "go.etcd.io/etcd/server/v3/proxy/grpcproxy/adapter"

Package adapter provides gRPC adapters between client and server gRPC interfaces without needing to go through a gRPC connection.

Index

Functions

func AuthServerToAuthClient

func AuthServerToAuthClient(as pb.AuthServer) pb.AuthClient

func ClusterServerToClusterClient

func ClusterServerToClusterClient(cls pb.ClusterServer) pb.ClusterClient

func ElectionServerToElectionClient

func ElectionServerToElectionClient(es v3electionpb.ElectionServer) v3electionpb.ElectionClient

func KvServerToKvClient

func KvServerToKvClient(kvs pb.KVServer) pb.KVClient

func LeaseServerToLeaseClient

func LeaseServerToLeaseClient(ls pb.LeaseServer) pb.LeaseClient

func LockServerToLockClient

func LockServerToLockClient(ls v3lockpb.LockServer) v3lockpb.LockClient

func MaintenanceServerToMaintenanceClient

func MaintenanceServerToMaintenanceClient(mts pb.MaintenanceServer) pb.MaintenanceClient

func WatchServerToWatchClient

func WatchServerToWatchClient(wserv pb.WatchServer) pb.WatchClient

Source Files

auth_client_adapter.go chan_stream.go cluster_client_adapter.go doc.go election_client_adapter.go kv_client_adapter.go lease_client_adapter.go lock_client_adapter.go maintenance_client_adapter.go watch_client_adapter.go

Version
v3.5.18 (latest)
Published
Jan 24, 2025
Platform
linux/amd64
Imports
9 packages
Last checked
5 days ago

Tools for package owners.