impl

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 17 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGatewayOpenapiRuleServiceImpl

func NewGatewayOpenapiRuleServiceImpl() error

Types

type GatewayOpenapiRuleServiceImpl

type GatewayOpenapiRuleServiceImpl struct {
	// contains filtered or unexported fields
}

func (GatewayOpenapiRuleServiceImpl) Clone

func (GatewayOpenapiRuleServiceImpl) CreateLimitRule

func (impl GatewayOpenapiRuleServiceImpl) CreateLimitRule(args *gw.DiceArgsDto, dto *gw.OpenLimitRuleDto) (res bool, existed bool, err error)

func (GatewayOpenapiRuleServiceImpl) CreateOrUpdateLimitRule

func (impl GatewayOpenapiRuleServiceImpl) CreateOrUpdateLimitRule(consumerId, packageId string, limits []exdto.LimitType) (err error)

func (GatewayOpenapiRuleServiceImpl) CreateRule

func (impl GatewayOpenapiRuleServiceImpl) CreateRule(diceInfo gw.DiceInfo, rule *gw.OpenapiRule, helper *db.SessionHelper) error

func (GatewayOpenapiRuleServiceImpl) DeleteByPackage

func (impl GatewayOpenapiRuleServiceImpl) DeleteByPackage(pack *orm.GatewayPackage) error

func (GatewayOpenapiRuleServiceImpl) DeleteByPackageApi

func (impl GatewayOpenapiRuleServiceImpl) DeleteByPackageApi(pack *orm.GatewayPackage, api *orm.GatewayPackageApi) error

func (GatewayOpenapiRuleServiceImpl) DeleteLimitRule

func (impl GatewayOpenapiRuleServiceImpl) DeleteLimitRule(id string) (res bool, err error)

func (GatewayOpenapiRuleServiceImpl) DeleteRule

func (impl GatewayOpenapiRuleServiceImpl) DeleteRule(ruleId string, helper *db.SessionHelper) error

func (GatewayOpenapiRuleServiceImpl) GetApiRules

func (impl GatewayOpenapiRuleServiceImpl) GetApiRules(apiId string, category ...gw.RuleCategory) ([]gw.OpenapiRuleInfo, error)

func (GatewayOpenapiRuleServiceImpl) GetLimitRules

func (impl GatewayOpenapiRuleServiceImpl) GetLimitRules(args *gw.GetOpenLimitRulesDto) (res common.NewPageQuery, err error)

func (GatewayOpenapiRuleServiceImpl) GetPackageRules

func (impl GatewayOpenapiRuleServiceImpl) GetPackageRules(packageId string, helper *db.SessionHelper, category ...gw.RuleCategory) ([]gw.OpenapiRuleInfo, error)

func (GatewayOpenapiRuleServiceImpl) SetPackageApiKongPolicies

func (impl GatewayOpenapiRuleServiceImpl) SetPackageApiKongPolicies(packageApi *orm.GatewayPackageApi, session *db.SessionHelper) error

func (GatewayOpenapiRuleServiceImpl) SetPackageKongPolicies

func (impl GatewayOpenapiRuleServiceImpl) SetPackageKongPolicies(pack *orm.GatewayPackage, helper *db.SessionHelper) error

func (GatewayOpenapiRuleServiceImpl) UpdateLimitRule

func (impl GatewayOpenapiRuleServiceImpl) UpdateLimitRule(ruleId string, dto *gw.OpenLimitRuleDto) (res *gw.OpenLimitRuleInfoDto, err error)

func (GatewayOpenapiRuleServiceImpl) UpdateRule

func (impl GatewayOpenapiRuleServiceImpl) UpdateRule(ruleId string, rule *gw.OpenapiRule) (*orm.GatewayPackageRule, error)

Jump to

Keyboard shortcuts

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