Back to godoc.org

Package v1alpha1

v1.7.1
Latest Go to latest
Published: Jul 9, 2020 | Licenses: Apache-2.0 , BSD-2-Clause , MIT , MPL-2.0 | Module: github.com/gardener/gardener

Index

Package Files

Constants

const GroupName = "shoottolerationrestriction.admission.gardener.cloud"

GroupName is the group name use in this package

Variables

var (
	// SchemeBuilder used to register the Shoot resource.
	SchemeBuilder runtime.SchemeBuilder

	// AddToScheme is a pointer to SchemeBuilder.AddToScheme.
	AddToScheme = localSchemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

func Convert_shoottolerationrestriction_Configuration_To_v1alpha1_Configuration

func Convert_shoottolerationrestriction_Configuration_To_v1alpha1_Configuration(in *shoottolerationrestriction.Configuration, out *Configuration, s conversion.Scope) error

Convert_shoottolerationrestriction_Configuration_To_v1alpha1_Configuration is an autogenerated conversion function.

func Convert_v1alpha1_Configuration_To_shoottolerationrestriction_Configuration

func Convert_v1alpha1_Configuration_To_shoottolerationrestriction_Configuration(in *Configuration, out *shoottolerationrestriction.Configuration, s conversion.Scope) error

Convert_v1alpha1_Configuration_To_shoottolerationrestriction_Configuration is an autogenerated conversion function.

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

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

func RegisterDefaults

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.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

type Configuration

type Configuration struct {
	metav1.TypeMeta `json:",inline"`
	// Defaults is the Garden cluster-wide default tolerations list.
	Defaults []gardencorev1beta1.Toleration `json:"defaults,omitempty"`
	// Whitelist is the Garden cluster-wide whitelist of tolerations.
	Whitelist []gardencorev1beta1.Toleration `json:"whitelist,omitempty"`
}

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.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier