kubernetes: k8s.io/kubernetes/plugin/pkg/admission/podtolerationrestriction/apis/podtolerationrestriction Index | Files | Directories

package podtolerationrestriction

import "k8s.io/kubernetes/plugin/pkg/admission/podtolerationrestriction/apis/podtolerationrestriction"

Index

Package Files

doc.go register.go types.go zz_generated.deepcopy.go

Constants

const GroupName = "podtolerationrestriction.admission.k8s.io"

GroupName is the group name use in this package

Variables

var (
    // SchemeBuilder is the scheme builder with scheme init functions to run for this API package
    SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
    // AddToScheme is used to register the types to API encoding/decoding machinery
    AddToScheme = SchemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

func Kind Uses

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource Uses

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

type Configuration Uses

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 Uses

func (in *Configuration) DeepCopy() *Configuration

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

func (*Configuration) DeepCopyInto Uses

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 Uses

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

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

Directories

PathSynopsis
installPackage install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
v1alpha1Package v1alpha1 is the v1alpha1 version of the API.
validation

Package podtolerationrestriction imports 4 packages (graph) and is imported by 13 packages. Updated 2019-06-13. Refresh now. Tools for package owners.