Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Enforcer ¶
type Enforcer interface { // Enforce starts enforcing policies for the given policy.PUInfo. Enforce(contextID string, puInfo *policy.PUInfo) error // Unenforce stops enforcing policy for the given IP. Unenforce(contextID string) error // GetFilterQueue returns the current FilterQueueConfig. GetFilterQueue() *fqconfig.FilterQueue // GetPortSetInstance returns nil for the proxy GetPortSetInstance() portset.PortSet // Start starts the PolicyEnforcer. Start() error // Stop stops the PolicyEnforcer. Stop() error // UpdateSecrets -- updates the secrets of running enforcers managed by trireme. Remote enforcers will get the secret updates with the next policy push UpdateSecrets(secrets secrets.Secrets) error }
A Enforcer is implementing the enforcer that will modify//analyze the capture packets
Click to show internal directories.
Click to hide internal directories.