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

package v1alpha1

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

Package v1alpha1 is the v1alpha1 version of the API.

Index

Package Files

defaults.go doc.go register.go types.go zz_generated.conversion.go zz_generated.deepcopy.go zz_generated.defaults.go

Constants

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

GroupName is the group name use in this package

Variables

var (

    // SchemeBuilder is a pointer used to call AddToScheme
    SchemeBuilder runtime.SchemeBuilder

    // AddToScheme is used to register the types to API encoding/decoding machinery
    AddToScheme = localSchemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

func Convert_podtolerationrestriction_Configuration_To_v1alpha1_Configuration Uses

func Convert_podtolerationrestriction_Configuration_To_v1alpha1_Configuration(in *podtolerationrestriction.Configuration, out *Configuration, s conversion.Scope) error

Convert_podtolerationrestriction_Configuration_To_v1alpha1_Configuration is an autogenerated conversion function.

func Convert_v1alpha1_Configuration_To_podtolerationrestriction_Configuration Uses

func Convert_v1alpha1_Configuration_To_podtolerationrestriction_Configuration(in *Configuration, out *podtolerationrestriction.Configuration, s conversion.Scope) error

Convert_v1alpha1_Configuration_To_podtolerationrestriction_Configuration is an autogenerated conversion function.

func RegisterConversions Uses

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults Uses

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

type Configuration Uses

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

    // cluster level default tolerations
    Default []v1.Toleration `json:"default,omitempty"`

    // cluster level whitelist of tolerations
    Whitelist []v1.Toleration `json:"whitelist,omitempty"`
}

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.

Package v1alpha1 imports 8 packages (graph) and is imported by 11 packages. Updated 2019-05-31. Refresh now. Tools for package owners.