Documentation
¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. AdmissionConfiguration and AdmissionPluginConfiguration are legacy static admission plugin configuration InitializerConfiguration and ExternalAdmissionHookConfiguration is for the new dynamic admission controller configuration. +groupName=admissionregistration.k8s.io
Package v1alpha1 is a generated protocol buffer package. It is generated from these files: k8s.io/kubernetes/vendor/k8s.io/api/admissionregistration/v1alpha1/generated.proto It has these top-level messages: AdmissionHookClientConfig ExternalAdmissionHook ExternalAdmissionHookConfiguration ExternalAdmissionHookConfigurationList Initializer InitializerConfiguration InitializerConfigurationList Rule RuleWithOperations ServiceReference
Index ¶
- Constants
- Variables
- func RegisterDeepCopies(scheme *runtime.Scheme) errordeprecated
- func Resource(resource string) schema.GroupResource
- type AdmissionHookClientConfig
- func (in *AdmissionHookClientConfig) DeepCopy() *AdmissionHookClientConfig
- func (in *AdmissionHookClientConfig) DeepCopyInto(out *AdmissionHookClientConfig)
- func (*AdmissionHookClientConfig) Descriptor() ([]byte, []int)
- func (m *AdmissionHookClientConfig) Marshal() (dAtA []byte, err error)
- func (m *AdmissionHookClientConfig) MarshalTo(dAtA []byte) (int, error)
- func (*AdmissionHookClientConfig) ProtoMessage()
- func (m *AdmissionHookClientConfig) Reset()
- func (m *AdmissionHookClientConfig) Size() (n int)
- func (this *AdmissionHookClientConfig) String() string
- func (AdmissionHookClientConfig) SwaggerDoc() map[string]string
- func (m *AdmissionHookClientConfig) Unmarshal(dAtA []byte) error
- type ExternalAdmissionHook
- func (in *ExternalAdmissionHook) DeepCopy() *ExternalAdmissionHook
- func (in *ExternalAdmissionHook) DeepCopyInto(out *ExternalAdmissionHook)
- func (*ExternalAdmissionHook) Descriptor() ([]byte, []int)
- func (m *ExternalAdmissionHook) Marshal() (dAtA []byte, err error)
- func (m *ExternalAdmissionHook) MarshalTo(dAtA []byte) (int, error)
- func (*ExternalAdmissionHook) ProtoMessage()
- func (m *ExternalAdmissionHook) Reset()
- func (m *ExternalAdmissionHook) Size() (n int)
- func (this *ExternalAdmissionHook) String() string
- func (ExternalAdmissionHook) SwaggerDoc() map[string]string
- func (m *ExternalAdmissionHook) Unmarshal(dAtA []byte) error
- type ExternalAdmissionHookConfiguration
- func (in *ExternalAdmissionHookConfiguration) DeepCopy() *ExternalAdmissionHookConfiguration
- func (in *ExternalAdmissionHookConfiguration) DeepCopyInto(out *ExternalAdmissionHookConfiguration)
- func (in *ExternalAdmissionHookConfiguration) DeepCopyObject() runtime.Object
- func (*ExternalAdmissionHookConfiguration) Descriptor() ([]byte, []int)
- func (m *ExternalAdmissionHookConfiguration) Marshal() (dAtA []byte, err error)
- func (m *ExternalAdmissionHookConfiguration) MarshalTo(dAtA []byte) (int, error)
- func (*ExternalAdmissionHookConfiguration) ProtoMessage()
- func (m *ExternalAdmissionHookConfiguration) Reset()
- func (m *ExternalAdmissionHookConfiguration) Size() (n int)
- func (this *ExternalAdmissionHookConfiguration) String() string
- func (ExternalAdmissionHookConfiguration) SwaggerDoc() map[string]string
- func (m *ExternalAdmissionHookConfiguration) Unmarshal(dAtA []byte) error
- type ExternalAdmissionHookConfigurationList
- func (in *ExternalAdmissionHookConfigurationList) DeepCopy() *ExternalAdmissionHookConfigurationList
- func (in *ExternalAdmissionHookConfigurationList) DeepCopyInto(out *ExternalAdmissionHookConfigurationList)
- func (in *ExternalAdmissionHookConfigurationList) DeepCopyObject() runtime.Object
- func (*ExternalAdmissionHookConfigurationList) Descriptor() ([]byte, []int)
- func (m *ExternalAdmissionHookConfigurationList) Marshal() (dAtA []byte, err error)
- func (m *ExternalAdmissionHookConfigurationList) MarshalTo(dAtA []byte) (int, error)
- func (*ExternalAdmissionHookConfigurationList) ProtoMessage()
- func (m *ExternalAdmissionHookConfigurationList) Reset()
- func (m *ExternalAdmissionHookConfigurationList) Size() (n int)
- func (this *ExternalAdmissionHookConfigurationList) String() string
- func (ExternalAdmissionHookConfigurationList) SwaggerDoc() map[string]string
- func (m *ExternalAdmissionHookConfigurationList) Unmarshal(dAtA []byte) error
- type FailurePolicyType
- type Initializer
- func (in *Initializer) DeepCopy() *Initializer
- func (in *Initializer) DeepCopyInto(out *Initializer)
- func (*Initializer) Descriptor() ([]byte, []int)
- func (m *Initializer) Marshal() (dAtA []byte, err error)
- func (m *Initializer) MarshalTo(dAtA []byte) (int, error)
- func (*Initializer) ProtoMessage()
- func (m *Initializer) Reset()
- func (m *Initializer) Size() (n int)
- func (this *Initializer) String() string
- func (Initializer) SwaggerDoc() map[string]string
- func (m *Initializer) Unmarshal(dAtA []byte) error
- type InitializerConfiguration
- func (in *InitializerConfiguration) DeepCopy() *InitializerConfiguration
- func (in *InitializerConfiguration) DeepCopyInto(out *InitializerConfiguration)
- func (in *InitializerConfiguration) DeepCopyObject() runtime.Object
- func (*InitializerConfiguration) Descriptor() ([]byte, []int)
- func (m *InitializerConfiguration) Marshal() (dAtA []byte, err error)
- func (m *InitializerConfiguration) MarshalTo(dAtA []byte) (int, error)
- func (*InitializerConfiguration) ProtoMessage()
- func (m *InitializerConfiguration) Reset()
- func (m *InitializerConfiguration) Size() (n int)
- func (this *InitializerConfiguration) String() string
- func (InitializerConfiguration) SwaggerDoc() map[string]string
- func (m *InitializerConfiguration) Unmarshal(dAtA []byte) error
- type InitializerConfigurationList
- func (in *InitializerConfigurationList) DeepCopy() *InitializerConfigurationList
- func (in *InitializerConfigurationList) DeepCopyInto(out *InitializerConfigurationList)
- func (in *InitializerConfigurationList) DeepCopyObject() runtime.Object
- func (*InitializerConfigurationList) Descriptor() ([]byte, []int)
- func (m *InitializerConfigurationList) Marshal() (dAtA []byte, err error)
- func (m *InitializerConfigurationList) MarshalTo(dAtA []byte) (int, error)
- func (*InitializerConfigurationList) ProtoMessage()
- func (m *InitializerConfigurationList) Reset()
- func (m *InitializerConfigurationList) Size() (n int)
- func (this *InitializerConfigurationList) String() string
- func (InitializerConfigurationList) SwaggerDoc() map[string]string
- func (m *InitializerConfigurationList) Unmarshal(dAtA []byte) error
- type OperationType
- type Rule
- func (in *Rule) DeepCopy() *Rule
- func (in *Rule) DeepCopyInto(out *Rule)
- func (*Rule) Descriptor() ([]byte, []int)
- func (m *Rule) Marshal() (dAtA []byte, err error)
- func (m *Rule) MarshalTo(dAtA []byte) (int, error)
- func (*Rule) ProtoMessage()
- func (m *Rule) Reset()
- func (m *Rule) Size() (n int)
- func (this *Rule) String() string
- func (Rule) SwaggerDoc() map[string]string
- func (m *Rule) Unmarshal(dAtA []byte) error
- type RuleWithOperations
- func (in *RuleWithOperations) DeepCopy() *RuleWithOperations
- func (in *RuleWithOperations) DeepCopyInto(out *RuleWithOperations)
- func (*RuleWithOperations) Descriptor() ([]byte, []int)
- func (m *RuleWithOperations) Marshal() (dAtA []byte, err error)
- func (m *RuleWithOperations) MarshalTo(dAtA []byte) (int, error)
- func (*RuleWithOperations) ProtoMessage()
- func (m *RuleWithOperations) Reset()
- func (m *RuleWithOperations) Size() (n int)
- func (this *RuleWithOperations) String() string
- func (RuleWithOperations) SwaggerDoc() map[string]string
- func (m *RuleWithOperations) Unmarshal(dAtA []byte) error
- type ServiceReference
- func (in *ServiceReference) DeepCopy() *ServiceReference
- func (in *ServiceReference) DeepCopyInto(out *ServiceReference)
- func (*ServiceReference) Descriptor() ([]byte, []int)
- func (m *ServiceReference) Marshal() (dAtA []byte, err error)
- func (m *ServiceReference) MarshalTo(dAtA []byte) (int, error)
- func (*ServiceReference) ProtoMessage()
- func (m *ServiceReference) Reset()
- func (m *ServiceReference) Size() (n int)
- func (this *ServiceReference) String() string
- func (ServiceReference) SwaggerDoc() map[string]string
- func (m *ServiceReference) Unmarshal(dAtA []byte) error
Constants ¶
const GroupName = "admissionregistration.k8s.io"
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") )
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func RegisterDeepCopies
deprecated
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type AdmissionHookClientConfig ¶
type AdmissionHookClientConfig struct { // Service is a reference to the service for this webhook. If there is only // one port open for the service, that port will be used. If there are multiple // ports open, port 443 will be used if it is open, otherwise it is an error. // Required Service ServiceReference `json:"service" protobuf:"bytes,1,opt,name=service"` // URLPath is an optional field that specifies the URL path to use when posting the AdmissionReview object. URLPath string `json:"urlPath" protobuf:"bytes,3,opt,name=urlPath"` // CABundle is a PEM encoded CA bundle which will be used to validate webhook's server certificate. // Required CABundle []byte `json:"caBundle" protobuf:"bytes,2,opt,name=caBundle"` }
AdmissionHookClientConfig contains the information to make a TLS connection with the webhook
func (*AdmissionHookClientConfig) DeepCopy ¶
func (in *AdmissionHookClientConfig) DeepCopy() *AdmissionHookClientConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionHookClientConfig.
func (*AdmissionHookClientConfig) DeepCopyInto ¶
func (in *AdmissionHookClientConfig) DeepCopyInto(out *AdmissionHookClientConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AdmissionHookClientConfig) Descriptor ¶
func (*AdmissionHookClientConfig) Descriptor() ([]byte, []int)
func (*AdmissionHookClientConfig) Marshal ¶
func (m *AdmissionHookClientConfig) Marshal() (dAtA []byte, err error)
func (*AdmissionHookClientConfig) MarshalTo ¶
func (m *AdmissionHookClientConfig) MarshalTo(dAtA []byte) (int, error)
func (*AdmissionHookClientConfig) ProtoMessage ¶
func (*AdmissionHookClientConfig) ProtoMessage()
func (*AdmissionHookClientConfig) Reset ¶
func (m *AdmissionHookClientConfig) Reset()
func (*AdmissionHookClientConfig) Size ¶
func (m *AdmissionHookClientConfig) Size() (n int)
func (*AdmissionHookClientConfig) String ¶
func (this *AdmissionHookClientConfig) String() string
func (AdmissionHookClientConfig) SwaggerDoc ¶
func (AdmissionHookClientConfig) SwaggerDoc() map[string]string
func (*AdmissionHookClientConfig) Unmarshal ¶
func (m *AdmissionHookClientConfig) Unmarshal(dAtA []byte) error
type ExternalAdmissionHook ¶
type ExternalAdmissionHook struct { // The name of the external admission webhook. // Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where // "imagepolicy" is the name of the webhook, and kubernetes.io is the name // of the organization. // Required. Name string `json:"name" protobuf:"bytes,1,opt,name=name"` // ClientConfig defines how to communicate with the hook. // Required ClientConfig AdmissionHookClientConfig `json:"clientConfig" protobuf:"bytes,2,opt,name=clientConfig"` // Rules describes what operations on what resources/subresources the webhook cares about. // The webhook cares about an operation if it matches _any_ Rule. Rules []RuleWithOperations `json:"rules,omitempty" protobuf:"bytes,3,rep,name=rules"` // FailurePolicy defines how unrecognized errors from the admission endpoint are handled - // allowed values are Ignore or Fail. Defaults to Ignore. // +optional FailurePolicy *FailurePolicyType `json:"failurePolicy,omitempty" protobuf:"bytes,4,opt,name=failurePolicy,casttype=FailurePolicyType"` }
ExternalAdmissionHook describes an external admission webhook and the resources and operations it applies to.
func (*ExternalAdmissionHook) DeepCopy ¶
func (in *ExternalAdmissionHook) DeepCopy() *ExternalAdmissionHook
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHook.
func (*ExternalAdmissionHook) DeepCopyInto ¶
func (in *ExternalAdmissionHook) DeepCopyInto(out *ExternalAdmissionHook)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExternalAdmissionHook) Descriptor ¶
func (*ExternalAdmissionHook) Descriptor() ([]byte, []int)
func (*ExternalAdmissionHook) Marshal ¶
func (m *ExternalAdmissionHook) Marshal() (dAtA []byte, err error)
func (*ExternalAdmissionHook) MarshalTo ¶
func (m *ExternalAdmissionHook) MarshalTo(dAtA []byte) (int, error)
func (*ExternalAdmissionHook) ProtoMessage ¶
func (*ExternalAdmissionHook) ProtoMessage()
func (*ExternalAdmissionHook) Reset ¶
func (m *ExternalAdmissionHook) Reset()
func (*ExternalAdmissionHook) Size ¶
func (m *ExternalAdmissionHook) Size() (n int)
func (*ExternalAdmissionHook) String ¶
func (this *ExternalAdmissionHook) String() string
func (ExternalAdmissionHook) SwaggerDoc ¶
func (ExternalAdmissionHook) SwaggerDoc() map[string]string
func (*ExternalAdmissionHook) Unmarshal ¶
func (m *ExternalAdmissionHook) Unmarshal(dAtA []byte) error
type ExternalAdmissionHookConfiguration ¶
type ExternalAdmissionHookConfiguration struct { metav1.TypeMeta `json:",inline"` // Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // ExternalAdmissionHooks is a list of external admission webhooks and the // affected resources and operations. // +optional // +patchMergeKey=name // +patchStrategy=merge ExternalAdmissionHooks []ExternalAdmissionHook `` /* 133-byte string literal not displayed */ }
ExternalAdmissionHookConfiguration describes the configuration of initializers.
func (*ExternalAdmissionHookConfiguration) DeepCopy ¶
func (in *ExternalAdmissionHookConfiguration) DeepCopy() *ExternalAdmissionHookConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHookConfiguration.
func (*ExternalAdmissionHookConfiguration) DeepCopyInto ¶
func (in *ExternalAdmissionHookConfiguration) DeepCopyInto(out *ExternalAdmissionHookConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExternalAdmissionHookConfiguration) DeepCopyObject ¶
func (in *ExternalAdmissionHookConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ExternalAdmissionHookConfiguration) Descriptor ¶
func (*ExternalAdmissionHookConfiguration) Descriptor() ([]byte, []int)
func (*ExternalAdmissionHookConfiguration) Marshal ¶
func (m *ExternalAdmissionHookConfiguration) Marshal() (dAtA []byte, err error)
func (*ExternalAdmissionHookConfiguration) MarshalTo ¶
func (m *ExternalAdmissionHookConfiguration) MarshalTo(dAtA []byte) (int, error)
func (*ExternalAdmissionHookConfiguration) ProtoMessage ¶
func (*ExternalAdmissionHookConfiguration) ProtoMessage()
func (*ExternalAdmissionHookConfiguration) Reset ¶
func (m *ExternalAdmissionHookConfiguration) Reset()
func (*ExternalAdmissionHookConfiguration) Size ¶
func (m *ExternalAdmissionHookConfiguration) Size() (n int)
func (*ExternalAdmissionHookConfiguration) String ¶
func (this *ExternalAdmissionHookConfiguration) String() string
func (ExternalAdmissionHookConfiguration) SwaggerDoc ¶
func (ExternalAdmissionHookConfiguration) SwaggerDoc() map[string]string
func (*ExternalAdmissionHookConfiguration) Unmarshal ¶
func (m *ExternalAdmissionHookConfiguration) Unmarshal(dAtA []byte) error
type ExternalAdmissionHookConfigurationList ¶
type ExternalAdmissionHookConfigurationList struct { metav1.TypeMeta `json:",inline"` // Standard list metadata. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds // +optional metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // List of ExternalAdmissionHookConfiguration. Items []ExternalAdmissionHookConfiguration `json:"items" protobuf:"bytes,2,rep,name=items"` }
ExternalAdmissionHookConfigurationList is a list of ExternalAdmissionHookConfiguration.
func (*ExternalAdmissionHookConfigurationList) DeepCopy ¶
func (in *ExternalAdmissionHookConfigurationList) DeepCopy() *ExternalAdmissionHookConfigurationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHookConfigurationList.
func (*ExternalAdmissionHookConfigurationList) DeepCopyInto ¶
func (in *ExternalAdmissionHookConfigurationList) DeepCopyInto(out *ExternalAdmissionHookConfigurationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExternalAdmissionHookConfigurationList) DeepCopyObject ¶
func (in *ExternalAdmissionHookConfigurationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ExternalAdmissionHookConfigurationList) Descriptor ¶
func (*ExternalAdmissionHookConfigurationList) Descriptor() ([]byte, []int)
func (*ExternalAdmissionHookConfigurationList) Marshal ¶
func (m *ExternalAdmissionHookConfigurationList) Marshal() (dAtA []byte, err error)
func (*ExternalAdmissionHookConfigurationList) MarshalTo ¶
func (m *ExternalAdmissionHookConfigurationList) MarshalTo(dAtA []byte) (int, error)
func (*ExternalAdmissionHookConfigurationList) ProtoMessage ¶
func (*ExternalAdmissionHookConfigurationList) ProtoMessage()
func (*ExternalAdmissionHookConfigurationList) Reset ¶
func (m *ExternalAdmissionHookConfigurationList) Reset()
func (*ExternalAdmissionHookConfigurationList) Size ¶
func (m *ExternalAdmissionHookConfigurationList) Size() (n int)
func (*ExternalAdmissionHookConfigurationList) String ¶
func (this *ExternalAdmissionHookConfigurationList) String() string
func (ExternalAdmissionHookConfigurationList) SwaggerDoc ¶
func (ExternalAdmissionHookConfigurationList) SwaggerDoc() map[string]string
func (*ExternalAdmissionHookConfigurationList) Unmarshal ¶
func (m *ExternalAdmissionHookConfigurationList) Unmarshal(dAtA []byte) error
type FailurePolicyType ¶
type FailurePolicyType string
const ( // Ignore means the initializer is removed from the initializers list of an // object if the initializer is timed out. Ignore FailurePolicyType = "Ignore" // For 1.7, only "Ignore" is allowed. "Fail" will be allowed when the // extensible admission feature is beta. Fail FailurePolicyType = "Fail" )
type Initializer ¶
type Initializer struct { // Name is the identifier of the initializer. It will be added to the // object that needs to be initialized. // Name should be fully qualified, e.g., alwayspullimages.kubernetes.io, where // "alwayspullimages" is the name of the webhook, and kubernetes.io is the name // of the organization. // Required Name string `json:"name" protobuf:"bytes,1,opt,name=name"` // Rules describes what resources/subresources the initializer cares about. // The initializer cares about an operation if it matches _any_ Rule. // Rule.Resources must not include subresources. Rules []Rule `json:"rules,omitempty" protobuf:"bytes,2,rep,name=rules"` }
Initializer describes the name and the failure policy of an initializer, and what resources it applies to.
func (*Initializer) DeepCopy ¶
func (in *Initializer) DeepCopy() *Initializer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Initializer.
func (*Initializer) DeepCopyInto ¶
func (in *Initializer) DeepCopyInto(out *Initializer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Initializer) Descriptor ¶
func (*Initializer) Descriptor() ([]byte, []int)
func (*Initializer) Marshal ¶
func (m *Initializer) Marshal() (dAtA []byte, err error)
func (*Initializer) ProtoMessage ¶
func (*Initializer) ProtoMessage()
func (*Initializer) Reset ¶
func (m *Initializer) Reset()
func (*Initializer) Size ¶
func (m *Initializer) Size() (n int)
func (*Initializer) String ¶
func (this *Initializer) String() string
func (Initializer) SwaggerDoc ¶
func (Initializer) SwaggerDoc() map[string]string
func (*Initializer) Unmarshal ¶
func (m *Initializer) Unmarshal(dAtA []byte) error
type InitializerConfiguration ¶
type InitializerConfiguration struct { metav1.TypeMeta `json:",inline"` // Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Initializers is a list of resources and their default initializers // Order-sensitive. // When merging multiple InitializerConfigurations, we sort the initializers // from different InitializerConfigurations by the name of the // InitializerConfigurations; the order of the initializers from the same // InitializerConfiguration is preserved. // +patchMergeKey=name // +patchStrategy=merge // +optional Initializers []Initializer `json:"initializers,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,2,rep,name=initializers"` }
InitializerConfiguration describes the configuration of initializers.
func (*InitializerConfiguration) DeepCopy ¶
func (in *InitializerConfiguration) DeepCopy() *InitializerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitializerConfiguration.
func (*InitializerConfiguration) DeepCopyInto ¶
func (in *InitializerConfiguration) DeepCopyInto(out *InitializerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InitializerConfiguration) DeepCopyObject ¶
func (in *InitializerConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*InitializerConfiguration) Descriptor ¶
func (*InitializerConfiguration) Descriptor() ([]byte, []int)
func (*InitializerConfiguration) Marshal ¶
func (m *InitializerConfiguration) Marshal() (dAtA []byte, err error)
func (*InitializerConfiguration) MarshalTo ¶
func (m *InitializerConfiguration) MarshalTo(dAtA []byte) (int, error)
func (*InitializerConfiguration) ProtoMessage ¶
func (*InitializerConfiguration) ProtoMessage()
func (*InitializerConfiguration) Reset ¶
func (m *InitializerConfiguration) Reset()
func (*InitializerConfiguration) Size ¶
func (m *InitializerConfiguration) Size() (n int)
func (*InitializerConfiguration) String ¶
func (this *InitializerConfiguration) String() string
func (InitializerConfiguration) SwaggerDoc ¶
func (InitializerConfiguration) SwaggerDoc() map[string]string
func (*InitializerConfiguration) Unmarshal ¶
func (m *InitializerConfiguration) Unmarshal(dAtA []byte) error
type InitializerConfigurationList ¶
type InitializerConfigurationList struct { metav1.TypeMeta `json:",inline"` // Standard list metadata. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds // +optional metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // List of InitializerConfiguration. Items []InitializerConfiguration `json:"items" protobuf:"bytes,2,rep,name=items"` }
InitializerConfigurationList is a list of InitializerConfiguration.
func (*InitializerConfigurationList) DeepCopy ¶
func (in *InitializerConfigurationList) DeepCopy() *InitializerConfigurationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitializerConfigurationList.
func (*InitializerConfigurationList) DeepCopyInto ¶
func (in *InitializerConfigurationList) DeepCopyInto(out *InitializerConfigurationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InitializerConfigurationList) DeepCopyObject ¶
func (in *InitializerConfigurationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*InitializerConfigurationList) Descriptor ¶
func (*InitializerConfigurationList) Descriptor() ([]byte, []int)
func (*InitializerConfigurationList) Marshal ¶
func (m *InitializerConfigurationList) Marshal() (dAtA []byte, err error)
func (*InitializerConfigurationList) MarshalTo ¶
func (m *InitializerConfigurationList) MarshalTo(dAtA []byte) (int, error)
func (*InitializerConfigurationList) ProtoMessage ¶
func (*InitializerConfigurationList) ProtoMessage()
func (*InitializerConfigurationList) Reset ¶
func (m *InitializerConfigurationList) Reset()
func (*InitializerConfigurationList) Size ¶
func (m *InitializerConfigurationList) Size() (n int)
func (*InitializerConfigurationList) String ¶
func (this *InitializerConfigurationList) String() string
func (InitializerConfigurationList) SwaggerDoc ¶
func (InitializerConfigurationList) SwaggerDoc() map[string]string
func (*InitializerConfigurationList) Unmarshal ¶
func (m *InitializerConfigurationList) Unmarshal(dAtA []byte) error
type OperationType ¶
type OperationType string
const ( OperationAll OperationType = "*" Create OperationType = "CREATE" Update OperationType = "UPDATE" Delete OperationType = "DELETE" Connect OperationType = "CONNECT" )
The constants should be kept in sync with those defined in k8s.io/kubernetes/pkg/admission/interface.go.
type Rule ¶
type Rule struct { // APIGroups is the API groups the resources belong to. '*' is all groups. // If '*' is present, the length of the slice must be one. // Required. APIGroups []string `json:"apiGroups,omitempty" protobuf:"bytes,1,rep,name=apiGroups"` // APIVersions is the API versions the resources belong to. '*' is all versions. // If '*' is present, the length of the slice must be one. // Required. APIVersions []string `json:"apiVersions,omitempty" protobuf:"bytes,2,rep,name=apiVersions"` // Resources is a list of resources this rule applies to. // // For example: // 'pods' means pods. // 'pods/log' means the log subresource of pods. // '*' means all resources, but not subresources. // 'pods/*' means all subresources of pods. // '*/scale' means all scale subresources. // '*/*' means all resources and their subresources. // // If wildcard is present, the validation rule will ensure resources do not // overlap with each other. // // Depending on the enclosing object, subresources might not be allowed. // Required. Resources []string `json:"resources,omitempty" protobuf:"bytes,3,rep,name=resources"` }
Rule is a tuple of APIGroups, APIVersion, and Resources.It is recommended to make sure that all the tuple expansions are valid.
func (*Rule) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rule.
func (*Rule) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Rule) Descriptor ¶
func (*Rule) ProtoMessage ¶
func (*Rule) ProtoMessage()
func (Rule) SwaggerDoc ¶
type RuleWithOperations ¶
type RuleWithOperations struct { // Operations is the operations the admission hook cares about - CREATE, UPDATE, or * // for all operations. // If '*' is present, the length of the slice must be one. // Required. Operations []OperationType `json:"operations,omitempty" protobuf:"bytes,1,rep,name=operations,casttype=OperationType"` // Rule is embedded, it describes other criteria of the rule, like // APIGroups, APIVersions, Resources, etc. Rule `json:",inline" protobuf:"bytes,2,opt,name=rule"` }
RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
func (*RuleWithOperations) DeepCopy ¶
func (in *RuleWithOperations) DeepCopy() *RuleWithOperations
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleWithOperations.
func (*RuleWithOperations) DeepCopyInto ¶
func (in *RuleWithOperations) DeepCopyInto(out *RuleWithOperations)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RuleWithOperations) Descriptor ¶
func (*RuleWithOperations) Descriptor() ([]byte, []int)
func (*RuleWithOperations) Marshal ¶
func (m *RuleWithOperations) Marshal() (dAtA []byte, err error)
func (*RuleWithOperations) MarshalTo ¶
func (m *RuleWithOperations) MarshalTo(dAtA []byte) (int, error)
func (*RuleWithOperations) ProtoMessage ¶
func (*RuleWithOperations) ProtoMessage()
func (*RuleWithOperations) Reset ¶
func (m *RuleWithOperations) Reset()
func (*RuleWithOperations) Size ¶
func (m *RuleWithOperations) Size() (n int)
func (*RuleWithOperations) String ¶
func (this *RuleWithOperations) String() string
func (RuleWithOperations) SwaggerDoc ¶
func (RuleWithOperations) SwaggerDoc() map[string]string
func (*RuleWithOperations) Unmarshal ¶
func (m *RuleWithOperations) Unmarshal(dAtA []byte) error
type ServiceReference ¶
type ServiceReference struct { // Namespace is the namespace of the service // Required Namespace string `json:"namespace" protobuf:"bytes,1,opt,name=namespace"` // Name is the name of the service // Required Name string `json:"name" protobuf:"bytes,2,opt,name=name"` }
ServiceReference holds a reference to Service.legacy.k8s.io
func (*ServiceReference) DeepCopy ¶
func (in *ServiceReference) DeepCopy() *ServiceReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference.
func (*ServiceReference) DeepCopyInto ¶
func (in *ServiceReference) DeepCopyInto(out *ServiceReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceReference) Descriptor ¶
func (*ServiceReference) Descriptor() ([]byte, []int)
func (*ServiceReference) Marshal ¶
func (m *ServiceReference) Marshal() (dAtA []byte, err error)
func (*ServiceReference) ProtoMessage ¶
func (*ServiceReference) ProtoMessage()
func (*ServiceReference) Reset ¶
func (m *ServiceReference) Reset()
func (*ServiceReference) Size ¶
func (m *ServiceReference) Size() (n int)
func (*ServiceReference) String ¶
func (this *ServiceReference) String() string
func (ServiceReference) SwaggerDoc ¶
func (ServiceReference) SwaggerDoc() map[string]string
func (*ServiceReference) Unmarshal ¶
func (m *ServiceReference) Unmarshal(dAtA []byte) error