Versions in this module Expand all Collapse all v1 v1.0.1 Aug 15, 2024 Changes in this version + func NewMseAdapter(az string) (gateway_providers.GatewayAdapter, error) + type MseAdapterImpl struct + AccessKeyID string + AccessKeySecret string + Bdl *bundle.Bundle + ClusterName string + GatewayEndpoint string + GatewayUniqueID string + ProviderName string + func (impl *MseAdapterImpl) AddPlugin(req *PluginReqDto) (*PluginRespDto, error) + func (impl *MseAdapterImpl) AddUpstreamTarget(upstreamId string, req *TargetDto) (*TargetDto, error) + func (impl *MseAdapterImpl) CheckPluginEnabled(pluginName string) (bool, error) + func (impl *MseAdapterImpl) CreateAclGroup(consumerId, customId string) error + func (impl *MseAdapterImpl) CreateConsumer(req *ConsumerReqDto) (*ConsumerRespDto, error) + func (impl *MseAdapterImpl) CreateCredential(req *CredentialReqDto) (*CredentialDto, error) + func (impl *MseAdapterImpl) CreateMSEClientByAPI() (client *mseclient.Client, err error) + func (impl *MseAdapterImpl) CreateOrUpdatePlugin(req *PluginReqDto) (*PluginRespDto, error) + func (impl *MseAdapterImpl) CreateOrUpdatePluginById(req *PluginReqDto) (*PluginRespDto, error) + func (impl *MseAdapterImpl) CreateOrUpdateRoute(req *RouteReqDto) (*RouteRespDto, error) + func (impl *MseAdapterImpl) CreateOrUpdateService(req *ServiceReqDto) (*ServiceRespDto, error) + func (impl *MseAdapterImpl) CreateUpstream(req *UpstreamDto) (*UpstreamDto, error) + func (impl *MseAdapterImpl) DeleteConsumer(id string) error + func (impl *MseAdapterImpl) DeleteCredential(consumerId, pluginName, credentialStr string) error + func (impl *MseAdapterImpl) DeletePluginIfExist(req *PluginReqDto) error + func (impl *MseAdapterImpl) DeleteRoute(routeId string) error + func (impl *MseAdapterImpl) DeleteService(serviceId string) error + func (impl *MseAdapterImpl) DeleteUpstreamTarget(upstreamId, targetId string) error + func (impl *MseAdapterImpl) GatewayProviderExist() bool + func (impl *MseAdapterImpl) GetCredentialList(consumerId, pluginName string) (*CredentialListDto, error) + func (impl *MseAdapterImpl) GetMSEGatewayByAPI() (*mseclient.GetGatewayResponseBodyData, error) + func (impl *MseAdapterImpl) GetMSEGatewayRouteNameByZoneName(zoneName string, domainName *string) (string, error) + func (impl *MseAdapterImpl) GetMSEPluginConfigByIDByAPI(pluginId *int64) (*mseclient.GetPluginConfigResponseBodyData, error) + func (impl *MseAdapterImpl) GetMSEPluginsByAPI(name *string, category *int32, enableOnly *bool) ([]*mseclient.GetPluginsResponseBodyData, error) + func (impl *MseAdapterImpl) GetPlugin(req *PluginReqDto) (*PluginRespDto, error) + func (impl *MseAdapterImpl) GetRoutes() ([]RouteRespDto, error) + func (impl *MseAdapterImpl) GetRoutesWithTag(tag string) ([]RouteRespDto, error) + func (impl *MseAdapterImpl) GetUpstreamStatus(upstreamId string) (*UpstreamStatusRespDto, error) + func (impl *MseAdapterImpl) GetVersion() (string, error) + func (impl *MseAdapterImpl) ListMSEGatewayRoutesByAPI(domainName *string, pageNumber *int32, pageSize *int32) (*mseclient.ListGatewayRouteResponseBody, error) + func (impl *MseAdapterImpl) PutPlugin(req *PluginReqDto) (*PluginRespDto, error) + func (impl *MseAdapterImpl) RemovePlugin(id string) error + func (impl *MseAdapterImpl) TouchRouteOAuthMethod(id string) error + func (impl *MseAdapterImpl) UpdateMSEPluginConfigByIDByAPI(pluginID *int64, configID *int64, config *string, configLevel *int32, ...) (*mseclient.UpdatePluginConfigResponseBody, error) + func (impl *MseAdapterImpl) UpdatePlugin(req *PluginReqDto) (*PluginRespDto, error) + func (impl *MseAdapterImpl) UpdateRoute(req *RouteReqDto) (*RouteRespDto, error)