clusterresourcequota

package
v3.8.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2018 License: Apache-2.0 Imports: 24 Imported by: 0

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 []kapi.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
y or Y : Canonical URL