grpcproxy

package
v3.1.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2016 License: Apache-2.0 Imports: 14 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 added in v3.1.0

func KvServerToKvClient(kvs pb.KVServer) pb.KVClient

func NewAuthProxy added in v3.1.0

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

func NewClusterProxy added in v3.1.0

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

func NewKvProxy

func NewKvProxy(c *clientv3.Client) pb.KVServer

func NewLeaseProxy added in v3.1.0

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

func NewMaintenanceProxy added in v3.1.0

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

func NewWatchProxy added in v3.1.0

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 added in v3.1.0

func WatchServerToWatchClient(wserv pb.WatchServer) pb.WatchClient

Types

type AuthProxy added in v3.1.0

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

func (*AuthProxy) AuthDisable added in v3.1.0

func (*AuthProxy) AuthEnable added in v3.1.0

func (*AuthProxy) Authenticate added in v3.1.0

func (*AuthProxy) RoleAdd added in v3.1.0

func (*AuthProxy) RoleDelete added in v3.1.0

func (*AuthProxy) RoleGet added in v3.1.0

func (*AuthProxy) RoleGrantPermission added in v3.1.0

func (*AuthProxy) RoleList added in v3.1.0

func (*AuthProxy) RoleRevokePermission added in v3.1.0

func (*AuthProxy) UserAdd added in v3.1.0

func (*AuthProxy) UserChangePassword added in v3.1.0

func (*AuthProxy) UserDelete added in v3.1.0

func (*AuthProxy) UserGet added in v3.1.0

func (*AuthProxy) UserGrantRole added in v3.1.0

func (*AuthProxy) UserList added in v3.1.0

func (*AuthProxy) UserRevokeRole added in v3.1.0

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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