adapter - ActiveState ActiveGo 1.8
...

Package adapter

import "github.com/coreos/etcd/proxy/grpcproxy/adapter"
Overview
Index

Overview ▾

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

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