kubernetes/plugin/pkg/admission/eventratelimit/admission.go

const PluginName

// Register registers a plugin
func Register(plugins *admission.Plugins) {}

type Plugin

var _

// newEventRateLimit configures an admission controller that can enforce event rate limits
func newEventRateLimit(config *eventratelimitapi.Configuration, clock flowcontrol.Clock) (*Plugin, error) {}

// Validate makes admission decisions while enforcing event rate limits
func (a *Plugin) Validate(ctx context.Context, attr admission.Attributes, o admission.ObjectInterfaces) (err error) {}