gateway_providers

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GatewayAdapter

type GatewayAdapter interface {
	GatewayProviderExist() bool
	GetVersion() (string, error)
	CheckPluginEnabled(pluginName string) (bool, error)
	CreateConsumer(req *ConsumerReqDto) (*ConsumerRespDto, error)
	DeleteConsumer(string) error
	CreateOrUpdateRoute(req *RouteReqDto) (*RouteRespDto, error)
	DeleteRoute(string) error
	UpdateRoute(req *RouteReqDto) (*RouteRespDto, error)
	CreateOrUpdateService(req *ServiceReqDto) (*ServiceRespDto, error)
	DeleteService(string) error
	DeletePluginIfExist(req *PluginReqDto) error
	CreateOrUpdatePlugin(req *PluginReqDto) (*PluginRespDto, error)
	CreateOrUpdatePluginById(req *PluginReqDto) (*PluginRespDto, error)
	GetPlugin(req *PluginReqDto) (*PluginRespDto, error)
	AddPlugin(req *PluginReqDto) (*PluginRespDto, error)
	UpdatePlugin(req *PluginReqDto) (*PluginRespDto, error)
	PutPlugin(req *PluginReqDto) (*PluginRespDto, error)
	RemovePlugin(string) error
	CreateCredential(req *CredentialReqDto) (*CredentialDto, error)
	DeleteCredential(string, string, string) error
	GetCredentialList(string, string) (*CredentialListDto, error)
	CreateAclGroup(string, string) error
	CreateUpstream(req *UpstreamDto) (*UpstreamDto, error)
	GetUpstreamStatus(string) (*UpstreamStatusRespDto, error)
	AddUpstreamTarget(string, *TargetDto) (*TargetDto, error)
	DeleteUpstreamTarget(string, string) error
	TouchRouteOAuthMethod(string) error
	GetRoutes() ([]RouteRespDto, error)
	GetRoutesWithTag(tag string) ([]RouteRespDto, error)
}

Directories

Path Synopsis
v2
mse
dto

Jump to

Keyboard shortcuts

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