v1

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2016 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = ""

Variables

View Source
var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1"}

SchemeGroupVersion is group version used to register these objects

Functions

func AddToScheme

func AddToScheme(scheme *runtime.Scheme)

Types

type ProjectLimitBySelector

type ProjectLimitBySelector struct {
	// Selector is a user label selector. An empty selector selects everything.
	Selector map[string]string `json:"selector",description:"user label selector"`
	// MaxProjects is the number of projects allowed for this class of users. If MaxProjects is nil,
	// there is no limit to the number of projects users can request. An unlimited number of projects
	// is useful in the case a limit is specified as the default for all users and only users with a
	// specific set of labels should be allowed unlimited project creation.
	MaxProjects *int `json:"maxProjects,omitempty",description:"maximum number of projects, unlimited if nil"`
}

ProjectLimitBySelector specifies the maximum number of projects allowed for a given user label selector

func (ProjectLimitBySelector) SwaggerDoc added in v1.1.4

func (ProjectLimitBySelector) SwaggerDoc() map[string]string

type ProjectRequestLimitConfig

type ProjectRequestLimitConfig struct {
	unversioned.TypeMeta `json:",inline"`

	// Limits are the project request limits
	Limits []ProjectLimitBySelector `json:"limits",description:"project request limits"`
}

ProjectRequestLimitConfig is the configuration for the project request limit plug-in It contains an ordered list of limits based on user label selectors. Selectors will be checked in order and the first one that applies will be used as the limit.

func (*ProjectRequestLimitConfig) GetObjectKind

func (obj *ProjectRequestLimitConfig) GetObjectKind() unversioned.ObjectKind

func (ProjectRequestLimitConfig) SwaggerDoc added in v1.1.4

func (ProjectRequestLimitConfig) SwaggerDoc() map[string]string

Jump to

Keyboard shortcuts

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