Documentation ¶
Overview ¶
Package adapter provides gRPC adapters between client and server gRPC interfaces without needing to go through a gRPC connection.
Index ¶
- func ClusterServerToClusterClient(cls pb.ClusterServer) pb.ClusterClient
- func KvServerToKvClient(kvs pb.KVServer) pb.KVClient
- func LeaseServerToLeaseClient(ls pb.LeaseServer) pb.LeaseClient
- func MaintenanceServerToMaintenanceClient(mts pb.MaintenanceServer) pb.MaintenanceClient
- func WatchServerToWatchClient(wserv pb.WatchServer) pb.WatchClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterServerToClusterClient ¶
func ClusterServerToClusterClient(cls pb.ClusterServer) pb.ClusterClient
func LeaseServerToLeaseClient ¶
func LeaseServerToLeaseClient(ls pb.LeaseServer) pb.LeaseClient
func MaintenanceServerToMaintenanceClient ¶
func MaintenanceServerToMaintenanceClient(mts pb.MaintenanceServer) pb.MaintenanceClient
func WatchServerToWatchClient ¶
func WatchServerToWatchClient(wserv pb.WatchServer) pb.WatchClient
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.