Documentation
¶
Index ¶
Constants ¶
View Source
const ( EffectAllow = "allow" EffectDeny = "deny" )
Variables ¶
This section is empty.
Functions ¶
func NewAllowAndDeny ¶
New an allow-and-deny effector.
The effector return allow when any matched policy is allow, and there is no any matched policy is deny.
There is must be an effect column in policy.
Valid effect values:
- allow
- deny
func NewAllowOverride ¶
New an allow-override effector.
The effector return allow when any matched policy is allow. There is no effect column, policy is default to be allow effect.
func NewDenyOverride ¶
New an deny-override effector.
The effector return allow when there is no any matched policy is deny. There is must be an effect column in policy.
Valid effect values:
- allow
- deny
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.