Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DegradationConfig ¶
func (*DegradationConfig) DeepCopy ¶
func (c *DegradationConfig) DeepCopy() iface.ConfigValueItem
DeepCopy returns a copy of the current DegradationConfig
func (*DegradationConfig) EqualsTo ¶
func (c *DegradationConfig) EqualsTo(other iface.ConfigValueItem) bool
EqualsTo returns true if the current DegradationConfig equals to the other DegradationConfig
type DegradationContainer ¶
type DegradationContainer struct {
// contains filtered or unexported fields
}
DegradationContainer is a wrapper for DegradationConfig
func NewDegradationContainer ¶
func NewDegradationContainer() *DegradationContainer
func (*DegradationContainer) GetAclRule ¶
func (c *DegradationContainer) GetAclRule() acl.RejectFunc
func (*DegradationContainer) NotifyPolicyChange ¶
func (c *DegradationContainer) NotifyPolicyChange(cfg *DegradationConfig)
NotifyPolicyChange to receive policy when it changes
Click to show internal directories.
Click to hide internal directories.