zkproxy

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

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