v1

package
v3.11.0-0.33.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1 is the v1 version of the API.

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(
		addKnownTypes,
		podnodeconstraints.InstallLegacy,

		addDefaultingFuncs,
	)
	InstallLegacy = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: "", Version: "v1"}

SchemeGroupVersion is group version used to register these objects

Functions

func SetDefaults_PodNodeConstraintsConfig

func SetDefaults_PodNodeConstraintsConfig(obj *PodNodeConstraintsConfig)

Types

type PodNodeConstraintsConfig

type PodNodeConstraintsConfig struct {
	metav1.TypeMeta `json:",inline"`

	// NodeSelectorLabelBlacklist specifies a list of labels which cannot be set by entities without the "pods/binding" permission
	NodeSelectorLabelBlacklist []string `` /* 132-byte string literal not displayed */
}

PodNodeConstraintsConfig is the configuration for the pod node name and node selector constraint plug-in. For accounts, serviceaccounts and groups which lack the "pods/binding" permission, Loading this plugin will prevent setting NodeName on pod specs and will prevent setting NodeSelectors whose labels appear in the blacklist field "NodeSelectorLabelBlacklist"

func (*PodNodeConstraintsConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodNodeConstraintsConfig.

func (*PodNodeConstraintsConfig) DeepCopyInto

func (in *PodNodeConstraintsConfig) DeepCopyInto(out *PodNodeConstraintsConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PodNodeConstraintsConfig) DeepCopyObject

func (in *PodNodeConstraintsConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*PodNodeConstraintsConfig) GetObjectKind

func (obj *PodNodeConstraintsConfig) GetObjectKind() schema.ObjectKind

func (PodNodeConstraintsConfig) SwaggerDoc

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

Jump to

Keyboard shortcuts

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