package podtolerationrestriction
import "k8s.io/kubernetes/plugin/pkg/admission/podtolerationrestriction/apis/podtolerationrestriction"
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Configuration
Constants ¶
const GroupName = "podtolerationrestriction.admission.k8s.io"
GroupName is the group name use in this package
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Kind ¶
Kind takes an unqualified kind and returns a Group qualified GroupKind
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Configuration ¶
type Configuration struct { metav1.TypeMeta // cluster level default tolerations Default []api.Toleration // cluster level whitelist of tolerations Whitelist []api.Toleration }
Configuration provides configuration for the PodTolerationRestriction admission controller.
func (*Configuration) DeepCopy ¶
func (in *Configuration) DeepCopy() *Configuration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration.
func (*Configuration) DeepCopyInto ¶
func (in *Configuration) DeepCopyInto(out *Configuration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Configuration) DeepCopyObject ¶
func (in *Configuration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
Source Files ¶
doc.go register.go types.go zz_generated.deepcopy.go
Directories ¶
Path | Synopsis |
---|---|
plugin/pkg/admission/podtolerationrestriction/apis/podtolerationrestriction/install | Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery. |
plugin/pkg/admission/podtolerationrestriction/apis/podtolerationrestriction/v1alpha1 | Package v1alpha1 is the v1alpha1 version of the API. |
plugin/pkg/admission/podtolerationrestriction/apis/podtolerationrestriction/validation |
- Version
- v1.13.0
- Published
- Nov 30, 2018
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 1 hour ago –
Tools for package owners.