kong

package
v1.3.0-rc.0...-d217119 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConsumerRoot string = "/consumers/"
	PluginRoot   string = "/plugins/"
	ServiceRoot  string = "/services/"
	RouteRoot    string = "/routes/"
	AclRoot      string = "/acls/"
	UpstreamRoot string = "/upstreams/"
	HealthPath   string = "/health/"
	TargetPath   string = "/targets/"
)
View Source
const InnerHost = "gateway.inner"

Variables

View Source
var (
	ErrInvalidReq = errors.New("kongAdapter: invalid request")
)

Functions

func NewKongAdapter

func NewKongAdapter(kongAddr string) gateway_providers.GatewayAdapter

func NewKongAdapterByConsumerId

func NewKongAdapterByConsumerId(consumerDb service.GatewayConsumerService, consumerId string) gateway_providers.GatewayAdapter

func NewKongAdapterForConsumer

func NewKongAdapterForConsumer(consumer *orm.GatewayConsumer) gateway_providers.GatewayAdapter

func NewKongAdapterForProject

func NewKongAdapterForProject(az, env, projectId string) gateway_providers.GatewayAdapter

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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