const PluginName …
const DefaultInitialBackoffDelay …
func init() { … }
func retryOnError(err error) bool { … }
func loadWebhook(configFile string, groupVersion schema.GroupVersion, retryBackoff wait.Backoff, customDial utilnet.DialFunc) (*webhook.GenericWebhook, error) { … }
type backend …
func NewDynamicBackend(rc *rest.RESTClient, retryBackoff wait.Backoff) audit.Backend { … }
func NewBackend(kubeConfigFile string, groupVersion schema.GroupVersion, retryBackoff wait.Backoff, customDial utilnet.DialFunc) (audit.Backend, error) { … }
func (b *backend) Run(stopCh <-chan struct{ … }
func (b *backend) Shutdown() { … }
func (b *backend) ProcessEvents(ev ...*auditinternal.Event) bool { … }
func (b *backend) processEvents(ev ...*auditinternal.Event) error { … }
func (b *backend) String() string { … }