Documentation ¶
Index ¶
- Constants
- type Policy
- func (policy Policy) CreateDefaultConfig(gatewayProvider string, ctx map[string]interface{}) apipolicy.PolicyDto
- func (policy Policy) NeedSerialUpdate() bool
- func (policy Policy) ParseConfig(dto apipolicy.PolicyDto, ctx map[string]interface{}, forValidate bool) (apipolicy.PolicyConfig, error)
- func (policy Policy) UnmarshalConfig(config []byte, gatewayProvider string) (apipolicy.PolicyDto, error, string)
- type PolicyDto
Constants ¶
View Source
const ( WAF_SWITCH_ON = "on" WAF_SWITCH_OFF = "off" WAF_SWITCH_WATCH = "watch" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Policy ¶
type Policy struct {
apipolicy.BasePolicy
}
func (Policy) CreateDefaultConfig ¶
func (Policy) NeedSerialUpdate ¶
func (Policy) ParseConfig ¶
Click to show internal directories.
Click to hide internal directories.