proxy

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartAPIProxy

func StartAPIProxy(p *Proxy, port int, cert string, key string, caCert string) (*grpc.Server, error)

func StartPeeringProxy

func StartPeeringProxy(p *Proxy, port int, certFile string, keyFile string, caFile string) (*grpc.Server, error)

Types

type APIProxy

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

func (*APIProxy) AddReplica

AddReplica calls this method on the exthandler

func (*APIProxy) AddTrigger

AddTrigger calls this method on the exthandler

func (*APIProxy) AddUser

AddUser calls this method on the exthandler

func (*APIProxy) Append

Append calls this method on the exthandler

func (*APIProxy) CreateKeygroup

CreateKeygroup calls this method on the exthandler

func (*APIProxy) Delete

Delete calls this method on the exthandler

func (*APIProxy) DeleteKeygroup

DeleteKeygroup calls this method on the exthandler

func (*APIProxy) GetAllReplica

GetAllReplica calls this method on the exthandler

func (*APIProxy) GetKeygroupReplica

GetKeygroupReplica calls this method on the exthandler

func (*APIProxy) GetKeygroupTriggers

GetKeygroupTriggers calls this method on the exthandler

func (*APIProxy) GetReplica

GetReplica calls this method on the exthandler

func (*APIProxy) Read

Read calls this method on the exthandler

func (*APIProxy) RemoveReplica

RemoveReplica calls this method on the exthandler

func (*APIProxy) RemoveTrigger

RemoveTrigger calls this method on the exthandler

func (*APIProxy) RemoveUser

func (a *APIProxy) RemoveUser(ctx context.Context, req *client.UserRequest) (*client.StatusResponse, error)

RemoveUser calls this method on the exthandler

func (*APIProxy) Scan

Scan calls this method on the exthandler

func (*APIProxy) Update

Update calls this method on the exthandler

type PeeringProxy

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

func (*PeeringProxy) AddReplica

func (p *PeeringProxy) AddReplica(ctx context.Context, req *peering.AddReplicaRequest) (*peering.Empty, error)

AddReplica calls this Method on the Inthandler

func (*PeeringProxy) AppendItem

func (p *PeeringProxy) AppendItem(ctx context.Context, req *peering.AppendItemRequest) (*peering.Empty, error)

AppendItem calls HandleAppend on the Inthandler

func (*PeeringProxy) CreateKeygroup

func (p *PeeringProxy) CreateKeygroup(ctx context.Context, req *peering.CreateKeygroupRequest) (*peering.Empty, error)

CreateKeygroup calls this Method on the Inthandler

func (*PeeringProxy) DeleteItem

func (p *PeeringProxy) DeleteItem(ctx context.Context, req *peering.DeleteItemRequest) (*peering.Empty, error)

DeleteItem has no implementation

func (*PeeringProxy) DeleteKeygroup

func (p *PeeringProxy) DeleteKeygroup(ctx context.Context, req *peering.DeleteKeygroupRequest) (*peering.Empty, error)

DeleteKeygroup calls this Method on the Inthandler

func (*PeeringProxy) GetAllItems

GetAllItems has no implementation

func (*PeeringProxy) GetItem

GetItem has no implementation

func (*PeeringProxy) PutItem

PutItem calls HandleUpdate on the Inthandler

func (*PeeringProxy) RemoveReplica

func (p *PeeringProxy) RemoveReplica(ctx context.Context, req *peering.RemoveReplicaRequest) (*peering.Empty, error)

RemoveReplica calls this Method on the Inthandler

type Proxy

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

func NewProxy

func NewProxy(hosts []string) *Proxy

Jump to

Keyboard shortcuts

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