kubernetes: k8s.io/kubernetes/plugin/pkg/admission/eventratelimit Index | Files | Directories

package eventratelimit

import "k8s.io/kubernetes/plugin/pkg/admission/eventratelimit"

Package eventratelimit contains an admission controller that enforces a rate limit on events

Index

Package Files

admission.go cache.go clock.go config.go doc.go limitenforcer.go

Constants

const PluginName = "EventRateLimit"

PluginName indicates name of admission plugin.

func LoadConfiguration Uses

func LoadConfiguration(config io.Reader) (*eventratelimitapi.Configuration, error)

LoadConfiguration loads the provided configuration.

func Register Uses

func Register(plugins *admission.Plugins)

Register registers a plugin

type Plugin Uses

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

Plugin implements an admission controller that can enforce event rate limits

func (*Plugin) Validate Uses

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

Validate makes admission decisions while enforcing event rate limits

Directories

PathSynopsis
apis/eventratelimit
apis/eventratelimit/installPackage install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
apis/eventratelimit/v1alpha1Package v1alpha1 is the v1alpha1 version of the API.
apis/eventratelimit/validation

Package eventratelimit imports 18 packages (graph) and is imported by 31 packages. Updated 2019-08-22. Refresh now. Tools for package owners.