Documentation ¶
Index ¶
- func NewGatewayApiPolicyServiceImpl() error
- type GatewayApiPolicyServiceImpl
- func (impl GatewayApiPolicyServiceImpl) Clone(ctx context.Context) api_policy.GatewayApiPolicyService
- func (impl GatewayApiPolicyServiceImpl) GetGatewayProvider(clusterName string) (string, error)
- func (impl GatewayApiPolicyServiceImpl) GetPolicyConfig(category, packageId, packageApiId string) (result interface{}, err error)
- func (impl GatewayApiPolicyServiceImpl) RefreshZoneIngress(zone orm.GatewayZone, az orm.GatewayAzInfo, namespace string, useKong bool) error
- func (impl GatewayApiPolicyServiceImpl) SetPackageDefaultPolicyConfig(category, packageId string, az *orm.GatewayAzInfo, config []byte, ...) (string, error)
- func (impl GatewayApiPolicyServiceImpl) SetPolicyConfig(category, packageId, packageApiId string, config []byte) (result interface{}, rerr error)
- func (impl GatewayApiPolicyServiceImpl) SetZoneDefaultPolicyConfig(packageId string, runtimeService *orm.GatewayRuntimeService, ...) (map[string]*string, *string, *service.SessionHelper, error)
- func (impl GatewayApiPolicyServiceImpl) SetZonePolicyConfig(zone *orm.GatewayZone, runtimeService *orm.GatewayRuntimeService, ...) (apipolicy.PolicyDto, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGatewayApiPolicyServiceImpl ¶
func NewGatewayApiPolicyServiceImpl() error
Types ¶
type GatewayApiPolicyServiceImpl ¶
type GatewayApiPolicyServiceImpl struct {
// contains filtered or unexported fields
}
func (GatewayApiPolicyServiceImpl) Clone ¶
func (impl GatewayApiPolicyServiceImpl) Clone(ctx context.Context) api_policy.GatewayApiPolicyService
func (GatewayApiPolicyServiceImpl) GetGatewayProvider ¶
func (impl GatewayApiPolicyServiceImpl) GetGatewayProvider(clusterName string) (string, error)
func (GatewayApiPolicyServiceImpl) GetPolicyConfig ¶
func (impl GatewayApiPolicyServiceImpl) GetPolicyConfig(category, packageId, packageApiId string) (result interface{}, err error)
func (GatewayApiPolicyServiceImpl) RefreshZoneIngress ¶
func (impl GatewayApiPolicyServiceImpl) RefreshZoneIngress(zone orm.GatewayZone, az orm.GatewayAzInfo, namespace string, useKong bool) error
func (GatewayApiPolicyServiceImpl) SetPackageDefaultPolicyConfig ¶
func (impl GatewayApiPolicyServiceImpl) SetPackageDefaultPolicyConfig(category, packageId string, az *orm.GatewayAzInfo, config []byte, helperOption ...*service.SessionHelper) (string, error)
func (GatewayApiPolicyServiceImpl) SetPolicyConfig ¶
func (impl GatewayApiPolicyServiceImpl) SetPolicyConfig(category, packageId, packageApiId string, config []byte) (result interface{}, rerr error)
func (GatewayApiPolicyServiceImpl) SetZoneDefaultPolicyConfig ¶
func (impl GatewayApiPolicyServiceImpl) SetZoneDefaultPolicyConfig(packageId string, runtimeService *orm.GatewayRuntimeService, zone *orm.GatewayZone, az *orm.GatewayAzInfo, helper ...*service.SessionHelper) (map[string]*string, *string, *service.SessionHelper, error)
func (GatewayApiPolicyServiceImpl) SetZonePolicyConfig ¶
func (impl GatewayApiPolicyServiceImpl) SetZonePolicyConfig(zone *orm.GatewayZone, runtimeService *orm.GatewayRuntimeService, category string, config []byte, helper *service.SessionHelper, needDeployTag ...bool) (apipolicy.PolicyDto, string, error)
Click to show internal directories.
Click to hide internal directories.