grpcproxy

package
v3.1.0-alpha.0....-4ef44d1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2016 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

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

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

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) RoleList

func (*AuthProxy) UserAdd

func (*AuthProxy) UserDelete

func (*AuthProxy) UserGet

func (*AuthProxy) UserGrantRole

func (*AuthProxy) UserList

func (*AuthProxy) UserRevokeRole

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL