Documentation

Overview

    Package v1alpha1 is the v1alpha1 version of the API. +groupName=apiserver.k8s.io

    Index

    Constants

    View Source
    const GroupName = "apiserver.k8s.io"

    Variables

    View Source
    var (
    	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
    	AddToScheme   = SchemeBuilder.AddToScheme
    )
    View Source
    var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

      SchemeGroupVersion is group version used to register these objects

      Functions

      func Convert_apiserver_AdmissionConfiguration_To_v1alpha1_AdmissionConfiguration

      func Convert_apiserver_AdmissionConfiguration_To_v1alpha1_AdmissionConfiguration(in *apiserver.AdmissionConfiguration, out *AdmissionConfiguration, s conversion.Scope) error

      func Convert_apiserver_AdmissionPluginConfiguration_To_v1alpha1_AdmissionPluginConfiguration

      func Convert_apiserver_AdmissionPluginConfiguration_To_v1alpha1_AdmissionPluginConfiguration(in *apiserver.AdmissionPluginConfiguration, out *AdmissionPluginConfiguration, s conversion.Scope) error

      func Convert_v1alpha1_AdmissionConfiguration_To_apiserver_AdmissionConfiguration

      func Convert_v1alpha1_AdmissionConfiguration_To_apiserver_AdmissionConfiguration(in *AdmissionConfiguration, out *apiserver.AdmissionConfiguration, s conversion.Scope) error

      func Convert_v1alpha1_AdmissionPluginConfiguration_To_apiserver_AdmissionPluginConfiguration

      func Convert_v1alpha1_AdmissionPluginConfiguration_To_apiserver_AdmissionPluginConfiguration(in *AdmissionPluginConfiguration, out *apiserver.AdmissionPluginConfiguration, s conversion.Scope) error

      func DeepCopy_v1alpha1_AdmissionConfiguration

      func DeepCopy_v1alpha1_AdmissionConfiguration(in interface{}, out interface{}, c *conversion.Cloner) error

      func DeepCopy_v1alpha1_AdmissionPluginConfiguration

      func DeepCopy_v1alpha1_AdmissionPluginConfiguration(in interface{}, out interface{}, c *conversion.Cloner) error

      func RegisterConversions

      func RegisterConversions(scheme *runtime.Scheme) error

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

        func RegisterDeepCopies

        func RegisterDeepCopies(scheme *runtime.Scheme) error

          RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.

          Types

          type AdmissionConfiguration

          type AdmissionConfiguration struct {
          	metav1.TypeMeta `json:",inline"`
          
          	// Plugins allows specifying a configuration per admission control plugin.
          	// +optional
          	Plugins []AdmissionPluginConfiguration `json:"plugins"`
          }

            AdmissionConfiguration provides versioned configuration for admission controllers.

            type AdmissionPluginConfiguration

            type AdmissionPluginConfiguration struct {
            	// Name is the name of the admission controller.
            	// It must match the registered admission plugin name.
            	Name string `json:"name"`
            
            	// Path is the path to a configuration file that contains the plugin's
            	// configuration
            	// +optional
            	Path string `json:"path"`
            
            	// Configuration is an embedded configuration object to be used as the plugin's
            	// configuration. If present, it will be used instead of the path to the configuration file.
            	// +optional
            	Configuration runtime.RawExtension `json:"configuration"`
            }

              AdmissionPluginConfiguration provides the configuration for a single plug-in.