zkproxy

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 License: AGPL-3.0 Imports: 6 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct {
	ClusterName string
	Addr        string
	// contains filtered or unexported fields
}

Adapter .

func NewAdapter

func NewAdapter(clusterName, addr string) *Adapter

NewAdapter .

func (*Adapter) CreateHostRoute

func (a *Adapter) CreateHostRoute(projectID, env, appID, namespace string, rules *pb.HostRules) (*pb.HostRules, error)

func (*Adapter) CreateHostRuntimeRule

func (a *Adapter) CreateHostRuntimeRule(projectID, env, host, namespace string, rules *pb.HostRuntimeRules) (*pb.HostRuntimeRules, error)

func (*Adapter) CreateRouteRule

func (a *Adapter) CreateRouteRule(interfaceName, projectID, env, namespace string, rule *pb.RequestRule) (*pb.RequestRule, error)

func (*Adapter) DeleteHostRoute

func (a *Adapter) DeleteHostRoute(projectID, env, appID, namespace string) (*pb.HostRules, error)

func (*Adapter) DeleteRouteRule

func (a *Adapter) DeleteRouteRule(interfaceName, projectID, env, namespace string) (*pb.RequestRule, error)

func (*Adapter) GetAllHostRuntimeRules

func (a *Adapter) GetAllHostRuntimeRules(projectID, env, appID, namespace string) (*pb.HostRuntimeInterfaces, error)

func (*Adapter) GetAllInterfaceList

func (a *Adapter) GetAllInterfaceList(projectID, env, namespace string) ([]*pb.Interface, error)

func (*Adapter) GetDubboInterfaceTime

func (a *Adapter) GetDubboInterfaceTime(interfaceName, projectID, env, namespace string) (*pb.DubboInterfaceTime, error)

func (*Adapter) GetHostRule

func (a *Adapter) GetHostRule(projectID, env, appID, namespace string) (*pb.HostRules, error)

func (*Adapter) GetHostRuntimeRule

func (a *Adapter) GetHostRuntimeRule(host, projectID, env, namespace string) (*pb.HostRuntimeRules, error)

func (*Adapter) GetRouteRule

func (a *Adapter) GetRouteRule(interfaceName, projectID, env, namespace string) (*pb.RequestRule, error)

Jump to

Keyboard shortcuts

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