Documentation ¶
Overview ¶
Package eventratelimit contains an admission controller that enforces a rate limit on events
Index ¶
Constants ¶
View Source
const PluginName = "EventRateLimit"
PluginName indicates name of admission plugin.
Variables ¶
This section is empty.
Functions ¶
func LoadConfiguration ¶
func LoadConfiguration(config io.Reader) (*eventratelimitapi.Configuration, error)
LoadConfiguration loads the provided configuration.
Types ¶
type Plugin ¶
Plugin implements an admission controller that can enforce event rate limits
func (*Plugin) Validate ¶
func (a *Plugin) Validate(ctx context.Context, attr admission.Attributes, o admission.ObjectInterfaces) (err error)
Validate makes admission decisions while enforcing event rate limits
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
apis
|
|
eventratelimit/install
Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
|
Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery. |
eventratelimit/v1alpha1
Package v1alpha1 is the v1alpha1 version of the API.
|
Package v1alpha1 is the v1alpha1 version of the API. |
Click to show internal directories.
Click to hide internal directories.