Documentation ¶
Index ¶
- Constants
- Variables
- type KongAdapterImpl
- func (impl *KongAdapterImpl) AddPlugin(req *KongPluginReqDto) (*KongPluginRespDto, error)
- func (impl *KongAdapterImpl) CreateCredential(req *KongCredentialReqDto) (*KongCredentialDto, error)
- func (impl *KongAdapterImpl) CreateOrUpdatePlugin(req *KongPluginReqDto) (*KongPluginRespDto, error)
- func (impl *KongAdapterImpl) CreateOrUpdatePluginById(req *KongPluginReqDto) (*KongPluginRespDto, error)
- func (impl *KongAdapterImpl) DeletePluginIfExist(req *KongPluginReqDto) error
- func (impl *KongAdapterImpl) GetCredentialList(consumerId, pluginName string) (*KongCredentialListDto, error)
- func (impl *KongAdapterImpl) GetPlugin(req *KongPluginReqDto) (*KongPluginRespDto, error)
- func (impl *KongAdapterImpl) KongExist() bool
- func (impl *KongAdapterImpl) PutPlugin(req *KongPluginReqDto) (*KongPluginRespDto, error)
- func (impl *KongAdapterImpl) UpdatePlugin(req *KongPluginReqDto) (*KongPluginRespDto, error)
Constants ¶
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)
Click to show internal directories.
Click to hide internal directories.