v2

package
v1.2.0-rc Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: AGPL-3.0 Imports: 8 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/"
)

Variables

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

Functions

This section is empty.

Types

type KongAdapterImpl

type KongAdapterImpl struct {
	*base.KongAdapterImpl
}

func (*KongAdapterImpl) AddPlugin

func (impl *KongAdapterImpl) AddPlugin(req *KongPluginReqDto) (*KongPluginRespDto, error)

func (*KongAdapterImpl) CreateCredential

func (impl *KongAdapterImpl) CreateCredential(req *KongCredentialReqDto) (*KongCredentialDto, error)

func (*KongAdapterImpl) CreateOrUpdatePlugin

func (impl *KongAdapterImpl) CreateOrUpdatePlugin(req *KongPluginReqDto) (*KongPluginRespDto, error)

func (*KongAdapterImpl) CreateOrUpdatePluginById

func (impl *KongAdapterImpl) CreateOrUpdatePluginById(req *KongPluginReqDto) (*KongPluginRespDto, error)

func (*KongAdapterImpl) DeletePluginIfExist

func (impl *KongAdapterImpl) DeletePluginIfExist(req *KongPluginReqDto) error

func (*KongAdapterImpl) GetCredentialList

func (impl *KongAdapterImpl) GetCredentialList(consumerId, pluginName string) (*KongCredentialListDto, error)

func (*KongAdapterImpl) GetPlugin

func (impl *KongAdapterImpl) GetPlugin(req *KongPluginReqDto) (*KongPluginRespDto, error)

func (*KongAdapterImpl) KongExist

func (impl *KongAdapterImpl) KongExist() bool

func (*KongAdapterImpl) PutPlugin

func (impl *KongAdapterImpl) PutPlugin(req *KongPluginReqDto) (*KongPluginRespDto, error)

func (*KongAdapterImpl) UpdatePlugin

func (impl *KongAdapterImpl) UpdatePlugin(req *KongPluginReqDto) (*KongPluginRespDto, error)

Jump to

Keyboard shortcuts

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