Documentation
¶
Index ¶
- type ContextCarrier
- type PolicyChange
- type PolicyDiffLogger
- func (l *PolicyDiffLogger) Count() int
- func (l *PolicyDiffLogger) ExportJSON() ([]byte, error)
- func (l *PolicyDiffLogger) GetChanges() []PolicyChange
- func (l *PolicyDiffLogger) LogAdded(ruleID, value string)
- func (l *PolicyDiffLogger) LogChanged(ruleID, oldVal, newVal string)
- func (l *PolicyDiffLogger) LogRemoved(ruleID, value string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextCarrier ¶
type ContextCarrier struct {
// contains filtered or unexported fields
}
func NewContextCarrier ¶
func NewContextCarrier() *ContextCarrier
func (*ContextCarrier) CarryRequest ¶
func (c *ContextCarrier) CarryRequest(key, value string)
func (*ContextCarrier) Clear ¶
func (c *ContextCarrier) Clear()
func (*ContextCarrier) GetAll ¶
func (c *ContextCarrier) GetAll() map[string]string
func (*ContextCarrier) GetResponse ¶
func (c *ContextCarrier) GetResponse(key string) string
type PolicyChange ¶
type PolicyDiffLogger ¶
type PolicyDiffLogger struct {
// contains filtered or unexported fields
}
func NewPolicyDiffLogger ¶
func NewPolicyDiffLogger() *PolicyDiffLogger
func (*PolicyDiffLogger) Count ¶
func (l *PolicyDiffLogger) Count() int
func (*PolicyDiffLogger) ExportJSON ¶
func (l *PolicyDiffLogger) ExportJSON() ([]byte, error)
func (*PolicyDiffLogger) GetChanges ¶
func (l *PolicyDiffLogger) GetChanges() []PolicyChange
func (*PolicyDiffLogger) LogAdded ¶
func (l *PolicyDiffLogger) LogAdded(ruleID, value string)
func (*PolicyDiffLogger) LogChanged ¶
func (l *PolicyDiffLogger) LogChanged(ruleID, oldVal, newVal string)
func (*PolicyDiffLogger) LogRemoved ¶
func (l *PolicyDiffLogger) LogRemoved(ruleID, value string)
Click to show internal directories.
Click to hide internal directories.