eventratelimit

package
v1.11.5-beta.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2018 License: Apache-2.0 Imports: 16 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) (err error)

Validate makes admission decisions while enforcing event rate limits

Directories

Path Synopsis
apis

Jump to

Keyboard shortcuts

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