clusterresourcequota

package
Version: v4.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 1, 2019 License: Apache-2.0 Imports: 30 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClusterResourceQuota

func NewClusterResourceQuota() (admission.Interface, error)

NewClusterResourceQuota configures an admission controller that can enforce clusterQuota constraints using the provided registry. The registry must have the capability to handle group/kinds that are persisted by the server this admission controller is intercepting

func Register

func Register(plugins *admission.Plugins)

Types

type ByName

type ByName []corev1.ResourceQuota

func (ByName) Len

func (v ByName) Len() int

func (ByName) Less

func (v ByName) Less(i, j int) bool

func (ByName) Swap

func (v ByName) Swap(i, j int)

type DefaultLockFactory

type DefaultLockFactory struct {
	// contains filtered or unexported fields
}

func NewDefaultLockFactory

func NewDefaultLockFactory() *DefaultLockFactory

func (*DefaultLockFactory) GetLock

func (f *DefaultLockFactory) GetLock(key string) sync.Locker

type LockFactory

type LockFactory interface {
	GetLock(string) sync.Locker
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL