Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs) AddToScheme = SchemeBuilder.AddToScheme )
View Source
var SchemeGroupVersion = unversioned.GroupVersion{Group: "", Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func SetDefaults_PodNodeConstraintsConfig ¶ added in v1.3.0
func SetDefaults_PodNodeConstraintsConfig(obj *PodNodeConstraintsConfig)
Types ¶
type PodNodeConstraintsConfig ¶
type PodNodeConstraintsConfig struct { unversioned.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) GetObjectKind ¶
func (obj *PodNodeConstraintsConfig) GetObjectKind() unversioned.ObjectKind
func (PodNodeConstraintsConfig) SwaggerDoc ¶
func (PodNodeConstraintsConfig) SwaggerDoc() map[string]string
Click to show internal directories.
Click to hide internal directories.