eventratelimit

package
v1.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

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.

func Register

func Register(plugins *admission.Plugins)

Register registers a plugin

Types

type Plugin added in v1.9.0

type Plugin struct {
	*admission.Handler
	// contains filtered or unexported fields
}

Plugin implements an admission controller that can enforce event rate limits

func (*Plugin) Validate added in v1.9.0

func (a *Plugin) Validate(attr admission.Attributes, o admission.ObjectInterfaces) (err error)

Validate makes admission decisions while enforcing event rate limits

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL