Documentation ¶
Index ¶
- Constants
- Variables
- type KongAdapterImpl
- func (impl *KongAdapterImpl) AddPlugin(req *PluginReqDto) (*PluginRespDto, error)
- func (impl *KongAdapterImpl) CreateCredential(req *CredentialReqDto) (*CredentialDto, error)
- func (impl *KongAdapterImpl) CreateOrUpdatePlugin(req *PluginReqDto) (*PluginRespDto, error)
- func (impl *KongAdapterImpl) CreateOrUpdatePluginById(req *PluginReqDto) (*PluginRespDto, error)
- func (impl *KongAdapterImpl) DeletePluginIfExist(req *PluginReqDto) error
- func (impl *KongAdapterImpl) GatewayProviderExist() bool
- func (impl *KongAdapterImpl) GetCredentialList(consumerId, pluginName string) (*CredentialListDto, error)
- func (impl *KongAdapterImpl) GetPlugin(req *PluginReqDto) (*PluginRespDto, error)
- func (impl *KongAdapterImpl) PutPlugin(req *PluginReqDto) (*PluginRespDto, error)
- func (impl *KongAdapterImpl) UpdatePlugin(req *PluginReqDto) (*PluginRespDto, 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 *PluginReqDto) (*PluginRespDto, error)
func (*KongAdapterImpl) CreateCredential ¶
func (impl *KongAdapterImpl) CreateCredential(req *CredentialReqDto) (*CredentialDto, error)
func (*KongAdapterImpl) CreateOrUpdatePlugin ¶
func (impl *KongAdapterImpl) CreateOrUpdatePlugin(req *PluginReqDto) (*PluginRespDto, error)
func (*KongAdapterImpl) CreateOrUpdatePluginById ¶
func (impl *KongAdapterImpl) CreateOrUpdatePluginById(req *PluginReqDto) (*PluginRespDto, error)
func (*KongAdapterImpl) DeletePluginIfExist ¶
func (impl *KongAdapterImpl) DeletePluginIfExist(req *PluginReqDto) error
func (*KongAdapterImpl) GatewayProviderExist ¶
func (impl *KongAdapterImpl) GatewayProviderExist() bool
func (*KongAdapterImpl) GetCredentialList ¶
func (impl *KongAdapterImpl) GetCredentialList(consumerId, pluginName string) (*CredentialListDto, error)
func (*KongAdapterImpl) GetPlugin ¶
func (impl *KongAdapterImpl) GetPlugin(req *PluginReqDto) (*PluginRespDto, error)
func (*KongAdapterImpl) PutPlugin ¶
func (impl *KongAdapterImpl) PutPlugin(req *PluginReqDto) (*PluginRespDto, error)
func (*KongAdapterImpl) UpdatePlugin ¶
func (impl *KongAdapterImpl) UpdatePlugin(req *PluginReqDto) (*PluginRespDto, error)
Click to show internal directories.
Click to hide internal directories.