Documentation ¶
Overview ¶
Package api is the internal version of the API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: "", Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func DeepCopy_api_PodNodeConstraintsConfig ¶
func DeepCopy_api_PodNodeConstraintsConfig(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_api_PodNodeConstraintsConfig is an autogenerated deepcopy function.
func RegisterDeepCopies ¶
RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns back a Group qualified GroupResource
Types ¶
type PodNodeConstraintsConfig ¶
type PodNodeConstraintsConfig struct { metav1.TypeMeta // NodeSelectorLabelBlacklist specifies a list of labels which cannot be set by entities without the "pods/binding" permission NodeSelectorLabelBlacklist []string }
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() schema.ObjectKind