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) }
Click to show internal directories.
Click to hide internal directories.