Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventClient ¶
type EventClient interface { // Run watches for PolicyViolation Events Run(stopper chan struct{}) error }
EventClient to watch for PolicyViolations in the cluster
type Listener ¶
type Listener = func(PolicyViolation)
type PolicyViolation ¶
type Publisher ¶
type Publisher struct {
// contains filtered or unexported fields
}
func (*Publisher) GetListener ¶
func (*Publisher) Publish ¶
func (p *Publisher) Publish(event PolicyViolation)
func (*Publisher) RegisterListener ¶
Click to show internal directories.
Click to hide internal directories.