package grpcproxy

import "github.com/coreos/etcd/proxy/grpcproxy"

Package grpcproxy is an OSI level 7 proxy for etcd v3 API requests.

Index

Functions

func DelRequestToOp

func DelRequestToOp(r *pb.DeleteRangeRequest) clientv3.Op

func KvServerToKvClient

func KvServerToKvClient(kvs pb.KVServer) pb.KVClient

func NewAuthProxy

func NewAuthProxy(c *clientv3.Client) pb.AuthServer

func NewClusterProxy

func NewClusterProxy(c *clientv3.Client) pb.ClusterServer

func NewKvProxy

func NewKvProxy(c *clientv3.Client) (pb.KVServer, <-chan struct{})

func NewLeaseProxy

func NewLeaseProxy(c *clientv3.Client) pb.LeaseServer

func NewMaintenanceProxy

func NewMaintenanceProxy(c *clientv3.Client) pb.MaintenanceServer

func NewWatchProxy

func NewWatchProxy(c *clientv3.Client) (pb.WatchServer, <-chan struct{})

func PutRequestToOp

func PutRequestToOp(r *pb.PutRequest) clientv3.Op

func RangeRequestToOp

func RangeRequestToOp(r *pb.RangeRequest) clientv3.Op

func WatchServerToWatchClient

func WatchServerToWatchClient(wserv pb.WatchServer) pb.WatchClient

Types

type AuthProxy

type AuthProxy struct {
	// contains filtered or unexported fields
}

func (*AuthProxy) AuthDisable

func (*AuthProxy) AuthEnable

func (*AuthProxy) Authenticate

func (*AuthProxy) RoleAdd

func (*AuthProxy) RoleDelete

func (*AuthProxy) RoleGet

func (*AuthProxy) RoleGrantPermission

func (*AuthProxy) RoleList

func (*AuthProxy) RoleRevokePermission

func (*AuthProxy) UserAdd

func (*AuthProxy) UserChangePassword

func (*AuthProxy) UserDelete

func (*AuthProxy) UserGet

func (*AuthProxy) UserGrantRole

func (*AuthProxy) UserList

func (*AuthProxy) UserRevokeRole

Source Files

auth.go cluster.go doc.go kv.go kv_client_adapter.go lease.go maintenance.go metrics.go watch.go watch_broadcast.go watch_broadcasts.go watch_client_adapter.go watch_ranges.go watcher.go

Directories

PathSynopsis
proxy/grpcproxy/cache
Version
v3.1.9+incompatible
Published
Jun 9, 2017
Platform
js/wasm
Imports
15 packages
Last checked
8 minutes ago

Tools for package owners.