Documentation ¶
Overview ¶
Package v1 is the v1 version of the API.
Index ¶
- Constants
- Variables
- func Convert_apiextensions_CustomResourceColumnDefinition_To_v1_CustomResourceColumnDefinition(in *apiextensions.CustomResourceColumnDefinition, ...) error
- func Convert_apiextensions_CustomResourceConversion_To_v1_CustomResourceConversion(in *apiextensions.CustomResourceConversion, out *CustomResourceConversion, ...) error
- func Convert_apiextensions_CustomResourceDefinitionCondition_To_v1_CustomResourceDefinitionCondition(in *apiextensions.CustomResourceDefinitionCondition, ...) error
- func Convert_apiextensions_CustomResourceDefinitionList_To_v1_CustomResourceDefinitionList(in *apiextensions.CustomResourceDefinitionList, ...) error
- func Convert_apiextensions_CustomResourceDefinitionNames_To_v1_CustomResourceDefinitionNames(in *apiextensions.CustomResourceDefinitionNames, ...) error
- func Convert_apiextensions_CustomResourceDefinitionSpec_To_v1_CustomResourceDefinitionSpec(in *apiextensions.CustomResourceDefinitionSpec, ...) error
- func Convert_apiextensions_CustomResourceDefinitionStatus_To_v1_CustomResourceDefinitionStatus(in *apiextensions.CustomResourceDefinitionStatus, ...) error
- func Convert_apiextensions_CustomResourceDefinitionVersion_To_v1_CustomResourceDefinitionVersion(in *apiextensions.CustomResourceDefinitionVersion, ...) error
- func Convert_apiextensions_CustomResourceDefinition_To_v1_CustomResourceDefinition(in *apiextensions.CustomResourceDefinition, out *CustomResourceDefinition, ...) error
- func Convert_apiextensions_CustomResourceSubresourceScale_To_v1_CustomResourceSubresourceScale(in *apiextensions.CustomResourceSubresourceScale, ...) error
- func Convert_apiextensions_CustomResourceSubresourceStatus_To_v1_CustomResourceSubresourceStatus(in *apiextensions.CustomResourceSubresourceStatus, ...) error
- func Convert_apiextensions_CustomResourceSubresources_To_v1_CustomResourceSubresources(in *apiextensions.CustomResourceSubresources, out *CustomResourceSubresources, ...) error
- func Convert_apiextensions_CustomResourceValidation_To_v1_CustomResourceValidation(in *apiextensions.CustomResourceValidation, out *CustomResourceValidation, ...) error
- func Convert_apiextensions_ExternalDocumentation_To_v1_ExternalDocumentation(in *apiextensions.ExternalDocumentation, out *ExternalDocumentation, ...) error
- func Convert_apiextensions_JSONSchemaPropsOrArray_To_v1_JSONSchemaPropsOrArray(in *apiextensions.JSONSchemaPropsOrArray, out *JSONSchemaPropsOrArray, ...) error
- func Convert_apiextensions_JSONSchemaPropsOrBool_To_v1_JSONSchemaPropsOrBool(in *apiextensions.JSONSchemaPropsOrBool, out *JSONSchemaPropsOrBool, ...) error
- func Convert_apiextensions_JSONSchemaPropsOrStringArray_To_v1_JSONSchemaPropsOrStringArray(in *apiextensions.JSONSchemaPropsOrStringArray, ...) error
- func Convert_apiextensions_JSONSchemaProps_To_v1_JSONSchemaProps(in *apiextensions.JSONSchemaProps, out *JSONSchemaProps, s conversion.Scope) error
- func Convert_apiextensions_JSON_To_v1_JSON(in *apiextensions.JSON, out *JSON, s conversion.Scope) error
- func Convert_apiextensions_SelectableField_To_v1_SelectableField(in *apiextensions.SelectableField, out *SelectableField, s conversion.Scope) error
- func Convert_apiextensions_ServiceReference_To_v1_ServiceReference(in *apiextensions.ServiceReference, out *ServiceReference, s conversion.Scope) error
- func Convert_apiextensions_ValidationRule_To_v1_ValidationRule(in *apiextensions.ValidationRule, out *ValidationRule, s conversion.Scope) error
- func Convert_apiextensions_ValidationRules_To_v1_ValidationRules(in *apiextensions.ValidationRules, out *ValidationRules, s conversion.Scope) error
- func Convert_apiextensions_WebhookClientConfig_To_v1_WebhookClientConfig(in *apiextensions.WebhookClientConfig, out *WebhookClientConfig, ...) error
- func Convert_v1_CustomResourceColumnDefinition_To_apiextensions_CustomResourceColumnDefinition(in *CustomResourceColumnDefinition, ...) error
- func Convert_v1_CustomResourceConversion_To_apiextensions_CustomResourceConversion(in *CustomResourceConversion, out *apiextensions.CustomResourceConversion, ...) error
- func Convert_v1_CustomResourceDefinitionCondition_To_apiextensions_CustomResourceDefinitionCondition(in *CustomResourceDefinitionCondition, ...) error
- func Convert_v1_CustomResourceDefinitionList_To_apiextensions_CustomResourceDefinitionList(in *CustomResourceDefinitionList, ...) error
- func Convert_v1_CustomResourceDefinitionNames_To_apiextensions_CustomResourceDefinitionNames(in *CustomResourceDefinitionNames, ...) error
- func Convert_v1_CustomResourceDefinitionSpec_To_apiextensions_CustomResourceDefinitionSpec(in *CustomResourceDefinitionSpec, ...) error
- func Convert_v1_CustomResourceDefinitionStatus_To_apiextensions_CustomResourceDefinitionStatus(in *CustomResourceDefinitionStatus, ...) error
- func Convert_v1_CustomResourceDefinitionVersion_To_apiextensions_CustomResourceDefinitionVersion(in *CustomResourceDefinitionVersion, ...) error
- func Convert_v1_CustomResourceDefinition_To_apiextensions_CustomResourceDefinition(in *CustomResourceDefinition, out *apiextensions.CustomResourceDefinition, ...) error
- func Convert_v1_CustomResourceSubresourceScale_To_apiextensions_CustomResourceSubresourceScale(in *CustomResourceSubresourceScale, ...) error
- func Convert_v1_CustomResourceSubresourceStatus_To_apiextensions_CustomResourceSubresourceStatus(in *CustomResourceSubresourceStatus, ...) error
- func Convert_v1_CustomResourceSubresources_To_apiextensions_CustomResourceSubresources(in *CustomResourceSubresources, out *apiextensions.CustomResourceSubresources, ...) error
- func Convert_v1_CustomResourceValidation_To_apiextensions_CustomResourceValidation(in *CustomResourceValidation, out *apiextensions.CustomResourceValidation, ...) error
- func Convert_v1_ExternalDocumentation_To_apiextensions_ExternalDocumentation(in *ExternalDocumentation, out *apiextensions.ExternalDocumentation, ...) error
- func Convert_v1_JSONSchemaPropsOrArray_To_apiextensions_JSONSchemaPropsOrArray(in *JSONSchemaPropsOrArray, out *apiextensions.JSONSchemaPropsOrArray, ...) error
- func Convert_v1_JSONSchemaPropsOrBool_To_apiextensions_JSONSchemaPropsOrBool(in *JSONSchemaPropsOrBool, out *apiextensions.JSONSchemaPropsOrBool, ...) error
- func Convert_v1_JSONSchemaPropsOrStringArray_To_apiextensions_JSONSchemaPropsOrStringArray(in *JSONSchemaPropsOrStringArray, ...) error
- func Convert_v1_JSONSchemaProps_To_apiextensions_JSONSchemaProps(in *JSONSchemaProps, out *apiextensions.JSONSchemaProps, s conversion.Scope) error
- func Convert_v1_JSON_To_apiextensions_JSON(in *JSON, out *apiextensions.JSON, s conversion.Scope) error
- func Convert_v1_SelectableField_To_apiextensions_SelectableField(in *SelectableField, out *apiextensions.SelectableField, s conversion.Scope) error
- func Convert_v1_ServiceReference_To_apiextensions_ServiceReference(in *ServiceReference, out *apiextensions.ServiceReference, s conversion.Scope) error
- func Convert_v1_ValidationRule_To_apiextensions_ValidationRule(in *ValidationRule, out *apiextensions.ValidationRule, s conversion.Scope) error
- func Convert_v1_WebhookClientConfig_To_apiextensions_WebhookClientConfig(in *WebhookClientConfig, out *apiextensions.WebhookClientConfig, ...) error
- func Kind(kind string) schema.GroupKind
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- func SetDefaults_CustomResourceDefinition(obj *CustomResourceDefinition)
- func SetDefaults_CustomResourceDefinitionSpec(obj *CustomResourceDefinitionSpec)
- func SetDefaults_ServiceReference(obj *ServiceReference)
- func SetObjectDefaults_CustomResourceDefinition(in *CustomResourceDefinition)
- func SetObjectDefaults_CustomResourceDefinitionList(in *CustomResourceDefinitionList)
- type ConditionStatus
- type ConversionRequest
- func (in *ConversionRequest) DeepCopy() *ConversionRequest
- func (in *ConversionRequest) DeepCopyInto(out *ConversionRequest)
- func (*ConversionRequest) Descriptor() ([]byte, []int)
- func (m *ConversionRequest) Marshal() (dAtA []byte, err error)
- func (m *ConversionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ConversionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConversionRequest) ProtoMessage()
- func (m *ConversionRequest) Reset()
- func (m *ConversionRequest) Size() (n int)
- func (this *ConversionRequest) String() string
- func (m *ConversionRequest) Unmarshal(dAtA []byte) error
- func (m *ConversionRequest) XXX_DiscardUnknown()
- func (m *ConversionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConversionRequest) XXX_Merge(src proto.Message)
- func (m *ConversionRequest) XXX_Size() int
- func (m *ConversionRequest) XXX_Unmarshal(b []byte) error
- type ConversionResponse
- func (in *ConversionResponse) DeepCopy() *ConversionResponse
- func (in *ConversionResponse) DeepCopyInto(out *ConversionResponse)
- func (*ConversionResponse) Descriptor() ([]byte, []int)
- func (m *ConversionResponse) Marshal() (dAtA []byte, err error)
- func (m *ConversionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ConversionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConversionResponse) ProtoMessage()
- func (m *ConversionResponse) Reset()
- func (m *ConversionResponse) Size() (n int)
- func (this *ConversionResponse) String() string
- func (m *ConversionResponse) Unmarshal(dAtA []byte) error
- func (m *ConversionResponse) XXX_DiscardUnknown()
- func (m *ConversionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConversionResponse) XXX_Merge(src proto.Message)
- func (m *ConversionResponse) XXX_Size() int
- func (m *ConversionResponse) XXX_Unmarshal(b []byte) error
- type ConversionReview
- func (in *ConversionReview) APILifecycleIntroduced() (major, minor int)
- func (in *ConversionReview) DeepCopy() *ConversionReview
- func (in *ConversionReview) DeepCopyInto(out *ConversionReview)
- func (in *ConversionReview) DeepCopyObject() runtime.Object
- func (*ConversionReview) Descriptor() ([]byte, []int)
- func (m *ConversionReview) Marshal() (dAtA []byte, err error)
- func (m *ConversionReview) MarshalTo(dAtA []byte) (int, error)
- func (m *ConversionReview) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConversionReview) ProtoMessage()
- func (m *ConversionReview) Reset()
- func (m *ConversionReview) Size() (n int)
- func (this *ConversionReview) String() string
- func (m *ConversionReview) Unmarshal(dAtA []byte) error
- func (m *ConversionReview) XXX_DiscardUnknown()
- func (m *ConversionReview) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConversionReview) XXX_Merge(src proto.Message)
- func (m *ConversionReview) XXX_Size() int
- func (m *ConversionReview) XXX_Unmarshal(b []byte) error
- type ConversionStrategyType
- type CustomResourceColumnDefinition
- func (in *CustomResourceColumnDefinition) DeepCopy() *CustomResourceColumnDefinition
- func (in *CustomResourceColumnDefinition) DeepCopyInto(out *CustomResourceColumnDefinition)
- func (*CustomResourceColumnDefinition) Descriptor() ([]byte, []int)
- func (m *CustomResourceColumnDefinition) Marshal() (dAtA []byte, err error)
- func (m *CustomResourceColumnDefinition) MarshalTo(dAtA []byte) (int, error)
- func (m *CustomResourceColumnDefinition) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CustomResourceColumnDefinition) ProtoMessage()
- func (m *CustomResourceColumnDefinition) Reset()
- func (m *CustomResourceColumnDefinition) Size() (n int)
- func (this *CustomResourceColumnDefinition) String() string
- func (m *CustomResourceColumnDefinition) Unmarshal(dAtA []byte) error
- func (m *CustomResourceColumnDefinition) XXX_DiscardUnknown()
- func (m *CustomResourceColumnDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CustomResourceColumnDefinition) XXX_Merge(src proto.Message)
- func (m *CustomResourceColumnDefinition) XXX_Size() int
- func (m *CustomResourceColumnDefinition) XXX_Unmarshal(b []byte) error
- type CustomResourceConversion
- func (in *CustomResourceConversion) DeepCopy() *CustomResourceConversion
- func (in *CustomResourceConversion) DeepCopyInto(out *CustomResourceConversion)
- func (*CustomResourceConversion) Descriptor() ([]byte, []int)
- func (m *CustomResourceConversion) Marshal() (dAtA []byte, err error)
- func (m *CustomResourceConversion) MarshalTo(dAtA []byte) (int, error)
- func (m *CustomResourceConversion) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CustomResourceConversion) ProtoMessage()
- func (m *CustomResourceConversion) Reset()
- func (m *CustomResourceConversion) Size() (n int)
- func (this *CustomResourceConversion) String() string
- func (m *CustomResourceConversion) Unmarshal(dAtA []byte) error
- func (m *CustomResourceConversion) XXX_DiscardUnknown()
- func (m *CustomResourceConversion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CustomResourceConversion) XXX_Merge(src proto.Message)
- func (m *CustomResourceConversion) XXX_Size() int
- func (m *CustomResourceConversion) XXX_Unmarshal(b []byte) error
- type CustomResourceDefinition
- func (in *CustomResourceDefinition) APILifecycleIntroduced() (major, minor int)
- func (in *CustomResourceDefinition) DeepCopy() *CustomResourceDefinition
- func (in *CustomResourceDefinition) DeepCopyInto(out *CustomResourceDefinition)
- func (in *CustomResourceDefinition) DeepCopyObject() runtime.Object
- func (*CustomResourceDefinition) Descriptor() ([]byte, []int)
- func (m *CustomResourceDefinition) Marshal() (dAtA []byte, err error)
- func (m *CustomResourceDefinition) MarshalTo(dAtA []byte) (int, error)
- func (m *CustomResourceDefinition) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CustomResourceDefinition) ProtoMessage()
- func (m *CustomResourceDefinition) Reset()
- func (m *CustomResourceDefinition) Size() (n int)
- func (this *CustomResourceDefinition) String() string
- func (m *CustomResourceDefinition) Unmarshal(dAtA []byte) error
- func (m *CustomResourceDefinition) XXX_DiscardUnknown()
- func (m *CustomResourceDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CustomResourceDefinition) XXX_Merge(src proto.Message)
- func (m *CustomResourceDefinition) XXX_Size() int
- func (m *CustomResourceDefinition) XXX_Unmarshal(b []byte) error
- type CustomResourceDefinitionCondition
- func (in *CustomResourceDefinitionCondition) DeepCopy() *CustomResourceDefinitionCondition
- func (in *CustomResourceDefinitionCondition) DeepCopyInto(out *CustomResourceDefinitionCondition)
- func (*CustomResourceDefinitionCondition) Descriptor() ([]byte, []int)
- func (m *CustomResourceDefinitionCondition) Marshal() (dAtA []byte, err error)
- func (m *CustomResourceDefinitionCondition) MarshalTo(dAtA []byte) (int, error)
- func (m *CustomResourceDefinitionCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CustomResourceDefinitionCondition) ProtoMessage()
- func (m *CustomResourceDefinitionCondition) Reset()
- func (m *CustomResourceDefinitionCondition) Size() (n int)
- func (this *CustomResourceDefinitionCondition) String() string
- func (m *CustomResourceDefinitionCondition) Unmarshal(dAtA []byte) error
- func (m *CustomResourceDefinitionCondition) XXX_DiscardUnknown()
- func (m *CustomResourceDefinitionCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CustomResourceDefinitionCondition) XXX_Merge(src proto.Message)
- func (m *CustomResourceDefinitionCondition) XXX_Size() int
- func (m *CustomResourceDefinitionCondition) XXX_Unmarshal(b []byte) error
- type CustomResourceDefinitionConditionType
- type CustomResourceDefinitionList
- func (in *CustomResourceDefinitionList) APILifecycleIntroduced() (major, minor int)
- func (in *CustomResourceDefinitionList) DeepCopy() *CustomResourceDefinitionList
- func (in *CustomResourceDefinitionList) DeepCopyInto(out *CustomResourceDefinitionList)
- func (in *CustomResourceDefinitionList) DeepCopyObject() runtime.Object
- func (*CustomResourceDefinitionList) Descriptor() ([]byte, []int)
- func (m *CustomResourceDefinitionList) Marshal() (dAtA []byte, err error)
- func (m *CustomResourceDefinitionList) MarshalTo(dAtA []byte) (int, error)
- func (m *CustomResourceDefinitionList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CustomResourceDefinitionList) ProtoMessage()
- func (m *CustomResourceDefinitionList) Reset()
- func (m *CustomResourceDefinitionList) Size() (n int)
- func (this *CustomResourceDefinitionList) String() string
- func (m *CustomResourceDefinitionList) Unmarshal(dAtA []byte) error
- func (m *CustomResourceDefinitionList) XXX_DiscardUnknown()
- func (m *CustomResourceDefinitionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CustomResourceDefinitionList) XXX_Merge(src proto.Message)
- func (m *CustomResourceDefinitionList) XXX_Size() int
- func (m *CustomResourceDefinitionList) XXX_Unmarshal(b []byte) error
- type CustomResourceDefinitionNames
- func (in *CustomResourceDefinitionNames) DeepCopy() *CustomResourceDefinitionNames
- func (in *CustomResourceDefinitionNames) DeepCopyInto(out *CustomResourceDefinitionNames)
- func (*CustomResourceDefinitionNames) Descriptor() ([]byte, []int)
- func (m *CustomResourceDefinitionNames) Marshal() (dAtA []byte, err error)
- func (m *CustomResourceDefinitionNames) MarshalTo(dAtA []byte) (int, error)
- func (m *CustomResourceDefinitionNames) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CustomResourceDefinitionNames) ProtoMessage()
- func (m *CustomResourceDefinitionNames) Reset()
- func (m *CustomResourceDefinitionNames) Size() (n int)
- func (this *CustomResourceDefinitionNames) String() string
- func (m *CustomResourceDefinitionNames) Unmarshal(dAtA []byte) error
- func (m *CustomResourceDefinitionNames) XXX_DiscardUnknown()
- func (m *CustomResourceDefinitionNames) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CustomResourceDefinitionNames) XXX_Merge(src proto.Message)
- func (m *CustomResourceDefinitionNames) XXX_Size() int
- func (m *CustomResourceDefinitionNames) XXX_Unmarshal(b []byte) error
- type CustomResourceDefinitionSpec
- func (in *CustomResourceDefinitionSpec) DeepCopy() *CustomResourceDefinitionSpec
- func (in *CustomResourceDefinitionSpec) DeepCopyInto(out *CustomResourceDefinitionSpec)
- func (*CustomResourceDefinitionSpec) Descriptor() ([]byte, []int)
- func (m *CustomResourceDefinitionSpec) Marshal() (dAtA []byte, err error)
- func (m *CustomResourceDefinitionSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *CustomResourceDefinitionSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CustomResourceDefinitionSpec) ProtoMessage()
- func (m *CustomResourceDefinitionSpec) Reset()
- func (m *CustomResourceDefinitionSpec) Size() (n int)
- func (this *CustomResourceDefinitionSpec) String() string
- func (m *CustomResourceDefinitionSpec) Unmarshal(dAtA []byte) error
- func (m *CustomResourceDefinitionSpec) XXX_DiscardUnknown()
- func (m *CustomResourceDefinitionSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CustomResourceDefinitionSpec) XXX_Merge(src proto.Message)
- func (m *CustomResourceDefinitionSpec) XXX_Size() int
- func (m *CustomResourceDefinitionSpec) XXX_Unmarshal(b []byte) error
- type CustomResourceDefinitionStatus
- func (in *CustomResourceDefinitionStatus) DeepCopy() *CustomResourceDefinitionStatus
- func (in *CustomResourceDefinitionStatus) DeepCopyInto(out *CustomResourceDefinitionStatus)
- func (*CustomResourceDefinitionStatus) Descriptor() ([]byte, []int)
- func (m *CustomResourceDefinitionStatus) Marshal() (dAtA []byte, err error)
- func (m *CustomResourceDefinitionStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *CustomResourceDefinitionStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CustomResourceDefinitionStatus) ProtoMessage()
- func (m *CustomResourceDefinitionStatus) Reset()
- func (m *CustomResourceDefinitionStatus) Size() (n int)
- func (this *CustomResourceDefinitionStatus) String() string
- func (m *CustomResourceDefinitionStatus) Unmarshal(dAtA []byte) error
- func (m *CustomResourceDefinitionStatus) XXX_DiscardUnknown()
- func (m *CustomResourceDefinitionStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CustomResourceDefinitionStatus) XXX_Merge(src proto.Message)
- func (m *CustomResourceDefinitionStatus) XXX_Size() int
- func (m *CustomResourceDefinitionStatus) XXX_Unmarshal(b []byte) error
- type CustomResourceDefinitionVersion
- func (in *CustomResourceDefinitionVersion) DeepCopy() *CustomResourceDefinitionVersion
- func (in *CustomResourceDefinitionVersion) DeepCopyInto(out *CustomResourceDefinitionVersion)
- func (*CustomResourceDefinitionVersion) Descriptor() ([]byte, []int)
- func (m *CustomResourceDefinitionVersion) Marshal() (dAtA []byte, err error)
- func (m *CustomResourceDefinitionVersion) MarshalTo(dAtA []byte) (int, error)
- func (m *CustomResourceDefinitionVersion) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CustomResourceDefinitionVersion) ProtoMessage()
- func (m *CustomResourceDefinitionVersion) Reset()
- func (m *CustomResourceDefinitionVersion) Size() (n int)
- func (this *CustomResourceDefinitionVersion) String() string
- func (m *CustomResourceDefinitionVersion) Unmarshal(dAtA []byte) error
- func (m *CustomResourceDefinitionVersion) XXX_DiscardUnknown()
- func (m *CustomResourceDefinitionVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CustomResourceDefinitionVersion) XXX_Merge(src proto.Message)
- func (m *CustomResourceDefinitionVersion) XXX_Size() int
- func (m *CustomResourceDefinitionVersion) XXX_Unmarshal(b []byte) error
- type CustomResourceSubresourceScale
- func (in *CustomResourceSubresourceScale) DeepCopy() *CustomResourceSubresourceScale
- func (in *CustomResourceSubresourceScale) DeepCopyInto(out *CustomResourceSubresourceScale)
- func (*CustomResourceSubresourceScale) Descriptor() ([]byte, []int)
- func (m *CustomResourceSubresourceScale) Marshal() (dAtA []byte, err error)
- func (m *CustomResourceSubresourceScale) MarshalTo(dAtA []byte) (int, error)
- func (m *CustomResourceSubresourceScale) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CustomResourceSubresourceScale) ProtoMessage()
- func (m *CustomResourceSubresourceScale) Reset()
- func (m *CustomResourceSubresourceScale) Size() (n int)
- func (this *CustomResourceSubresourceScale) String() string
- func (m *CustomResourceSubresourceScale) Unmarshal(dAtA []byte) error
- func (m *CustomResourceSubresourceScale) XXX_DiscardUnknown()
- func (m *CustomResourceSubresourceScale) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CustomResourceSubresourceScale) XXX_Merge(src proto.Message)
- func (m *CustomResourceSubresourceScale) XXX_Size() int
- func (m *CustomResourceSubresourceScale) XXX_Unmarshal(b []byte) error
- type CustomResourceSubresourceStatus
- func (in *CustomResourceSubresourceStatus) DeepCopy() *CustomResourceSubresourceStatus
- func (in *CustomResourceSubresourceStatus) DeepCopyInto(out *CustomResourceSubresourceStatus)
- func (*CustomResourceSubresourceStatus) Descriptor() ([]byte, []int)
- func (m *CustomResourceSubresourceStatus) Marshal() (dAtA []byte, err error)
- func (m *CustomResourceSubresourceStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *CustomResourceSubresourceStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CustomResourceSubresourceStatus) ProtoMessage()
- func (m *CustomResourceSubresourceStatus) Reset()
- func (m *CustomResourceSubresourceStatus) Size() (n int)
- func (this *CustomResourceSubresourceStatus) String() string
- func (m *CustomResourceSubresourceStatus) Unmarshal(dAtA []byte) error
- func (m *CustomResourceSubresourceStatus) XXX_DiscardUnknown()
- func (m *CustomResourceSubresourceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CustomResourceSubresourceStatus) XXX_Merge(src proto.Message)
- func (m *CustomResourceSubresourceStatus) XXX_Size() int
- func (m *CustomResourceSubresourceStatus) XXX_Unmarshal(b []byte) error
- type CustomResourceSubresources
- func (in *CustomResourceSubresources) DeepCopy() *CustomResourceSubresources
- func (in *CustomResourceSubresources) DeepCopyInto(out *CustomResourceSubresources)
- func (*CustomResourceSubresources) Descriptor() ([]byte, []int)
- func (m *CustomResourceSubresources) Marshal() (dAtA []byte, err error)
- func (m *CustomResourceSubresources) MarshalTo(dAtA []byte) (int, error)
- func (m *CustomResourceSubresources) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CustomResourceSubresources) ProtoMessage()
- func (m *CustomResourceSubresources) Reset()
- func (m *CustomResourceSubresources) Size() (n int)
- func (this *CustomResourceSubresources) String() string
- func (m *CustomResourceSubresources) Unmarshal(dAtA []byte) error
- func (m *CustomResourceSubresources) XXX_DiscardUnknown()
- func (m *CustomResourceSubresources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CustomResourceSubresources) XXX_Merge(src proto.Message)
- func (m *CustomResourceSubresources) XXX_Size() int
- func (m *CustomResourceSubresources) XXX_Unmarshal(b []byte) error
- type CustomResourceValidation
- func (in *CustomResourceValidation) DeepCopy() *CustomResourceValidation
- func (in *CustomResourceValidation) DeepCopyInto(out *CustomResourceValidation)
- func (*CustomResourceValidation) Descriptor() ([]byte, []int)
- func (m *CustomResourceValidation) Marshal() (dAtA []byte, err error)
- func (m *CustomResourceValidation) MarshalTo(dAtA []byte) (int, error)
- func (m *CustomResourceValidation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CustomResourceValidation) ProtoMessage()
- func (m *CustomResourceValidation) Reset()
- func (m *CustomResourceValidation) Size() (n int)
- func (this *CustomResourceValidation) String() string
- func (m *CustomResourceValidation) Unmarshal(dAtA []byte) error
- func (m *CustomResourceValidation) XXX_DiscardUnknown()
- func (m *CustomResourceValidation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CustomResourceValidation) XXX_Merge(src proto.Message)
- func (m *CustomResourceValidation) XXX_Size() int
- func (m *CustomResourceValidation) XXX_Unmarshal(b []byte) error
- type ExternalDocumentation
- func (in *ExternalDocumentation) DeepCopy() *ExternalDocumentation
- func (in *ExternalDocumentation) DeepCopyInto(out *ExternalDocumentation)
- func (*ExternalDocumentation) Descriptor() ([]byte, []int)
- func (m *ExternalDocumentation) Marshal() (dAtA []byte, err error)
- func (m *ExternalDocumentation) MarshalTo(dAtA []byte) (int, error)
- func (m *ExternalDocumentation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExternalDocumentation) ProtoMessage()
- func (m *ExternalDocumentation) Reset()
- func (m *ExternalDocumentation) Size() (n int)
- func (this *ExternalDocumentation) String() string
- func (m *ExternalDocumentation) Unmarshal(dAtA []byte) error
- func (m *ExternalDocumentation) XXX_DiscardUnknown()
- func (m *ExternalDocumentation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExternalDocumentation) XXX_Merge(src proto.Message)
- func (m *ExternalDocumentation) XXX_Size() int
- func (m *ExternalDocumentation) XXX_Unmarshal(b []byte) error
- type FieldValueErrorReason
- type JSON
- func (in *JSON) DeepCopy() *JSON
- func (in *JSON) DeepCopyInto(out *JSON)
- func (*JSON) Descriptor() ([]byte, []int)
- func (m *JSON) Marshal() (dAtA []byte, err error)
- func (s JSON) MarshalJSON() ([]byte, error)
- func (m *JSON) MarshalTo(dAtA []byte) (int, error)
- func (m *JSON) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (_ JSON) OpenAPISchemaFormat() string
- func (_ JSON) OpenAPISchemaType() []string
- func (*JSON) ProtoMessage()
- func (m *JSON) Reset()
- func (m *JSON) Size() (n int)
- func (this *JSON) String() string
- func (m *JSON) Unmarshal(dAtA []byte) error
- func (s *JSON) UnmarshalJSON(data []byte) error
- func (m *JSON) XXX_DiscardUnknown()
- func (m *JSON) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JSON) XXX_Merge(src proto.Message)
- func (m *JSON) XXX_Size() int
- func (m *JSON) XXX_Unmarshal(b []byte) error
- type JSONSchemaDefinitions
- type JSONSchemaDependencies
- type JSONSchemaProps
- func (in *JSONSchemaProps) DeepCopy() *JSONSchemaProps
- func (in *JSONSchemaProps) DeepCopyInto(out *JSONSchemaProps)
- func (*JSONSchemaProps) Descriptor() ([]byte, []int)
- func (m *JSONSchemaProps) Marshal() (dAtA []byte, err error)
- func (m *JSONSchemaProps) MarshalTo(dAtA []byte) (int, error)
- func (m *JSONSchemaProps) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*JSONSchemaProps) ProtoMessage()
- func (m *JSONSchemaProps) Reset()
- func (m *JSONSchemaProps) Size() (n int)
- func (this *JSONSchemaProps) String() string
- func (m *JSONSchemaProps) Unmarshal(dAtA []byte) error
- func (m *JSONSchemaProps) XXX_DiscardUnknown()
- func (m *JSONSchemaProps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JSONSchemaProps) XXX_Merge(src proto.Message)
- func (m *JSONSchemaProps) XXX_Size() int
- func (m *JSONSchemaProps) XXX_Unmarshal(b []byte) error
- type JSONSchemaPropsOrArray
- func (in *JSONSchemaPropsOrArray) DeepCopy() *JSONSchemaPropsOrArray
- func (in *JSONSchemaPropsOrArray) DeepCopyInto(out *JSONSchemaPropsOrArray)
- func (*JSONSchemaPropsOrArray) Descriptor() ([]byte, []int)
- func (m *JSONSchemaPropsOrArray) Marshal() (dAtA []byte, err error)
- func (s JSONSchemaPropsOrArray) MarshalJSON() ([]byte, error)
- func (m *JSONSchemaPropsOrArray) MarshalTo(dAtA []byte) (int, error)
- func (m *JSONSchemaPropsOrArray) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (_ JSONSchemaPropsOrArray) OpenAPISchemaFormat() string
- func (_ JSONSchemaPropsOrArray) OpenAPISchemaType() []string
- func (*JSONSchemaPropsOrArray) ProtoMessage()
- func (m *JSONSchemaPropsOrArray) Reset()
- func (m *JSONSchemaPropsOrArray) Size() (n int)
- func (this *JSONSchemaPropsOrArray) String() string
- func (m *JSONSchemaPropsOrArray) Unmarshal(dAtA []byte) error
- func (s *JSONSchemaPropsOrArray) UnmarshalJSON(data []byte) error
- func (m *JSONSchemaPropsOrArray) XXX_DiscardUnknown()
- func (m *JSONSchemaPropsOrArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JSONSchemaPropsOrArray) XXX_Merge(src proto.Message)
- func (m *JSONSchemaPropsOrArray) XXX_Size() int
- func (m *JSONSchemaPropsOrArray) XXX_Unmarshal(b []byte) error
- type JSONSchemaPropsOrBool
- func (in *JSONSchemaPropsOrBool) DeepCopy() *JSONSchemaPropsOrBool
- func (in *JSONSchemaPropsOrBool) DeepCopyInto(out *JSONSchemaPropsOrBool)
- func (*JSONSchemaPropsOrBool) Descriptor() ([]byte, []int)
- func (m *JSONSchemaPropsOrBool) Marshal() (dAtA []byte, err error)
- func (s JSONSchemaPropsOrBool) MarshalJSON() ([]byte, error)
- func (m *JSONSchemaPropsOrBool) MarshalTo(dAtA []byte) (int, error)
- func (m *JSONSchemaPropsOrBool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (_ JSONSchemaPropsOrBool) OpenAPISchemaFormat() string
- func (_ JSONSchemaPropsOrBool) OpenAPISchemaType() []string
- func (*JSONSchemaPropsOrBool) ProtoMessage()
- func (m *JSONSchemaPropsOrBool) Reset()
- func (m *JSONSchemaPropsOrBool) Size() (n int)
- func (this *JSONSchemaPropsOrBool) String() string
- func (m *JSONSchemaPropsOrBool) Unmarshal(dAtA []byte) error
- func (s *JSONSchemaPropsOrBool) UnmarshalJSON(data []byte) error
- func (m *JSONSchemaPropsOrBool) XXX_DiscardUnknown()
- func (m *JSONSchemaPropsOrBool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JSONSchemaPropsOrBool) XXX_Merge(src proto.Message)
- func (m *JSONSchemaPropsOrBool) XXX_Size() int
- func (m *JSONSchemaPropsOrBool) XXX_Unmarshal(b []byte) error
- type JSONSchemaPropsOrStringArray
- func (in *JSONSchemaPropsOrStringArray) DeepCopy() *JSONSchemaPropsOrStringArray
- func (in *JSONSchemaPropsOrStringArray) DeepCopyInto(out *JSONSchemaPropsOrStringArray)
- func (*JSONSchemaPropsOrStringArray) Descriptor() ([]byte, []int)
- func (m *JSONSchemaPropsOrStringArray) Marshal() (dAtA []byte, err error)
- func (s JSONSchemaPropsOrStringArray) MarshalJSON() ([]byte, error)
- func (m *JSONSchemaPropsOrStringArray) MarshalTo(dAtA []byte) (int, error)
- func (m *JSONSchemaPropsOrStringArray) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (_ JSONSchemaPropsOrStringArray) OpenAPISchemaFormat() string
- func (_ JSONSchemaPropsOrStringArray) OpenAPISchemaType() []string
- func (*JSONSchemaPropsOrStringArray) ProtoMessage()
- func (m *JSONSchemaPropsOrStringArray) Reset()
- func (m *JSONSchemaPropsOrStringArray) Size() (n int)
- func (this *JSONSchemaPropsOrStringArray) String() string
- func (m *JSONSchemaPropsOrStringArray) Unmarshal(dAtA []byte) error
- func (s *JSONSchemaPropsOrStringArray) UnmarshalJSON(data []byte) error
- func (m *JSONSchemaPropsOrStringArray) XXX_DiscardUnknown()
- func (m *JSONSchemaPropsOrStringArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JSONSchemaPropsOrStringArray) XXX_Merge(src proto.Message)
- func (m *JSONSchemaPropsOrStringArray) XXX_Size() int
- func (m *JSONSchemaPropsOrStringArray) XXX_Unmarshal(b []byte) error
- type JSONSchemaURL
- type ResourceScope
- type SelectableField
- func (in *SelectableField) DeepCopy() *SelectableField
- func (in *SelectableField) DeepCopyInto(out *SelectableField)
- func (*SelectableField) Descriptor() ([]byte, []int)
- func (m *SelectableField) Marshal() (dAtA []byte, err error)
- func (m *SelectableField) MarshalTo(dAtA []byte) (int, error)
- func (m *SelectableField) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SelectableField) ProtoMessage()
- func (m *SelectableField) Reset()
- func (m *SelectableField) Size() (n int)
- func (this *SelectableField) String() string
- func (m *SelectableField) Unmarshal(dAtA []byte) error
- func (m *SelectableField) XXX_DiscardUnknown()
- func (m *SelectableField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SelectableField) XXX_Merge(src proto.Message)
- func (m *SelectableField) XXX_Size() int
- func (m *SelectableField) XXX_Unmarshal(b []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 (m *ServiceReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ServiceReference) ProtoMessage()
- func (m *ServiceReference) Reset()
- func (m *ServiceReference) Size() (n int)
- func (this *ServiceReference) String() string
- func (m *ServiceReference) Unmarshal(dAtA []byte) error
- func (m *ServiceReference) XXX_DiscardUnknown()
- func (m *ServiceReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServiceReference) XXX_Merge(src proto.Message)
- func (m *ServiceReference) XXX_Size() int
- func (m *ServiceReference) XXX_Unmarshal(b []byte) error
- type ValidationRule
- func (in *ValidationRule) DeepCopy() *ValidationRule
- func (in *ValidationRule) DeepCopyInto(out *ValidationRule)
- func (*ValidationRule) Descriptor() ([]byte, []int)
- func (m *ValidationRule) Marshal() (dAtA []byte, err error)
- func (m *ValidationRule) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidationRule) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidationRule) ProtoMessage()
- func (m *ValidationRule) Reset()
- func (m *ValidationRule) Size() (n int)
- func (this *ValidationRule) String() string
- func (m *ValidationRule) Unmarshal(dAtA []byte) error
- func (m *ValidationRule) XXX_DiscardUnknown()
- func (m *ValidationRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidationRule) XXX_Merge(src proto.Message)
- func (m *ValidationRule) XXX_Size() int
- func (m *ValidationRule) XXX_Unmarshal(b []byte) error
- type ValidationRules
- type WebhookClientConfig
- func (in *WebhookClientConfig) DeepCopy() *WebhookClientConfig
- func (in *WebhookClientConfig) DeepCopyInto(out *WebhookClientConfig)
- func (*WebhookClientConfig) Descriptor() ([]byte, []int)
- func (m *WebhookClientConfig) Marshal() (dAtA []byte, err error)
- func (m *WebhookClientConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *WebhookClientConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WebhookClientConfig) ProtoMessage()
- func (m *WebhookClientConfig) Reset()
- func (m *WebhookClientConfig) Size() (n int)
- func (this *WebhookClientConfig) String() string
- func (m *WebhookClientConfig) Unmarshal(dAtA []byte) error
- func (m *WebhookClientConfig) XXX_DiscardUnknown()
- func (m *WebhookClientConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WebhookClientConfig) XXX_Merge(src proto.Message)
- func (m *WebhookClientConfig) XXX_Size() int
- func (m *WebhookClientConfig) XXX_Unmarshal(b []byte) error
- type WebhookConversion
- func (in *WebhookConversion) DeepCopy() *WebhookConversion
- func (in *WebhookConversion) DeepCopyInto(out *WebhookConversion)
- func (*WebhookConversion) Descriptor() ([]byte, []int)
- func (m *WebhookConversion) Marshal() (dAtA []byte, err error)
- func (m *WebhookConversion) MarshalTo(dAtA []byte) (int, error)
- func (m *WebhookConversion) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WebhookConversion) ProtoMessage()
- func (m *WebhookConversion) Reset()
- func (m *WebhookConversion) Size() (n int)
- func (this *WebhookConversion) String() string
- func (m *WebhookConversion) Unmarshal(dAtA []byte) error
- func (m *WebhookConversion) XXX_DiscardUnknown()
- func (m *WebhookConversion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WebhookConversion) XXX_Merge(src proto.Message)
- func (m *WebhookConversion) XXX_Size() int
- func (m *WebhookConversion) XXX_Unmarshal(b []byte) error
Constants ¶
const CustomResourceCleanupFinalizer = "customresourcecleanup.apiextensions.k8s.io"
CustomResourceCleanupFinalizer is the name of the finalizer which will delete instances of a CustomResourceDefinition
const GroupName = "apiextensions.k8s.io"
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") )
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs) AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_apiextensions_CustomResourceColumnDefinition_To_v1_CustomResourceColumnDefinition ¶
func Convert_apiextensions_CustomResourceColumnDefinition_To_v1_CustomResourceColumnDefinition(in *apiextensions.CustomResourceColumnDefinition, out *CustomResourceColumnDefinition, s conversion.Scope) error
Convert_apiextensions_CustomResourceColumnDefinition_To_v1_CustomResourceColumnDefinition is an autogenerated conversion function.
func Convert_apiextensions_CustomResourceConversion_To_v1_CustomResourceConversion ¶
func Convert_apiextensions_CustomResourceConversion_To_v1_CustomResourceConversion(in *apiextensions.CustomResourceConversion, out *CustomResourceConversion, s conversion.Scope) error
func Convert_apiextensions_CustomResourceDefinitionCondition_To_v1_CustomResourceDefinitionCondition ¶
func Convert_apiextensions_CustomResourceDefinitionCondition_To_v1_CustomResourceDefinitionCondition(in *apiextensions.CustomResourceDefinitionCondition, out *CustomResourceDefinitionCondition, s conversion.Scope) error
Convert_apiextensions_CustomResourceDefinitionCondition_To_v1_CustomResourceDefinitionCondition is an autogenerated conversion function.
func Convert_apiextensions_CustomResourceDefinitionList_To_v1_CustomResourceDefinitionList ¶
func Convert_apiextensions_CustomResourceDefinitionList_To_v1_CustomResourceDefinitionList(in *apiextensions.CustomResourceDefinitionList, out *CustomResourceDefinitionList, s conversion.Scope) error
Convert_apiextensions_CustomResourceDefinitionList_To_v1_CustomResourceDefinitionList is an autogenerated conversion function.
func Convert_apiextensions_CustomResourceDefinitionNames_To_v1_CustomResourceDefinitionNames ¶
func Convert_apiextensions_CustomResourceDefinitionNames_To_v1_CustomResourceDefinitionNames(in *apiextensions.CustomResourceDefinitionNames, out *CustomResourceDefinitionNames, s conversion.Scope) error
Convert_apiextensions_CustomResourceDefinitionNames_To_v1_CustomResourceDefinitionNames is an autogenerated conversion function.
func Convert_apiextensions_CustomResourceDefinitionSpec_To_v1_CustomResourceDefinitionSpec ¶
func Convert_apiextensions_CustomResourceDefinitionSpec_To_v1_CustomResourceDefinitionSpec(in *apiextensions.CustomResourceDefinitionSpec, out *CustomResourceDefinitionSpec, s conversion.Scope) error
func Convert_apiextensions_CustomResourceDefinitionStatus_To_v1_CustomResourceDefinitionStatus ¶
func Convert_apiextensions_CustomResourceDefinitionStatus_To_v1_CustomResourceDefinitionStatus(in *apiextensions.CustomResourceDefinitionStatus, out *CustomResourceDefinitionStatus, s conversion.Scope) error
Convert_apiextensions_CustomResourceDefinitionStatus_To_v1_CustomResourceDefinitionStatus is an autogenerated conversion function.
func Convert_apiextensions_CustomResourceDefinitionVersion_To_v1_CustomResourceDefinitionVersion ¶
func Convert_apiextensions_CustomResourceDefinitionVersion_To_v1_CustomResourceDefinitionVersion(in *apiextensions.CustomResourceDefinitionVersion, out *CustomResourceDefinitionVersion, s conversion.Scope) error
Convert_apiextensions_CustomResourceDefinitionVersion_To_v1_CustomResourceDefinitionVersion is an autogenerated conversion function.
func Convert_apiextensions_CustomResourceDefinition_To_v1_CustomResourceDefinition ¶
func Convert_apiextensions_CustomResourceDefinition_To_v1_CustomResourceDefinition(in *apiextensions.CustomResourceDefinition, out *CustomResourceDefinition, s conversion.Scope) error
Convert_apiextensions_CustomResourceDefinition_To_v1_CustomResourceDefinition is an autogenerated conversion function.
func Convert_apiextensions_CustomResourceSubresourceScale_To_v1_CustomResourceSubresourceScale ¶
func Convert_apiextensions_CustomResourceSubresourceScale_To_v1_CustomResourceSubresourceScale(in *apiextensions.CustomResourceSubresourceScale, out *CustomResourceSubresourceScale, s conversion.Scope) error
Convert_apiextensions_CustomResourceSubresourceScale_To_v1_CustomResourceSubresourceScale is an autogenerated conversion function.
func Convert_apiextensions_CustomResourceSubresourceStatus_To_v1_CustomResourceSubresourceStatus ¶
func Convert_apiextensions_CustomResourceSubresourceStatus_To_v1_CustomResourceSubresourceStatus(in *apiextensions.CustomResourceSubresourceStatus, out *CustomResourceSubresourceStatus, s conversion.Scope) error
Convert_apiextensions_CustomResourceSubresourceStatus_To_v1_CustomResourceSubresourceStatus is an autogenerated conversion function.
func Convert_apiextensions_CustomResourceSubresources_To_v1_CustomResourceSubresources ¶
func Convert_apiextensions_CustomResourceSubresources_To_v1_CustomResourceSubresources(in *apiextensions.CustomResourceSubresources, out *CustomResourceSubresources, s conversion.Scope) error
Convert_apiextensions_CustomResourceSubresources_To_v1_CustomResourceSubresources is an autogenerated conversion function.
func Convert_apiextensions_CustomResourceValidation_To_v1_CustomResourceValidation ¶
func Convert_apiextensions_CustomResourceValidation_To_v1_CustomResourceValidation(in *apiextensions.CustomResourceValidation, out *CustomResourceValidation, s conversion.Scope) error
Convert_apiextensions_CustomResourceValidation_To_v1_CustomResourceValidation is an autogenerated conversion function.
func Convert_apiextensions_ExternalDocumentation_To_v1_ExternalDocumentation ¶
func Convert_apiextensions_ExternalDocumentation_To_v1_ExternalDocumentation(in *apiextensions.ExternalDocumentation, out *ExternalDocumentation, s conversion.Scope) error
Convert_apiextensions_ExternalDocumentation_To_v1_ExternalDocumentation is an autogenerated conversion function.
func Convert_apiextensions_JSONSchemaPropsOrArray_To_v1_JSONSchemaPropsOrArray ¶
func Convert_apiextensions_JSONSchemaPropsOrArray_To_v1_JSONSchemaPropsOrArray(in *apiextensions.JSONSchemaPropsOrArray, out *JSONSchemaPropsOrArray, s conversion.Scope) error
Convert_apiextensions_JSONSchemaPropsOrArray_To_v1_JSONSchemaPropsOrArray is an autogenerated conversion function.
func Convert_apiextensions_JSONSchemaPropsOrBool_To_v1_JSONSchemaPropsOrBool ¶
func Convert_apiextensions_JSONSchemaPropsOrBool_To_v1_JSONSchemaPropsOrBool(in *apiextensions.JSONSchemaPropsOrBool, out *JSONSchemaPropsOrBool, s conversion.Scope) error
Convert_apiextensions_JSONSchemaPropsOrBool_To_v1_JSONSchemaPropsOrBool is an autogenerated conversion function.
func Convert_apiextensions_JSONSchemaPropsOrStringArray_To_v1_JSONSchemaPropsOrStringArray ¶
func Convert_apiextensions_JSONSchemaPropsOrStringArray_To_v1_JSONSchemaPropsOrStringArray(in *apiextensions.JSONSchemaPropsOrStringArray, out *JSONSchemaPropsOrStringArray, s conversion.Scope) error
Convert_apiextensions_JSONSchemaPropsOrStringArray_To_v1_JSONSchemaPropsOrStringArray is an autogenerated conversion function.
func Convert_apiextensions_JSONSchemaProps_To_v1_JSONSchemaProps ¶
func Convert_apiextensions_JSONSchemaProps_To_v1_JSONSchemaProps(in *apiextensions.JSONSchemaProps, out *JSONSchemaProps, s conversion.Scope) error
func Convert_apiextensions_JSON_To_v1_JSON ¶
func Convert_apiextensions_JSON_To_v1_JSON(in *apiextensions.JSON, out *JSON, s conversion.Scope) error
func Convert_apiextensions_SelectableField_To_v1_SelectableField ¶ added in v0.30.0
func Convert_apiextensions_SelectableField_To_v1_SelectableField(in *apiextensions.SelectableField, out *SelectableField, s conversion.Scope) error
Convert_apiextensions_SelectableField_To_v1_SelectableField is an autogenerated conversion function.
func Convert_apiextensions_ServiceReference_To_v1_ServiceReference ¶
func Convert_apiextensions_ServiceReference_To_v1_ServiceReference(in *apiextensions.ServiceReference, out *ServiceReference, s conversion.Scope) error
Convert_apiextensions_ServiceReference_To_v1_ServiceReference is an autogenerated conversion function.
func Convert_apiextensions_ValidationRule_To_v1_ValidationRule ¶ added in v0.23.0
func Convert_apiextensions_ValidationRule_To_v1_ValidationRule(in *apiextensions.ValidationRule, out *ValidationRule, s conversion.Scope) error
Convert_apiextensions_ValidationRule_To_v1_ValidationRule is an autogenerated conversion function.
func Convert_apiextensions_ValidationRules_To_v1_ValidationRules ¶ added in v0.23.4
func Convert_apiextensions_ValidationRules_To_v1_ValidationRules(in *apiextensions.ValidationRules, out *ValidationRules, s conversion.Scope) error
func Convert_apiextensions_WebhookClientConfig_To_v1_WebhookClientConfig ¶
func Convert_apiextensions_WebhookClientConfig_To_v1_WebhookClientConfig(in *apiextensions.WebhookClientConfig, out *WebhookClientConfig, s conversion.Scope) error
Convert_apiextensions_WebhookClientConfig_To_v1_WebhookClientConfig is an autogenerated conversion function.
func Convert_v1_CustomResourceColumnDefinition_To_apiextensions_CustomResourceColumnDefinition ¶
func Convert_v1_CustomResourceColumnDefinition_To_apiextensions_CustomResourceColumnDefinition(in *CustomResourceColumnDefinition, out *apiextensions.CustomResourceColumnDefinition, s conversion.Scope) error
Convert_v1_CustomResourceColumnDefinition_To_apiextensions_CustomResourceColumnDefinition is an autogenerated conversion function.
func Convert_v1_CustomResourceConversion_To_apiextensions_CustomResourceConversion ¶
func Convert_v1_CustomResourceConversion_To_apiextensions_CustomResourceConversion(in *CustomResourceConversion, out *apiextensions.CustomResourceConversion, s conversion.Scope) error
func Convert_v1_CustomResourceDefinitionCondition_To_apiextensions_CustomResourceDefinitionCondition ¶
func Convert_v1_CustomResourceDefinitionCondition_To_apiextensions_CustomResourceDefinitionCondition(in *CustomResourceDefinitionCondition, out *apiextensions.CustomResourceDefinitionCondition, s conversion.Scope) error
Convert_v1_CustomResourceDefinitionCondition_To_apiextensions_CustomResourceDefinitionCondition is an autogenerated conversion function.
func Convert_v1_CustomResourceDefinitionList_To_apiextensions_CustomResourceDefinitionList ¶
func Convert_v1_CustomResourceDefinitionList_To_apiextensions_CustomResourceDefinitionList(in *CustomResourceDefinitionList, out *apiextensions.CustomResourceDefinitionList, s conversion.Scope) error
Convert_v1_CustomResourceDefinitionList_To_apiextensions_CustomResourceDefinitionList is an autogenerated conversion function.
func Convert_v1_CustomResourceDefinitionNames_To_apiextensions_CustomResourceDefinitionNames ¶
func Convert_v1_CustomResourceDefinitionNames_To_apiextensions_CustomResourceDefinitionNames(in *CustomResourceDefinitionNames, out *apiextensions.CustomResourceDefinitionNames, s conversion.Scope) error
Convert_v1_CustomResourceDefinitionNames_To_apiextensions_CustomResourceDefinitionNames is an autogenerated conversion function.
func Convert_v1_CustomResourceDefinitionSpec_To_apiextensions_CustomResourceDefinitionSpec ¶
func Convert_v1_CustomResourceDefinitionSpec_To_apiextensions_CustomResourceDefinitionSpec(in *CustomResourceDefinitionSpec, out *apiextensions.CustomResourceDefinitionSpec, s conversion.Scope) error
func Convert_v1_CustomResourceDefinitionStatus_To_apiextensions_CustomResourceDefinitionStatus ¶
func Convert_v1_CustomResourceDefinitionStatus_To_apiextensions_CustomResourceDefinitionStatus(in *CustomResourceDefinitionStatus, out *apiextensions.CustomResourceDefinitionStatus, s conversion.Scope) error
Convert_v1_CustomResourceDefinitionStatus_To_apiextensions_CustomResourceDefinitionStatus is an autogenerated conversion function.
func Convert_v1_CustomResourceDefinitionVersion_To_apiextensions_CustomResourceDefinitionVersion ¶
func Convert_v1_CustomResourceDefinitionVersion_To_apiextensions_CustomResourceDefinitionVersion(in *CustomResourceDefinitionVersion, out *apiextensions.CustomResourceDefinitionVersion, s conversion.Scope) error
Convert_v1_CustomResourceDefinitionVersion_To_apiextensions_CustomResourceDefinitionVersion is an autogenerated conversion function.
func Convert_v1_CustomResourceDefinition_To_apiextensions_CustomResourceDefinition ¶
func Convert_v1_CustomResourceDefinition_To_apiextensions_CustomResourceDefinition(in *CustomResourceDefinition, out *apiextensions.CustomResourceDefinition, s conversion.Scope) error
Convert_v1_CustomResourceDefinition_To_apiextensions_CustomResourceDefinition is an autogenerated conversion function.
func Convert_v1_CustomResourceSubresourceScale_To_apiextensions_CustomResourceSubresourceScale ¶
func Convert_v1_CustomResourceSubresourceScale_To_apiextensions_CustomResourceSubresourceScale(in *CustomResourceSubresourceScale, out *apiextensions.CustomResourceSubresourceScale, s conversion.Scope) error
Convert_v1_CustomResourceSubresourceScale_To_apiextensions_CustomResourceSubresourceScale is an autogenerated conversion function.
func Convert_v1_CustomResourceSubresourceStatus_To_apiextensions_CustomResourceSubresourceStatus ¶
func Convert_v1_CustomResourceSubresourceStatus_To_apiextensions_CustomResourceSubresourceStatus(in *CustomResourceSubresourceStatus, out *apiextensions.CustomResourceSubresourceStatus, s conversion.Scope) error
Convert_v1_CustomResourceSubresourceStatus_To_apiextensions_CustomResourceSubresourceStatus is an autogenerated conversion function.
func Convert_v1_CustomResourceSubresources_To_apiextensions_CustomResourceSubresources ¶
func Convert_v1_CustomResourceSubresources_To_apiextensions_CustomResourceSubresources(in *CustomResourceSubresources, out *apiextensions.CustomResourceSubresources, s conversion.Scope) error
Convert_v1_CustomResourceSubresources_To_apiextensions_CustomResourceSubresources is an autogenerated conversion function.
func Convert_v1_CustomResourceValidation_To_apiextensions_CustomResourceValidation ¶
func Convert_v1_CustomResourceValidation_To_apiextensions_CustomResourceValidation(in *CustomResourceValidation, out *apiextensions.CustomResourceValidation, s conversion.Scope) error
Convert_v1_CustomResourceValidation_To_apiextensions_CustomResourceValidation is an autogenerated conversion function.
func Convert_v1_ExternalDocumentation_To_apiextensions_ExternalDocumentation ¶
func Convert_v1_ExternalDocumentation_To_apiextensions_ExternalDocumentation(in *ExternalDocumentation, out *apiextensions.ExternalDocumentation, s conversion.Scope) error
Convert_v1_ExternalDocumentation_To_apiextensions_ExternalDocumentation is an autogenerated conversion function.
func Convert_v1_JSONSchemaPropsOrArray_To_apiextensions_JSONSchemaPropsOrArray ¶
func Convert_v1_JSONSchemaPropsOrArray_To_apiextensions_JSONSchemaPropsOrArray(in *JSONSchemaPropsOrArray, out *apiextensions.JSONSchemaPropsOrArray, s conversion.Scope) error
Convert_v1_JSONSchemaPropsOrArray_To_apiextensions_JSONSchemaPropsOrArray is an autogenerated conversion function.
func Convert_v1_JSONSchemaPropsOrBool_To_apiextensions_JSONSchemaPropsOrBool ¶
func Convert_v1_JSONSchemaPropsOrBool_To_apiextensions_JSONSchemaPropsOrBool(in *JSONSchemaPropsOrBool, out *apiextensions.JSONSchemaPropsOrBool, s conversion.Scope) error
Convert_v1_JSONSchemaPropsOrBool_To_apiextensions_JSONSchemaPropsOrBool is an autogenerated conversion function.
func Convert_v1_JSONSchemaPropsOrStringArray_To_apiextensions_JSONSchemaPropsOrStringArray ¶
func Convert_v1_JSONSchemaPropsOrStringArray_To_apiextensions_JSONSchemaPropsOrStringArray(in *JSONSchemaPropsOrStringArray, out *apiextensions.JSONSchemaPropsOrStringArray, s conversion.Scope) error
Convert_v1_JSONSchemaPropsOrStringArray_To_apiextensions_JSONSchemaPropsOrStringArray is an autogenerated conversion function.
func Convert_v1_JSONSchemaProps_To_apiextensions_JSONSchemaProps ¶
func Convert_v1_JSONSchemaProps_To_apiextensions_JSONSchemaProps(in *JSONSchemaProps, out *apiextensions.JSONSchemaProps, s conversion.Scope) error
Convert_v1_JSONSchemaProps_To_apiextensions_JSONSchemaProps is an autogenerated conversion function.
func Convert_v1_JSON_To_apiextensions_JSON ¶
func Convert_v1_JSON_To_apiextensions_JSON(in *JSON, out *apiextensions.JSON, s conversion.Scope) error
func Convert_v1_SelectableField_To_apiextensions_SelectableField ¶ added in v0.30.0
func Convert_v1_SelectableField_To_apiextensions_SelectableField(in *SelectableField, out *apiextensions.SelectableField, s conversion.Scope) error
Convert_v1_SelectableField_To_apiextensions_SelectableField is an autogenerated conversion function.
func Convert_v1_ServiceReference_To_apiextensions_ServiceReference ¶
func Convert_v1_ServiceReference_To_apiextensions_ServiceReference(in *ServiceReference, out *apiextensions.ServiceReference, s conversion.Scope) error
Convert_v1_ServiceReference_To_apiextensions_ServiceReference is an autogenerated conversion function.
func Convert_v1_ValidationRule_To_apiextensions_ValidationRule ¶ added in v0.23.0
func Convert_v1_ValidationRule_To_apiextensions_ValidationRule(in *ValidationRule, out *apiextensions.ValidationRule, s conversion.Scope) error
Convert_v1_ValidationRule_To_apiextensions_ValidationRule is an autogenerated conversion function.
func Convert_v1_WebhookClientConfig_To_apiextensions_WebhookClientConfig ¶
func Convert_v1_WebhookClientConfig_To_apiextensions_WebhookClientConfig(in *WebhookClientConfig, out *apiextensions.WebhookClientConfig, s conversion.Scope) error
Convert_v1_WebhookClientConfig_To_apiextensions_WebhookClientConfig is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
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 back a Group qualified GroupResource
func SetDefaults_CustomResourceDefinition ¶
func SetDefaults_CustomResourceDefinition(obj *CustomResourceDefinition)
func SetDefaults_CustomResourceDefinitionSpec ¶
func SetDefaults_CustomResourceDefinitionSpec(obj *CustomResourceDefinitionSpec)
func SetDefaults_ServiceReference ¶
func SetDefaults_ServiceReference(obj *ServiceReference)
SetDefaults_ServiceReference sets defaults for Webhook's ServiceReference
func SetObjectDefaults_CustomResourceDefinition ¶
func SetObjectDefaults_CustomResourceDefinition(in *CustomResourceDefinition)
func SetObjectDefaults_CustomResourceDefinitionList ¶
func SetObjectDefaults_CustomResourceDefinitionList(in *CustomResourceDefinitionList)
Types ¶
type ConditionStatus ¶
type ConditionStatus string
const ( ConditionTrue ConditionStatus = "True" ConditionFalse ConditionStatus = "False" ConditionUnknown ConditionStatus = "Unknown" )
These are valid condition statuses. "ConditionTrue" means a resource is in the condition. "ConditionFalse" means a resource is not in the condition. "ConditionUnknown" means kubernetes can't decide if a resource is in the condition or not. In the future, we could add other intermediate conditions, e.g. ConditionDegraded.
type ConversionRequest ¶
type ConversionRequest struct { // uid is an identifier for the individual request/response. It allows distinguishing instances of requests which are // otherwise identical (parallel requests, etc). // The UID is meant to track the round trip (request/response) between the Kubernetes API server and the webhook, not the user request. // It is suitable for correlating log entries between the webhook and apiserver, for either auditing or debugging. UID types.UID `json:"uid" protobuf:"bytes,1,name=uid"` // desiredAPIVersion is the version to convert given objects to. e.g. "myapi.example.com/v1" DesiredAPIVersion string `json:"desiredAPIVersion" protobuf:"bytes,2,name=desiredAPIVersion"` // objects is the list of custom resource objects to be converted. // +listType=atomic Objects []runtime.RawExtension `json:"objects" protobuf:"bytes,3,rep,name=objects"` }
ConversionRequest describes the conversion request parameters.
func (*ConversionRequest) DeepCopy ¶
func (in *ConversionRequest) DeepCopy() *ConversionRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConversionRequest.
func (*ConversionRequest) DeepCopyInto ¶
func (in *ConversionRequest) DeepCopyInto(out *ConversionRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConversionRequest) Descriptor ¶
func (*ConversionRequest) Descriptor() ([]byte, []int)
func (*ConversionRequest) Marshal ¶
func (m *ConversionRequest) Marshal() (dAtA []byte, err error)
func (*ConversionRequest) MarshalTo ¶
func (m *ConversionRequest) MarshalTo(dAtA []byte) (int, error)
func (*ConversionRequest) MarshalToSizedBuffer ¶
func (m *ConversionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConversionRequest) ProtoMessage ¶
func (*ConversionRequest) ProtoMessage()
func (*ConversionRequest) Reset ¶
func (m *ConversionRequest) Reset()
func (*ConversionRequest) Size ¶
func (m *ConversionRequest) Size() (n int)
func (*ConversionRequest) String ¶
func (this *ConversionRequest) String() string
func (*ConversionRequest) Unmarshal ¶
func (m *ConversionRequest) Unmarshal(dAtA []byte) error
func (*ConversionRequest) XXX_DiscardUnknown ¶
func (m *ConversionRequest) XXX_DiscardUnknown()
func (*ConversionRequest) XXX_Marshal ¶
func (m *ConversionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConversionRequest) XXX_Merge ¶
func (m *ConversionRequest) XXX_Merge(src proto.Message)
func (*ConversionRequest) XXX_Size ¶
func (m *ConversionRequest) XXX_Size() int
func (*ConversionRequest) XXX_Unmarshal ¶
func (m *ConversionRequest) XXX_Unmarshal(b []byte) error
type ConversionResponse ¶
type ConversionResponse struct { // uid is an identifier for the individual request/response. // This should be copied over from the corresponding `request.uid`. UID types.UID `json:"uid" protobuf:"bytes,1,name=uid"` // convertedObjects is the list of converted version of `request.objects` if the `result` is successful, otherwise empty. // The webhook is expected to set `apiVersion` of these objects to the `request.desiredAPIVersion`. The list // must also have the same size as the input list with the same objects in the same order (equal kind, metadata.uid, metadata.name and metadata.namespace). // The webhook is allowed to mutate labels and annotations. Any other change to the metadata is silently ignored. // +listType=atomic ConvertedObjects []runtime.RawExtension `json:"convertedObjects" protobuf:"bytes,2,rep,name=convertedObjects"` // result contains the result of conversion with extra details if the conversion failed. `result.status` determines if // the conversion failed or succeeded. The `result.status` field is required and represents the success or failure of the // conversion. A successful conversion must set `result.status` to `Success`. A failed conversion must set // `result.status` to `Failure` and provide more details in `result.message` and return http status 200. The `result.message` // will be used to construct an error message for the end user. Result metav1.Status `json:"result" protobuf:"bytes,3,name=result"` }
ConversionResponse describes a conversion response.
func (*ConversionResponse) DeepCopy ¶
func (in *ConversionResponse) DeepCopy() *ConversionResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConversionResponse.
func (*ConversionResponse) DeepCopyInto ¶
func (in *ConversionResponse) DeepCopyInto(out *ConversionResponse)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConversionResponse) Descriptor ¶
func (*ConversionResponse) Descriptor() ([]byte, []int)
func (*ConversionResponse) Marshal ¶
func (m *ConversionResponse) Marshal() (dAtA []byte, err error)
func (*ConversionResponse) MarshalTo ¶
func (m *ConversionResponse) MarshalTo(dAtA []byte) (int, error)
func (*ConversionResponse) MarshalToSizedBuffer ¶
func (m *ConversionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConversionResponse) ProtoMessage ¶
func (*ConversionResponse) ProtoMessage()
func (*ConversionResponse) Reset ¶
func (m *ConversionResponse) Reset()
func (*ConversionResponse) Size ¶
func (m *ConversionResponse) Size() (n int)
func (*ConversionResponse) String ¶
func (this *ConversionResponse) String() string
func (*ConversionResponse) Unmarshal ¶
func (m *ConversionResponse) Unmarshal(dAtA []byte) error
func (*ConversionResponse) XXX_DiscardUnknown ¶
func (m *ConversionResponse) XXX_DiscardUnknown()
func (*ConversionResponse) XXX_Marshal ¶
func (m *ConversionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConversionResponse) XXX_Merge ¶
func (m *ConversionResponse) XXX_Merge(src proto.Message)
func (*ConversionResponse) XXX_Size ¶
func (m *ConversionResponse) XXX_Size() int
func (*ConversionResponse) XXX_Unmarshal ¶
func (m *ConversionResponse) XXX_Unmarshal(b []byte) error
type ConversionReview ¶
type ConversionReview struct { metav1.TypeMeta `json:",inline"` // request describes the attributes for the conversion request. // +optional Request *ConversionRequest `json:"request,omitempty" protobuf:"bytes,1,opt,name=request"` // response describes the attributes for the conversion response. // +optional Response *ConversionResponse `json:"response,omitempty" protobuf:"bytes,2,opt,name=response"` }
ConversionReview describes a conversion request/response.
func (*ConversionReview) APILifecycleIntroduced ¶ added in v0.31.0
func (in *ConversionReview) APILifecycleIntroduced() (major, minor int)
APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
func (*ConversionReview) DeepCopy ¶
func (in *ConversionReview) DeepCopy() *ConversionReview
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConversionReview.
func (*ConversionReview) DeepCopyInto ¶
func (in *ConversionReview) DeepCopyInto(out *ConversionReview)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConversionReview) DeepCopyObject ¶
func (in *ConversionReview) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ConversionReview) Descriptor ¶
func (*ConversionReview) Descriptor() ([]byte, []int)
func (*ConversionReview) Marshal ¶
func (m *ConversionReview) Marshal() (dAtA []byte, err error)
func (*ConversionReview) MarshalToSizedBuffer ¶
func (m *ConversionReview) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConversionReview) ProtoMessage ¶
func (*ConversionReview) ProtoMessage()
func (*ConversionReview) Reset ¶
func (m *ConversionReview) Reset()
func (*ConversionReview) Size ¶
func (m *ConversionReview) Size() (n int)
func (*ConversionReview) String ¶
func (this *ConversionReview) String() string
func (*ConversionReview) Unmarshal ¶
func (m *ConversionReview) Unmarshal(dAtA []byte) error
func (*ConversionReview) XXX_DiscardUnknown ¶
func (m *ConversionReview) XXX_DiscardUnknown()
func (*ConversionReview) XXX_Marshal ¶
func (m *ConversionReview) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConversionReview) XXX_Merge ¶
func (m *ConversionReview) XXX_Merge(src proto.Message)
func (*ConversionReview) XXX_Size ¶
func (m *ConversionReview) XXX_Size() int
func (*ConversionReview) XXX_Unmarshal ¶
func (m *ConversionReview) XXX_Unmarshal(b []byte) error
type ConversionStrategyType ¶
type ConversionStrategyType string
ConversionStrategyType describes different conversion types.
const ( // KubeAPIApprovedAnnotation is an annotation that must be set to create a CRD for the k8s.io, *.k8s.io, kubernetes.io, or *.kubernetes.io namespaces. // The value should be a link to a URL where the current spec was approved, so updates to the spec should also update the URL. // If the API is unapproved, you may set the annotation to a string starting with `"unapproved"`. For instance, `"unapproved, temporarily squatting"` or `"unapproved, experimental-only"`. This is discouraged. KubeAPIApprovedAnnotation = "api-approved.kubernetes.io" // NoneConverter is a converter that only sets apiversion of the CR and leave everything else unchanged. NoneConverter ConversionStrategyType = "None" // WebhookConverter is a converter that calls to an external webhook to convert the CR. WebhookConverter ConversionStrategyType = "Webhook" )
type CustomResourceColumnDefinition ¶
type CustomResourceColumnDefinition struct { // name is a human readable name for the column. Name string `json:"name" protobuf:"bytes,1,opt,name=name"` // type is an OpenAPI type definition for this column. // See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details. Type string `json:"type" protobuf:"bytes,2,opt,name=type"` // format is an optional OpenAPI type definition for this column. The 'name' format is applied // to the primary identifier column to assist in clients identifying column is the resource name. // See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details. // +optional Format string `json:"format,omitempty" protobuf:"bytes,3,opt,name=format"` // description is a human readable description of this column. // +optional Description string `json:"description,omitempty" protobuf:"bytes,4,opt,name=description"` // priority is an integer defining the relative importance of this column compared to others. Lower // numbers are considered higher priority. Columns that may be omitted in limited space scenarios // should be given a priority greater than 0. // +optional Priority int32 `json:"priority,omitempty" protobuf:"bytes,5,opt,name=priority"` // jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against // each custom resource to produce the value for this column. JSONPath string `json:"jsonPath" protobuf:"bytes,6,opt,name=jsonPath"` }
CustomResourceColumnDefinition specifies a column for server side printing.
func (*CustomResourceColumnDefinition) DeepCopy ¶
func (in *CustomResourceColumnDefinition) DeepCopy() *CustomResourceColumnDefinition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceColumnDefinition.
func (*CustomResourceColumnDefinition) DeepCopyInto ¶
func (in *CustomResourceColumnDefinition) DeepCopyInto(out *CustomResourceColumnDefinition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CustomResourceColumnDefinition) Descriptor ¶
func (*CustomResourceColumnDefinition) Descriptor() ([]byte, []int)
func (*CustomResourceColumnDefinition) Marshal ¶
func (m *CustomResourceColumnDefinition) Marshal() (dAtA []byte, err error)
func (*CustomResourceColumnDefinition) MarshalTo ¶
func (m *CustomResourceColumnDefinition) MarshalTo(dAtA []byte) (int, error)
func (*CustomResourceColumnDefinition) MarshalToSizedBuffer ¶
func (m *CustomResourceColumnDefinition) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CustomResourceColumnDefinition) ProtoMessage ¶
func (*CustomResourceColumnDefinition) ProtoMessage()
func (*CustomResourceColumnDefinition) Reset ¶
func (m *CustomResourceColumnDefinition) Reset()
func (*CustomResourceColumnDefinition) Size ¶
func (m *CustomResourceColumnDefinition) Size() (n int)
func (*CustomResourceColumnDefinition) String ¶
func (this *CustomResourceColumnDefinition) String() string
func (*CustomResourceColumnDefinition) Unmarshal ¶
func (m *CustomResourceColumnDefinition) Unmarshal(dAtA []byte) error
func (*CustomResourceColumnDefinition) XXX_DiscardUnknown ¶
func (m *CustomResourceColumnDefinition) XXX_DiscardUnknown()
func (*CustomResourceColumnDefinition) XXX_Marshal ¶
func (m *CustomResourceColumnDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CustomResourceColumnDefinition) XXX_Merge ¶
func (m *CustomResourceColumnDefinition) XXX_Merge(src proto.Message)
func (*CustomResourceColumnDefinition) XXX_Size ¶
func (m *CustomResourceColumnDefinition) XXX_Size() int
func (*CustomResourceColumnDefinition) XXX_Unmarshal ¶
func (m *CustomResourceColumnDefinition) XXX_Unmarshal(b []byte) error
type CustomResourceConversion ¶
type CustomResourceConversion struct { // strategy specifies how custom resources are converted between versions. Allowed values are: // - `"None"`: The converter only change the apiVersion and would not touch any other field in the custom resource. // - `"Webhook"`: API Server will call to an external webhook to do the conversion. Additional information // is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set. Strategy ConversionStrategyType `json:"strategy" protobuf:"bytes,1,name=strategy"` // webhook describes how to call the conversion webhook. Required when `strategy` is set to `"Webhook"`. // +optional Webhook *WebhookConversion `json:"webhook,omitempty" protobuf:"bytes,2,opt,name=webhook"` }
CustomResourceConversion describes how to convert different versions of a CR.
func (*CustomResourceConversion) DeepCopy ¶
func (in *CustomResourceConversion) DeepCopy() *CustomResourceConversion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceConversion.
func (*CustomResourceConversion) DeepCopyInto ¶
func (in *CustomResourceConversion) DeepCopyInto(out *CustomResourceConversion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CustomResourceConversion) Descriptor ¶
func (*CustomResourceConversion) Descriptor() ([]byte, []int)
func (*CustomResourceConversion) Marshal ¶
func (m *CustomResourceConversion) Marshal() (dAtA []byte, err error)
func (*CustomResourceConversion) MarshalTo ¶
func (m *CustomResourceConversion) MarshalTo(dAtA []byte) (int, error)
func (*CustomResourceConversion) MarshalToSizedBuffer ¶
func (m *CustomResourceConversion) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CustomResourceConversion) ProtoMessage ¶
func (*CustomResourceConversion) ProtoMessage()
func (*CustomResourceConversion) Reset ¶
func (m *CustomResourceConversion) Reset()
func (*CustomResourceConversion) Size ¶
func (m *CustomResourceConversion) Size() (n int)
func (*CustomResourceConversion) String ¶
func (this *CustomResourceConversion) String() string
func (*CustomResourceConversion) Unmarshal ¶
func (m *CustomResourceConversion) Unmarshal(dAtA []byte) error
func (*CustomResourceConversion) XXX_DiscardUnknown ¶
func (m *CustomResourceConversion) XXX_DiscardUnknown()
func (*CustomResourceConversion) XXX_Marshal ¶
func (m *CustomResourceConversion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CustomResourceConversion) XXX_Merge ¶
func (m *CustomResourceConversion) XXX_Merge(src proto.Message)
func (*CustomResourceConversion) XXX_Size ¶
func (m *CustomResourceConversion) XXX_Size() int
func (*CustomResourceConversion) XXX_Unmarshal ¶
func (m *CustomResourceConversion) XXX_Unmarshal(b []byte) error
type CustomResourceDefinition ¶
type CustomResourceDefinition struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // spec describes how the user wants the resources to appear Spec CustomResourceDefinitionSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"` // status indicates the actual state of the CustomResourceDefinition // +optional Status CustomResourceDefinitionStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.
func (*CustomResourceDefinition) APILifecycleIntroduced ¶ added in v0.31.0
func (in *CustomResourceDefinition) APILifecycleIntroduced() (major, minor int)
APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
func (*CustomResourceDefinition) DeepCopy ¶
func (in *CustomResourceDefinition) DeepCopy() *CustomResourceDefinition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinition.
func (*CustomResourceDefinition) DeepCopyInto ¶
func (in *CustomResourceDefinition) DeepCopyInto(out *CustomResourceDefinition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CustomResourceDefinition) DeepCopyObject ¶
func (in *CustomResourceDefinition) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CustomResourceDefinition) Descriptor ¶
func (*CustomResourceDefinition) Descriptor() ([]byte, []int)
func (*CustomResourceDefinition) Marshal ¶
func (m *CustomResourceDefinition) Marshal() (dAtA []byte, err error)
func (*CustomResourceDefinition) MarshalTo ¶
func (m *CustomResourceDefinition) MarshalTo(dAtA []byte) (int, error)
func (*CustomResourceDefinition) MarshalToSizedBuffer ¶
func (m *CustomResourceDefinition) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CustomResourceDefinition) ProtoMessage ¶
func (*CustomResourceDefinition) ProtoMessage()
func (*CustomResourceDefinition) Reset ¶
func (m *CustomResourceDefinition) Reset()
func (*CustomResourceDefinition) Size ¶
func (m *CustomResourceDefinition) Size() (n int)
func (*CustomResourceDefinition) String ¶
func (this *CustomResourceDefinition) String() string
func (*CustomResourceDefinition) Unmarshal ¶
func (m *CustomResourceDefinition) Unmarshal(dAtA []byte) error
func (*CustomResourceDefinition) XXX_DiscardUnknown ¶
func (m *CustomResourceDefinition) XXX_DiscardUnknown()
func (*CustomResourceDefinition) XXX_Marshal ¶
func (m *CustomResourceDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CustomResourceDefinition) XXX_Merge ¶
func (m *CustomResourceDefinition) XXX_Merge(src proto.Message)
func (*CustomResourceDefinition) XXX_Size ¶
func (m *CustomResourceDefinition) XXX_Size() int
func (*CustomResourceDefinition) XXX_Unmarshal ¶
func (m *CustomResourceDefinition) XXX_Unmarshal(b []byte) error
type CustomResourceDefinitionCondition ¶
type CustomResourceDefinitionCondition struct { // type is the type of the condition. Types include Established, NamesAccepted and Terminating. Type CustomResourceDefinitionConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=CustomResourceDefinitionConditionType"` // status is the status of the condition. // Can be True, False, Unknown. Status ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=ConditionStatus"` // lastTransitionTime last time the condition transitioned from one status to another. // +optional LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,3,opt,name=lastTransitionTime"` // reason is a unique, one-word, CamelCase reason for the condition's last transition. // +optional Reason string `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason"` // message is a human-readable message indicating details about last transition. // +optional Message string `json:"message,omitempty" protobuf:"bytes,5,opt,name=message"` }
CustomResourceDefinitionCondition contains details for the current condition of this pod.
func (*CustomResourceDefinitionCondition) DeepCopy ¶
func (in *CustomResourceDefinitionCondition) DeepCopy() *CustomResourceDefinitionCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionCondition.
func (*CustomResourceDefinitionCondition) DeepCopyInto ¶
func (in *CustomResourceDefinitionCondition) DeepCopyInto(out *CustomResourceDefinitionCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CustomResourceDefinitionCondition) Descriptor ¶
func (*CustomResourceDefinitionCondition) Descriptor() ([]byte, []int)
func (*CustomResourceDefinitionCondition) Marshal ¶
func (m *CustomResourceDefinitionCondition) Marshal() (dAtA []byte, err error)
func (*CustomResourceDefinitionCondition) MarshalTo ¶
func (m *CustomResourceDefinitionCondition) MarshalTo(dAtA []byte) (int, error)
func (*CustomResourceDefinitionCondition) MarshalToSizedBuffer ¶
func (m *CustomResourceDefinitionCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CustomResourceDefinitionCondition) ProtoMessage ¶
func (*CustomResourceDefinitionCondition) ProtoMessage()
func (*CustomResourceDefinitionCondition) Reset ¶
func (m *CustomResourceDefinitionCondition) Reset()
func (*CustomResourceDefinitionCondition) Size ¶
func (m *CustomResourceDefinitionCondition) Size() (n int)
func (*CustomResourceDefinitionCondition) String ¶
func (this *CustomResourceDefinitionCondition) String() string
func (*CustomResourceDefinitionCondition) Unmarshal ¶
func (m *CustomResourceDefinitionCondition) Unmarshal(dAtA []byte) error
func (*CustomResourceDefinitionCondition) XXX_DiscardUnknown ¶
func (m *CustomResourceDefinitionCondition) XXX_DiscardUnknown()
func (*CustomResourceDefinitionCondition) XXX_Marshal ¶
func (m *CustomResourceDefinitionCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CustomResourceDefinitionCondition) XXX_Merge ¶
func (m *CustomResourceDefinitionCondition) XXX_Merge(src proto.Message)
func (*CustomResourceDefinitionCondition) XXX_Size ¶
func (m *CustomResourceDefinitionCondition) XXX_Size() int
func (*CustomResourceDefinitionCondition) XXX_Unmarshal ¶
func (m *CustomResourceDefinitionCondition) XXX_Unmarshal(b []byte) error
type CustomResourceDefinitionConditionType ¶
type CustomResourceDefinitionConditionType string
CustomResourceDefinitionConditionType is a valid value for CustomResourceDefinitionCondition.Type
const ( // Established means that the resource has become active. A resource is established when all names are // accepted without a conflict for the first time. A resource stays established until deleted, even during // a later NamesAccepted due to changed names. Note that not all names can be changed. Established CustomResourceDefinitionConditionType = "Established" // NamesAccepted means the names chosen for this CustomResourceDefinition do not conflict with others in // the group and are therefore accepted. NamesAccepted CustomResourceDefinitionConditionType = "NamesAccepted" // NonStructuralSchema means that one or more OpenAPI schema is not structural. // // A schema is structural if it specifies types for all values, with the only exceptions of those with // - x-kubernetes-int-or-string: true — for fields which can be integer or string // - x-kubernetes-preserve-unknown-fields: true — for raw, unspecified JSON values // and there is no type, additionalProperties, default, nullable or x-kubernetes-* vendor extenions // specified under allOf, anyOf, oneOf or not. // // Non-structural schemas will not be allowed anymore in v1 API groups. Moreover, new features will not be // available for non-structural CRDs: // - pruning // - defaulting // - read-only // - OpenAPI publishing // - webhook conversion NonStructuralSchema CustomResourceDefinitionConditionType = "NonStructuralSchema" // Terminating means that the CustomResourceDefinition has been deleted and is cleaning up. Terminating CustomResourceDefinitionConditionType = "Terminating" // KubernetesAPIApprovalPolicyConformant indicates that an API in *.k8s.io or *.kubernetes.io is or is not approved. For CRDs // outside those groups, this condition will not be set. For CRDs inside those groups, the condition will // be true if .metadata.annotations["api-approved.kubernetes.io"] is set to a URL, otherwise it will be false. // See https://github.com/kubernetes/enhancements/pull/1111 for more details. KubernetesAPIApprovalPolicyConformant CustomResourceDefinitionConditionType = "KubernetesAPIApprovalPolicyConformant" )
type CustomResourceDefinitionList ¶
type CustomResourceDefinitionList struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // items list individual CustomResourceDefinition objects Items []CustomResourceDefinition `json:"items" protobuf:"bytes,2,rep,name=items"` }
CustomResourceDefinitionList is a list of CustomResourceDefinition objects.
func (*CustomResourceDefinitionList) APILifecycleIntroduced ¶ added in v0.31.0
func (in *CustomResourceDefinitionList) APILifecycleIntroduced() (major, minor int)
APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
func (*CustomResourceDefinitionList) DeepCopy ¶
func (in *CustomResourceDefinitionList) DeepCopy() *CustomResourceDefinitionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionList.
func (*CustomResourceDefinitionList) DeepCopyInto ¶
func (in *CustomResourceDefinitionList) DeepCopyInto(out *CustomResourceDefinitionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CustomResourceDefinitionList) DeepCopyObject ¶
func (in *CustomResourceDefinitionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CustomResourceDefinitionList) Descriptor ¶
func (*CustomResourceDefinitionList) Descriptor() ([]byte, []int)
func (*CustomResourceDefinitionList) Marshal ¶
func (m *CustomResourceDefinitionList) Marshal() (dAtA []byte, err error)
func (*CustomResourceDefinitionList) MarshalTo ¶
func (m *CustomResourceDefinitionList) MarshalTo(dAtA []byte) (int, error)
func (*CustomResourceDefinitionList) MarshalToSizedBuffer ¶
func (m *CustomResourceDefinitionList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CustomResourceDefinitionList) ProtoMessage ¶
func (*CustomResourceDefinitionList) ProtoMessage()
func (*CustomResourceDefinitionList) Reset ¶
func (m *CustomResourceDefinitionList) Reset()
func (*CustomResourceDefinitionList) Size ¶
func (m *CustomResourceDefinitionList) Size() (n int)
func (*CustomResourceDefinitionList) String ¶
func (this *CustomResourceDefinitionList) String() string
func (*CustomResourceDefinitionList) Unmarshal ¶
func (m *CustomResourceDefinitionList) Unmarshal(dAtA []byte) error
func (*CustomResourceDefinitionList) XXX_DiscardUnknown ¶
func (m *CustomResourceDefinitionList) XXX_DiscardUnknown()
func (*CustomResourceDefinitionList) XXX_Marshal ¶
func (m *CustomResourceDefinitionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CustomResourceDefinitionList) XXX_Merge ¶
func (m *CustomResourceDefinitionList) XXX_Merge(src proto.Message)
func (*CustomResourceDefinitionList) XXX_Size ¶
func (m *CustomResourceDefinitionList) XXX_Size() int
func (*CustomResourceDefinitionList) XXX_Unmarshal ¶
func (m *CustomResourceDefinitionList) XXX_Unmarshal(b []byte) error
type CustomResourceDefinitionNames ¶
type CustomResourceDefinitionNames struct { // plural is the plural name of the resource to serve. // The custom resources are served under `/apis/<group>/<version>/.../<plural>`. // Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`). // Must be all lowercase. Plural string `json:"plural" protobuf:"bytes,1,opt,name=plural"` // singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`. // +optional Singular string `json:"singular,omitempty" protobuf:"bytes,2,opt,name=singular"` // shortNames are short names for the resource, exposed in API discovery documents, // and used by clients to support invocations like `kubectl get <shortname>`. // It must be all lowercase. // +optional // +listType=atomic ShortNames []string `json:"shortNames,omitempty" protobuf:"bytes,3,opt,name=shortNames"` // kind is the serialized kind of the resource. It is normally CamelCase and singular. // Custom resource instances will use this value as the `kind` attribute in API calls. Kind string `json:"kind" protobuf:"bytes,4,opt,name=kind"` // listKind is the serialized kind of the list for this resource. Defaults to "`kind`List". // +optional ListKind string `json:"listKind,omitempty" protobuf:"bytes,5,opt,name=listKind"` // categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). // This is published in API discovery documents, and used by clients to support invocations like // `kubectl get all`. // +optional // +listType=atomic Categories []string `json:"categories,omitempty" protobuf:"bytes,6,rep,name=categories"` }
CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition
func (*CustomResourceDefinitionNames) DeepCopy ¶
func (in *CustomResourceDefinitionNames) DeepCopy() *CustomResourceDefinitionNames
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionNames.
func (*CustomResourceDefinitionNames) DeepCopyInto ¶
func (in *CustomResourceDefinitionNames) DeepCopyInto(out *CustomResourceDefinitionNames)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CustomResourceDefinitionNames) Descriptor ¶
func (*CustomResourceDefinitionNames) Descriptor() ([]byte, []int)
func (*CustomResourceDefinitionNames) Marshal ¶
func (m *CustomResourceDefinitionNames) Marshal() (dAtA []byte, err error)
func (*CustomResourceDefinitionNames) MarshalTo ¶
func (m *CustomResourceDefinitionNames) MarshalTo(dAtA []byte) (int, error)
func (*CustomResourceDefinitionNames) MarshalToSizedBuffer ¶
func (m *CustomResourceDefinitionNames) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CustomResourceDefinitionNames) ProtoMessage ¶
func (*CustomResourceDefinitionNames) ProtoMessage()
func (*CustomResourceDefinitionNames) Reset ¶
func (m *CustomResourceDefinitionNames) Reset()
func (*CustomResourceDefinitionNames) Size ¶
func (m *CustomResourceDefinitionNames) Size() (n int)
func (*CustomResourceDefinitionNames) String ¶
func (this *CustomResourceDefinitionNames) String() string
func (*CustomResourceDefinitionNames) Unmarshal ¶
func (m *CustomResourceDefinitionNames) Unmarshal(dAtA []byte) error
func (*CustomResourceDefinitionNames) XXX_DiscardUnknown ¶
func (m *CustomResourceDefinitionNames) XXX_DiscardUnknown()
func (*CustomResourceDefinitionNames) XXX_Marshal ¶
func (m *CustomResourceDefinitionNames) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CustomResourceDefinitionNames) XXX_Merge ¶
func (m *CustomResourceDefinitionNames) XXX_Merge(src proto.Message)
func (*CustomResourceDefinitionNames) XXX_Size ¶
func (m *CustomResourceDefinitionNames) XXX_Size() int
func (*CustomResourceDefinitionNames) XXX_Unmarshal ¶
func (m *CustomResourceDefinitionNames) XXX_Unmarshal(b []byte) error
type CustomResourceDefinitionSpec ¶
type CustomResourceDefinitionSpec struct { // group is the API group of the defined custom resource. // The custom resources are served under `/apis/<group>/...`. // Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`). Group string `json:"group" protobuf:"bytes,1,opt,name=group"` // names specify the resource and kind names for the custom resource. Names CustomResourceDefinitionNames `json:"names" protobuf:"bytes,3,opt,name=names"` // scope indicates whether the defined custom resource is cluster- or namespace-scoped. // Allowed values are `Cluster` and `Namespaced`. Scope ResourceScope `json:"scope" protobuf:"bytes,4,opt,name=scope,casttype=ResourceScope"` // versions is the list of all API versions of the defined custom resource. // Version names are used to compute the order in which served versions are listed in API discovery. // If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered // lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), // then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first // by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing // major version, then minor version. An example sorted list of versions: // v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. // +listType=atomic Versions []CustomResourceDefinitionVersion `json:"versions" protobuf:"bytes,7,rep,name=versions"` // conversion defines conversion settings for the CRD. // +optional Conversion *CustomResourceConversion `json:"conversion,omitempty" protobuf:"bytes,9,opt,name=conversion"` // preserveUnknownFields indicates that object fields which are not specified // in the OpenAPI schema should be preserved when persisting to storage. // apiVersion, kind, metadata and known fields inside metadata are always preserved. // This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. // See https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#field-pruning for details. // +optional PreserveUnknownFields bool `json:"preserveUnknownFields,omitempty" protobuf:"varint,10,opt,name=preserveUnknownFields"` }
CustomResourceDefinitionSpec describes how a user wants their resource to appear
func (*CustomResourceDefinitionSpec) DeepCopy ¶
func (in *CustomResourceDefinitionSpec) DeepCopy() *CustomResourceDefinitionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionSpec.
func (*CustomResourceDefinitionSpec) DeepCopyInto ¶
func (in *CustomResourceDefinitionSpec) DeepCopyInto(out *CustomResourceDefinitionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CustomResourceDefinitionSpec) Descriptor ¶
func (*CustomResourceDefinitionSpec) Descriptor() ([]byte, []int)
func (*CustomResourceDefinitionSpec) Marshal ¶
func (m *CustomResourceDefinitionSpec) Marshal() (dAtA []byte, err error)
func (*CustomResourceDefinitionSpec) MarshalTo ¶
func (m *CustomResourceDefinitionSpec) MarshalTo(dAtA []byte) (int, error)
func (*CustomResourceDefinitionSpec) MarshalToSizedBuffer ¶
func (m *CustomResourceDefinitionSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CustomResourceDefinitionSpec) ProtoMessage ¶
func (*CustomResourceDefinitionSpec) ProtoMessage()
func (*CustomResourceDefinitionSpec) Reset ¶
func (m *CustomResourceDefinitionSpec) Reset()
func (*CustomResourceDefinitionSpec) Size ¶
func (m *CustomResourceDefinitionSpec) Size() (n int)
func (*CustomResourceDefinitionSpec) String ¶
func (this *CustomResourceDefinitionSpec) String() string
func (*CustomResourceDefinitionSpec) Unmarshal ¶
func (m *CustomResourceDefinitionSpec) Unmarshal(dAtA []byte) error
func (*CustomResourceDefinitionSpec) XXX_DiscardUnknown ¶
func (m *CustomResourceDefinitionSpec) XXX_DiscardUnknown()
func (*CustomResourceDefinitionSpec) XXX_Marshal ¶
func (m *CustomResourceDefinitionSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CustomResourceDefinitionSpec) XXX_Merge ¶
func (m *CustomResourceDefinitionSpec) XXX_Merge(src proto.Message)
func (*CustomResourceDefinitionSpec) XXX_Size ¶
func (m *CustomResourceDefinitionSpec) XXX_Size() int
func (*CustomResourceDefinitionSpec) XXX_Unmarshal ¶
func (m *CustomResourceDefinitionSpec) XXX_Unmarshal(b []byte) error
type CustomResourceDefinitionStatus ¶
type CustomResourceDefinitionStatus struct { // conditions indicate state for particular aspects of a CustomResourceDefinition // +optional // +listType=map // +listMapKey=type Conditions []CustomResourceDefinitionCondition `json:"conditions" protobuf:"bytes,1,opt,name=conditions"` // acceptedNames are the names that are actually being used to serve discovery. // They may be different than the names in spec. // +optional AcceptedNames CustomResourceDefinitionNames `json:"acceptedNames" protobuf:"bytes,2,opt,name=acceptedNames"` // storedVersions lists all versions of CustomResources that were ever persisted. Tracking these // versions allows a migration path for stored versions in etcd. The field is mutable // so a migration controller can finish a migration to another version (ensuring // no old objects are left in storage), and then remove the rest of the // versions from this list. // Versions may not be removed from `spec.versions` while they exist in this list. // +optional // +listType=atomic StoredVersions []string `json:"storedVersions" protobuf:"bytes,3,rep,name=storedVersions"` }
CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition
func (*CustomResourceDefinitionStatus) DeepCopy ¶
func (in *CustomResourceDefinitionStatus) DeepCopy() *CustomResourceDefinitionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionStatus.
func (*CustomResourceDefinitionStatus) DeepCopyInto ¶
func (in *CustomResourceDefinitionStatus) DeepCopyInto(out *CustomResourceDefinitionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CustomResourceDefinitionStatus) Descriptor ¶
func (*CustomResourceDefinitionStatus) Descriptor() ([]byte, []int)
func (*CustomResourceDefinitionStatus) Marshal ¶
func (m *CustomResourceDefinitionStatus) Marshal() (dAtA []byte, err error)
func (*CustomResourceDefinitionStatus) MarshalTo ¶
func (m *CustomResourceDefinitionStatus) MarshalTo(dAtA []byte) (int, error)
func (*CustomResourceDefinitionStatus) MarshalToSizedBuffer ¶
func (m *CustomResourceDefinitionStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CustomResourceDefinitionStatus) ProtoMessage ¶
func (*CustomResourceDefinitionStatus) ProtoMessage()
func (*CustomResourceDefinitionStatus) Reset ¶
func (m *CustomResourceDefinitionStatus) Reset()
func (*CustomResourceDefinitionStatus) Size ¶
func (m *CustomResourceDefinitionStatus) Size() (n int)
func (*CustomResourceDefinitionStatus) String ¶
func (this *CustomResourceDefinitionStatus) String() string
func (*CustomResourceDefinitionStatus) Unmarshal ¶
func (m *CustomResourceDefinitionStatus) Unmarshal(dAtA []byte) error
func (*CustomResourceDefinitionStatus) XXX_DiscardUnknown ¶
func (m *CustomResourceDefinitionStatus) XXX_DiscardUnknown()
func (*CustomResourceDefinitionStatus) XXX_Marshal ¶
func (m *CustomResourceDefinitionStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CustomResourceDefinitionStatus) XXX_Merge ¶
func (m *CustomResourceDefinitionStatus) XXX_Merge(src proto.Message)
func (*CustomResourceDefinitionStatus) XXX_Size ¶
func (m *CustomResourceDefinitionStatus) XXX_Size() int
func (*CustomResourceDefinitionStatus) XXX_Unmarshal ¶
func (m *CustomResourceDefinitionStatus) XXX_Unmarshal(b []byte) error
type CustomResourceDefinitionVersion ¶
type CustomResourceDefinitionVersion struct { // name is the version name, e.g. “v1”, “v2beta1”, etc. // The custom resources are served under this version at `/apis/<group>/<version>/...` if `served` is true. Name string `json:"name" protobuf:"bytes,1,opt,name=name"` // served is a flag enabling/disabling this version from being served via REST APIs Served bool `json:"served" protobuf:"varint,2,opt,name=served"` // storage indicates this version should be used when persisting custom resources to storage. // There must be exactly one version with storage=true. Storage bool `json:"storage" protobuf:"varint,3,opt,name=storage"` // deprecated indicates this version of the custom resource API is deprecated. // When set to true, API requests to this version receive a warning header in the server response. // Defaults to false. // +optional Deprecated bool `json:"deprecated,omitempty" protobuf:"varint,7,opt,name=deprecated"` // deprecationWarning overrides the default warning returned to API clients. // May only be set when `deprecated` is true. // The default warning indicates this version is deprecated and recommends use // of the newest served version of equal or greater stability, if one exists. // +optional DeprecationWarning *string `json:"deprecationWarning,omitempty" protobuf:"bytes,8,opt,name=deprecationWarning"` // schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource. // +optional Schema *CustomResourceValidation `json:"schema,omitempty" protobuf:"bytes,4,opt,name=schema"` // subresources specify what subresources this version of the defined custom resource have. // +optional Subresources *CustomResourceSubresources `json:"subresources,omitempty" protobuf:"bytes,5,opt,name=subresources"` // additionalPrinterColumns specifies additional columns returned in Table output. // See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. // If no columns are specified, a single column displaying the age of the custom resource is used. // +optional // +listType=atomic AdditionalPrinterColumns []CustomResourceColumnDefinition `json:"additionalPrinterColumns,omitempty" protobuf:"bytes,6,rep,name=additionalPrinterColumns"` // selectableFields specifies paths to fields that may be used as field selectors. // A maximum of 8 selectable fields are allowed. // See https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors // // +featureGate=CustomResourceFieldSelectors // +optional // +listType=atomic SelectableFields []SelectableField `json:"selectableFields,omitempty" protobuf:"bytes,9,rep,name=selectableFields"` }
CustomResourceDefinitionVersion describes a version for CRD.
func (*CustomResourceDefinitionVersion) DeepCopy ¶
func (in *CustomResourceDefinitionVersion) DeepCopy() *CustomResourceDefinitionVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionVersion.
func (*CustomResourceDefinitionVersion) DeepCopyInto ¶
func (in *CustomResourceDefinitionVersion) DeepCopyInto(out *CustomResourceDefinitionVersion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CustomResourceDefinitionVersion) Descriptor ¶
func (*CustomResourceDefinitionVersion) Descriptor() ([]byte, []int)
func (*CustomResourceDefinitionVersion) Marshal ¶
func (m *CustomResourceDefinitionVersion) Marshal() (dAtA []byte, err error)
func (*CustomResourceDefinitionVersion) MarshalTo ¶
func (m *CustomResourceDefinitionVersion) MarshalTo(dAtA []byte) (int, error)
func (*CustomResourceDefinitionVersion) MarshalToSizedBuffer ¶
func (m *CustomResourceDefinitionVersion) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CustomResourceDefinitionVersion) ProtoMessage ¶
func (*CustomResourceDefinitionVersion) ProtoMessage()
func (*CustomResourceDefinitionVersion) Reset ¶
func (m *CustomResourceDefinitionVersion) Reset()
func (*CustomResourceDefinitionVersion) Size ¶
func (m *CustomResourceDefinitionVersion) Size() (n int)
func (*CustomResourceDefinitionVersion) String ¶
func (this *CustomResourceDefinitionVersion) String() string
func (*CustomResourceDefinitionVersion) Unmarshal ¶
func (m *CustomResourceDefinitionVersion) Unmarshal(dAtA []byte) error
func (*CustomResourceDefinitionVersion) XXX_DiscardUnknown ¶
func (m *CustomResourceDefinitionVersion) XXX_DiscardUnknown()
func (*CustomResourceDefinitionVersion) XXX_Marshal ¶
func (m *CustomResourceDefinitionVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CustomResourceDefinitionVersion) XXX_Merge ¶
func (m *CustomResourceDefinitionVersion) XXX_Merge(src proto.Message)
func (*CustomResourceDefinitionVersion) XXX_Size ¶
func (m *CustomResourceDefinitionVersion) XXX_Size() int
func (*CustomResourceDefinitionVersion) XXX_Unmarshal ¶
func (m *CustomResourceDefinitionVersion) XXX_Unmarshal(b []byte) error
type CustomResourceSubresourceScale ¶
type CustomResourceSubresourceScale struct { // specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. // Only JSON paths without the array notation are allowed. // Must be a JSON Path under `.spec`. // If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET. SpecReplicasPath string `json:"specReplicasPath" protobuf:"bytes,1,name=specReplicasPath"` // statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. // Only JSON paths without the array notation are allowed. // Must be a JSON Path under `.status`. // If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource // will default to 0. StatusReplicasPath string `json:"statusReplicasPath" protobuf:"bytes,2,opt,name=statusReplicasPath"` // labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. // Only JSON paths without the array notation are allowed. // Must be a JSON Path under `.status` or `.spec`. // Must be set to work with HorizontalPodAutoscaler. // The field pointed by this JSON path must be a string field (not a complex selector struct) // which contains a serialized label selector in string form. // More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource // If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` // subresource will default to the empty string. // +optional LabelSelectorPath *string `json:"labelSelectorPath,omitempty" protobuf:"bytes,3,opt,name=labelSelectorPath"` }
CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.
func (*CustomResourceSubresourceScale) DeepCopy ¶
func (in *CustomResourceSubresourceScale) DeepCopy() *CustomResourceSubresourceScale
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceSubresourceScale.
func (*CustomResourceSubresourceScale) DeepCopyInto ¶
func (in *CustomResourceSubresourceScale) DeepCopyInto(out *CustomResourceSubresourceScale)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CustomResourceSubresourceScale) Descriptor ¶
func (*CustomResourceSubresourceScale) Descriptor() ([]byte, []int)
func (*CustomResourceSubresourceScale) Marshal ¶
func (m *CustomResourceSubresourceScale) Marshal() (dAtA []byte, err error)
func (*CustomResourceSubresourceScale) MarshalTo ¶
func (m *CustomResourceSubresourceScale) MarshalTo(dAtA []byte) (int, error)
func (*CustomResourceSubresourceScale) MarshalToSizedBuffer ¶
func (m *CustomResourceSubresourceScale) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CustomResourceSubresourceScale) ProtoMessage ¶
func (*CustomResourceSubresourceScale) ProtoMessage()
func (*CustomResourceSubresourceScale) Reset ¶
func (m *CustomResourceSubresourceScale) Reset()
func (*CustomResourceSubresourceScale) Size ¶
func (m *CustomResourceSubresourceScale) Size() (n int)
func (*CustomResourceSubresourceScale) String ¶
func (this *CustomResourceSubresourceScale) String() string
func (*CustomResourceSubresourceScale) Unmarshal ¶
func (m *CustomResourceSubresourceScale) Unmarshal(dAtA []byte) error
func (*CustomResourceSubresourceScale) XXX_DiscardUnknown ¶
func (m *CustomResourceSubresourceScale) XXX_DiscardUnknown()
func (*CustomResourceSubresourceScale) XXX_Marshal ¶
func (m *CustomResourceSubresourceScale) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CustomResourceSubresourceScale) XXX_Merge ¶
func (m *CustomResourceSubresourceScale) XXX_Merge(src proto.Message)
func (*CustomResourceSubresourceScale) XXX_Size ¶
func (m *CustomResourceSubresourceScale) XXX_Size() int
func (*CustomResourceSubresourceScale) XXX_Unmarshal ¶
func (m *CustomResourceSubresourceScale) XXX_Unmarshal(b []byte) error
type CustomResourceSubresourceStatus ¶
type CustomResourceSubresourceStatus struct{}
CustomResourceSubresourceStatus defines how to serve the status subresource for CustomResources. Status is represented by the `.status` JSON path inside of a CustomResource. When set, * exposes a /status subresource for the custom resource * PUT requests to the /status subresource take a custom resource object, and ignore changes to anything except the status stanza * PUT/POST/PATCH requests to the custom resource ignore changes to the status stanza
func (*CustomResourceSubresourceStatus) DeepCopy ¶
func (in *CustomResourceSubresourceStatus) DeepCopy() *CustomResourceSubresourceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceSubresourceStatus.
func (*CustomResourceSubresourceStatus) DeepCopyInto ¶
func (in *CustomResourceSubresourceStatus) DeepCopyInto(out *CustomResourceSubresourceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CustomResourceSubresourceStatus) Descriptor ¶
func (*CustomResourceSubresourceStatus) Descriptor() ([]byte, []int)
func (*CustomResourceSubresourceStatus) Marshal ¶
func (m *CustomResourceSubresourceStatus) Marshal() (dAtA []byte, err error)
func (*CustomResourceSubresourceStatus) MarshalTo ¶
func (m *CustomResourceSubresourceStatus) MarshalTo(dAtA []byte) (int, error)
func (*CustomResourceSubresourceStatus) MarshalToSizedBuffer ¶
func (m *CustomResourceSubresourceStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CustomResourceSubresourceStatus) ProtoMessage ¶
func (*CustomResourceSubresourceStatus) ProtoMessage()
func (*CustomResourceSubresourceStatus) Reset ¶
func (m *CustomResourceSubresourceStatus) Reset()
func (*CustomResourceSubresourceStatus) Size ¶
func (m *CustomResourceSubresourceStatus) Size() (n int)
func (*CustomResourceSubresourceStatus) String ¶
func (this *CustomResourceSubresourceStatus) String() string
func (*CustomResourceSubresourceStatus) Unmarshal ¶
func (m *CustomResourceSubresourceStatus) Unmarshal(dAtA []byte) error
func (*CustomResourceSubresourceStatus) XXX_DiscardUnknown ¶
func (m *CustomResourceSubresourceStatus) XXX_DiscardUnknown()
func (*CustomResourceSubresourceStatus) XXX_Marshal ¶
func (m *CustomResourceSubresourceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CustomResourceSubresourceStatus) XXX_Merge ¶
func (m *CustomResourceSubresourceStatus) XXX_Merge(src proto.Message)
func (*CustomResourceSubresourceStatus) XXX_Size ¶
func (m *CustomResourceSubresourceStatus) XXX_Size() int
func (*CustomResourceSubresourceStatus) XXX_Unmarshal ¶
func (m *CustomResourceSubresourceStatus) XXX_Unmarshal(b []byte) error
type CustomResourceSubresources ¶
type CustomResourceSubresources struct { // status indicates the custom resource should serve a `/status` subresource. // When enabled: // 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. // 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object. // +optional Status *CustomResourceSubresourceStatus `json:"status,omitempty" protobuf:"bytes,1,opt,name=status"` // scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object. // +optional Scale *CustomResourceSubresourceScale `json:"scale,omitempty" protobuf:"bytes,2,opt,name=scale"` }
CustomResourceSubresources defines the status and scale subresources for CustomResources.
func (*CustomResourceSubresources) DeepCopy ¶
func (in *CustomResourceSubresources) DeepCopy() *CustomResourceSubresources
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceSubresources.
func (*CustomResourceSubresources) DeepCopyInto ¶
func (in *CustomResourceSubresources) DeepCopyInto(out *CustomResourceSubresources)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CustomResourceSubresources) Descriptor ¶
func (*CustomResourceSubresources) Descriptor() ([]byte, []int)
func (*CustomResourceSubresources) Marshal ¶
func (m *CustomResourceSubresources) Marshal() (dAtA []byte, err error)
func (*CustomResourceSubresources) MarshalTo ¶
func (m *CustomResourceSubresources) MarshalTo(dAtA []byte) (int, error)
func (*CustomResourceSubresources) MarshalToSizedBuffer ¶
func (m *CustomResourceSubresources) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CustomResourceSubresources) ProtoMessage ¶
func (*CustomResourceSubresources) ProtoMessage()
func (*CustomResourceSubresources) Reset ¶
func (m *CustomResourceSubresources) Reset()
func (*CustomResourceSubresources) Size ¶
func (m *CustomResourceSubresources) Size() (n int)
func (*CustomResourceSubresources) String ¶
func (this *CustomResourceSubresources) String() string
func (*CustomResourceSubresources) Unmarshal ¶
func (m *CustomResourceSubresources) Unmarshal(dAtA []byte) error
func (*CustomResourceSubresources) XXX_DiscardUnknown ¶
func (m *CustomResourceSubresources) XXX_DiscardUnknown()
func (*CustomResourceSubresources) XXX_Marshal ¶
func (m *CustomResourceSubresources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CustomResourceSubresources) XXX_Merge ¶
func (m *CustomResourceSubresources) XXX_Merge(src proto.Message)
func (*CustomResourceSubresources) XXX_Size ¶
func (m *CustomResourceSubresources) XXX_Size() int
func (*CustomResourceSubresources) XXX_Unmarshal ¶
func (m *CustomResourceSubresources) XXX_Unmarshal(b []byte) error
type CustomResourceValidation ¶
type CustomResourceValidation struct { // openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning. // +optional OpenAPIV3Schema *JSONSchemaProps `json:"openAPIV3Schema,omitempty" protobuf:"bytes,1,opt,name=openAPIV3Schema"` }
CustomResourceValidation is a list of validation methods for CustomResources.
func (*CustomResourceValidation) DeepCopy ¶
func (in *CustomResourceValidation) DeepCopy() *CustomResourceValidation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceValidation.
func (*CustomResourceValidation) DeepCopyInto ¶
func (in *CustomResourceValidation) DeepCopyInto(out *CustomResourceValidation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CustomResourceValidation) Descriptor ¶
func (*CustomResourceValidation) Descriptor() ([]byte, []int)
func (*CustomResourceValidation) Marshal ¶
func (m *CustomResourceValidation) Marshal() (dAtA []byte, err error)
func (*CustomResourceValidation) MarshalTo ¶
func (m *CustomResourceValidation) MarshalTo(dAtA []byte) (int, error)
func (*CustomResourceValidation) MarshalToSizedBuffer ¶
func (m *CustomResourceValidation) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CustomResourceValidation) ProtoMessage ¶
func (*CustomResourceValidation) ProtoMessage()
func (*CustomResourceValidation) Reset ¶
func (m *CustomResourceValidation) Reset()
func (*CustomResourceValidation) Size ¶
func (m *CustomResourceValidation) Size() (n int)
func (*CustomResourceValidation) String ¶
func (this *CustomResourceValidation) String() string
func (*CustomResourceValidation) Unmarshal ¶
func (m *CustomResourceValidation) Unmarshal(dAtA []byte) error
func (*CustomResourceValidation) XXX_DiscardUnknown ¶
func (m *CustomResourceValidation) XXX_DiscardUnknown()
func (*CustomResourceValidation) XXX_Marshal ¶
func (m *CustomResourceValidation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CustomResourceValidation) XXX_Merge ¶
func (m *CustomResourceValidation) XXX_Merge(src proto.Message)
func (*CustomResourceValidation) XXX_Size ¶
func (m *CustomResourceValidation) XXX_Size() int
func (*CustomResourceValidation) XXX_Unmarshal ¶
func (m *CustomResourceValidation) XXX_Unmarshal(b []byte) error
type ExternalDocumentation ¶
type ExternalDocumentation struct { Description string `json:"description,omitempty" protobuf:"bytes,1,opt,name=description"` URL string `json:"url,omitempty" protobuf:"bytes,2,opt,name=url"` }
ExternalDocumentation allows referencing an external resource for extended documentation.
func (*ExternalDocumentation) DeepCopy ¶
func (in *ExternalDocumentation) DeepCopy() *ExternalDocumentation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalDocumentation.
func (*ExternalDocumentation) DeepCopyInto ¶
func (in *ExternalDocumentation) DeepCopyInto(out *ExternalDocumentation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExternalDocumentation) Descriptor ¶
func (*ExternalDocumentation) Descriptor() ([]byte, []int)
func (*ExternalDocumentation) Marshal ¶
func (m *ExternalDocumentation) Marshal() (dAtA []byte, err error)
func (*ExternalDocumentation) MarshalTo ¶
func (m *ExternalDocumentation) MarshalTo(dAtA []byte) (int, error)
func (*ExternalDocumentation) MarshalToSizedBuffer ¶
func (m *ExternalDocumentation) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ExternalDocumentation) ProtoMessage ¶
func (*ExternalDocumentation) ProtoMessage()
func (*ExternalDocumentation) Reset ¶
func (m *ExternalDocumentation) Reset()
func (*ExternalDocumentation) Size ¶
func (m *ExternalDocumentation) Size() (n int)
func (*ExternalDocumentation) String ¶
func (this *ExternalDocumentation) String() string
func (*ExternalDocumentation) Unmarshal ¶
func (m *ExternalDocumentation) Unmarshal(dAtA []byte) error
func (*ExternalDocumentation) XXX_DiscardUnknown ¶
func (m *ExternalDocumentation) XXX_DiscardUnknown()
func (*ExternalDocumentation) XXX_Marshal ¶
func (m *ExternalDocumentation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExternalDocumentation) XXX_Merge ¶
func (m *ExternalDocumentation) XXX_Merge(src proto.Message)
func (*ExternalDocumentation) XXX_Size ¶
func (m *ExternalDocumentation) XXX_Size() int
func (*ExternalDocumentation) XXX_Unmarshal ¶
func (m *ExternalDocumentation) XXX_Unmarshal(b []byte) error
type FieldValueErrorReason ¶ added in v0.28.0
type FieldValueErrorReason string
FieldValueErrorReason is a machine-readable value providing more detail about why a field failed the validation. +enum
const ( // FieldValueRequired is used to report required values that are not // provided (e.g. empty strings, null values, or empty arrays). FieldValueRequired FieldValueErrorReason = "FieldValueRequired" // FieldValueDuplicate is used to report collisions of values that must be // unique (e.g. unique IDs). FieldValueDuplicate FieldValueErrorReason = "FieldValueDuplicate" // FieldValueInvalid is used to report malformed values (e.g. failed regex // match, too long, out of bounds). FieldValueInvalid FieldValueErrorReason = "FieldValueInvalid" // FieldValueForbidden is used to report valid (as per formatting rules) // values which would be accepted under some conditions, but which are not // permitted by the current conditions (such as security policy). FieldValueForbidden FieldValueErrorReason = "FieldValueForbidden" )
type JSON ¶
type JSON struct {
Raw []byte `json:"-" protobuf:"bytes,1,opt,name=raw"`
}
JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.
func (*JSON) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSON.
func (*JSON) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*JSON) Descriptor ¶
func (JSON) MarshalJSON ¶
func (JSON) OpenAPISchemaFormat ¶
OpenAPISchemaFormat is used by the kube-openapi generator when constructing the OpenAPI spec of this type.
func (JSON) OpenAPISchemaType ¶
OpenAPISchemaType is used by the kube-openapi generator when constructing the OpenAPI spec of this type.
See: https://github.com/kubernetes/kube-openapi/tree/master/pkg/generators
func (*JSON) ProtoMessage ¶
func (*JSON) ProtoMessage()
func (*JSON) UnmarshalJSON ¶
func (*JSON) XXX_DiscardUnknown ¶
func (m *JSON) XXX_DiscardUnknown()
func (*JSON) XXX_Unmarshal ¶
type JSONSchemaDefinitions ¶
type JSONSchemaDefinitions map[string]JSONSchemaProps
JSONSchemaDefinitions contains the models explicitly defined in this spec.
func (JSONSchemaDefinitions) DeepCopy ¶
func (in JSONSchemaDefinitions) DeepCopy() JSONSchemaDefinitions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONSchemaDefinitions.
func (JSONSchemaDefinitions) DeepCopyInto ¶
func (in JSONSchemaDefinitions) DeepCopyInto(out *JSONSchemaDefinitions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JSONSchemaDependencies ¶
type JSONSchemaDependencies map[string]JSONSchemaPropsOrStringArray
JSONSchemaDependencies represent a dependencies property.
func (JSONSchemaDependencies) DeepCopy ¶
func (in JSONSchemaDependencies) DeepCopy() JSONSchemaDependencies
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONSchemaDependencies.
func (JSONSchemaDependencies) DeepCopyInto ¶
func (in JSONSchemaDependencies) DeepCopyInto(out *JSONSchemaDependencies)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JSONSchemaProps ¶
type JSONSchemaProps struct { ID string `json:"id,omitempty" protobuf:"bytes,1,opt,name=id"` Schema JSONSchemaURL `json:"$schema,omitempty" protobuf:"bytes,2,opt,name=schema"` Ref *string `json:"$ref,omitempty" protobuf:"bytes,3,opt,name=ref"` Description string `json:"description,omitempty" protobuf:"bytes,4,opt,name=description"` Type string `json:"type,omitempty" protobuf:"bytes,5,opt,name=type"` // format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated: // // - bsonobjectid: a bson object ID, i.e. a 24 characters hex string // - uri: an URI as parsed by Golang net/url.ParseRequestURI // - email: an email address as parsed by Golang net/mail.ParseAddress // - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. // - ipv4: an IPv4 IP as parsed by Golang net.ParseIP // - ipv6: an IPv6 IP as parsed by Golang net.ParseIP // - cidr: a CIDR as parsed by Golang net.ParseCIDR // - mac: a MAC address as parsed by Golang net.ParseMAC // - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ // - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ // - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ // - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ // - isbn: an ISBN10 or ISBN13 number string like "0321751043" or "978-0321751041" // - isbn10: an ISBN10 number string like "0321751043" // - isbn13: an ISBN13 number string like "978-0321751041" // - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in // - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ // - hexcolor: an hexadecimal color code like "#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ // - rgbcolor: an RGB color code like rgb like "rgb(255,255,2559" // - byte: base64 encoded binary data // - password: any kind of string // - date: a date string like "2006-01-02" as defined by full-date in RFC3339 // - duration: a duration string like "22 ns" as parsed by Golang time.ParseDuration or compatible with Scala duration format // - datetime: a date time string like "2014-12-15T19:30:20.000Z" as defined by date-time in RFC3339. Format string `json:"format,omitempty" protobuf:"bytes,6,opt,name=format"` Title string `json:"title,omitempty" protobuf:"bytes,7,opt,name=title"` // default is a default value for undefined object fields. // Defaulting is a beta feature under the CustomResourceDefaulting feature gate. // Defaulting requires spec.preserveUnknownFields to be false. Default *JSON `json:"default,omitempty" protobuf:"bytes,8,opt,name=default"` Maximum *float64 `json:"maximum,omitempty" protobuf:"bytes,9,opt,name=maximum"` ExclusiveMaximum bool `json:"exclusiveMaximum,omitempty" protobuf:"bytes,10,opt,name=exclusiveMaximum"` Minimum *float64 `json:"minimum,omitempty" protobuf:"bytes,11,opt,name=minimum"` ExclusiveMinimum bool `json:"exclusiveMinimum,omitempty" protobuf:"bytes,12,opt,name=exclusiveMinimum"` MaxLength *int64 `json:"maxLength,omitempty" protobuf:"bytes,13,opt,name=maxLength"` MinLength *int64 `json:"minLength,omitempty" protobuf:"bytes,14,opt,name=minLength"` Pattern string `json:"pattern,omitempty" protobuf:"bytes,15,opt,name=pattern"` MaxItems *int64 `json:"maxItems,omitempty" protobuf:"bytes,16,opt,name=maxItems"` MinItems *int64 `json:"minItems,omitempty" protobuf:"bytes,17,opt,name=minItems"` UniqueItems bool `json:"uniqueItems,omitempty" protobuf:"bytes,18,opt,name=uniqueItems"` MultipleOf *float64 `json:"multipleOf,omitempty" protobuf:"bytes,19,opt,name=multipleOf"` // +listType=atomic Enum []JSON `json:"enum,omitempty" protobuf:"bytes,20,rep,name=enum"` MaxProperties *int64 `json:"maxProperties,omitempty" protobuf:"bytes,21,opt,name=maxProperties"` MinProperties *int64 `json:"minProperties,omitempty" protobuf:"bytes,22,opt,name=minProperties"` // +listType=atomic Required []string `json:"required,omitempty" protobuf:"bytes,23,rep,name=required"` Items *JSONSchemaPropsOrArray `json:"items,omitempty" protobuf:"bytes,24,opt,name=items"` // +listType=atomic AllOf []JSONSchemaProps `json:"allOf,omitempty" protobuf:"bytes,25,rep,name=allOf"` // +listType=atomic OneOf []JSONSchemaProps `json:"oneOf,omitempty" protobuf:"bytes,26,rep,name=oneOf"` // +listType=atomic AnyOf []JSONSchemaProps `json:"anyOf,omitempty" protobuf:"bytes,27,rep,name=anyOf"` Not *JSONSchemaProps `json:"not,omitempty" protobuf:"bytes,28,opt,name=not"` Properties map[string]JSONSchemaProps `json:"properties,omitempty" protobuf:"bytes,29,rep,name=properties"` AdditionalProperties *JSONSchemaPropsOrBool `json:"additionalProperties,omitempty" protobuf:"bytes,30,opt,name=additionalProperties"` PatternProperties map[string]JSONSchemaProps `json:"patternProperties,omitempty" protobuf:"bytes,31,rep,name=patternProperties"` Dependencies JSONSchemaDependencies `json:"dependencies,omitempty" protobuf:"bytes,32,opt,name=dependencies"` AdditionalItems *JSONSchemaPropsOrBool `json:"additionalItems,omitempty" protobuf:"bytes,33,opt,name=additionalItems"` Definitions JSONSchemaDefinitions `json:"definitions,omitempty" protobuf:"bytes,34,opt,name=definitions"` ExternalDocs *ExternalDocumentation `json:"externalDocs,omitempty" protobuf:"bytes,35,opt,name=externalDocs"` Example *JSON `json:"example,omitempty" protobuf:"bytes,36,opt,name=example"` Nullable bool `json:"nullable,omitempty" protobuf:"bytes,37,opt,name=nullable"` // x-kubernetes-preserve-unknown-fields stops the API server // decoding step from pruning fields which are not specified // in the validation schema. This affects fields recursively, // but switches back to normal pruning behaviour if nested // properties or additionalProperties are specified in the schema. // This can either be true or undefined. False is forbidden. XPreserveUnknownFields *bool `json:"x-kubernetes-preserve-unknown-fields,omitempty" protobuf:"bytes,38,opt,name=xKubernetesPreserveUnknownFields"` // x-kubernetes-embedded-resource defines that the value is an // embedded Kubernetes runtime.Object, with TypeMeta and // ObjectMeta. The type must be object. It is allowed to further // restrict the embedded object. kind, apiVersion and metadata // are validated automatically. x-kubernetes-preserve-unknown-fields // is allowed to be true, but does not have to be if the object // is fully specified (up to kind, apiVersion, metadata). XEmbeddedResource bool `json:"x-kubernetes-embedded-resource,omitempty" protobuf:"bytes,39,opt,name=xKubernetesEmbeddedResource"` // x-kubernetes-int-or-string specifies that this value is // either an integer or a string. If this is true, an empty // type is allowed and type as child of anyOf is permitted // if following one of the following patterns: // // 1) anyOf: // - type: integer // - type: string // 2) allOf: // - anyOf: // - type: integer // - type: string // - ... zero or more XIntOrString bool `json:"x-kubernetes-int-or-string,omitempty" protobuf:"bytes,40,opt,name=xKubernetesIntOrString"` // x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used // as the index of the map. // // This tag MUST only be used on lists that have the "x-kubernetes-list-type" // extension set to "map". Also, the values specified for this attribute must // be a scalar typed field of the child structure (no nesting is supported). // // The properties specified must either be required or have a default value, // to ensure those properties are present for all list items. // // +optional // +listType=atomic XListMapKeys []string `json:"x-kubernetes-list-map-keys,omitempty" protobuf:"bytes,41,rep,name=xKubernetesListMapKeys"` // x-kubernetes-list-type annotates an array to further describe its topology. // This extension must only be used on lists and may have 3 possible values: // // 1) `atomic`: the list is treated as a single entity, like a scalar. // Atomic lists will be entirely replaced when updated. This extension // may be used on any type of list (struct, scalar, ...). // 2) `set`: // Sets are lists that must not have multiple items with the same value. Each // value must be a scalar, an object with x-kubernetes-map-type `atomic` or an // array with x-kubernetes-list-type `atomic`. // 3) `map`: // These lists are like maps in that their elements have a non-index key // used to identify them. Order is preserved upon merge. The map tag // must only be used on a list with elements of type object. // Defaults to atomic for arrays. // +optional XListType *string `json:"x-kubernetes-list-type,omitempty" protobuf:"bytes,42,opt,name=xKubernetesListType"` // x-kubernetes-map-type annotates an object to further describe its topology. // This extension must only be used when type is object and may have 2 possible values: // // 1) `granular`: // These maps are actual maps (key-value pairs) and each fields are independent // from each other (they can each be manipulated by separate actors). This is // the default behaviour for all maps. // 2) `atomic`: the list is treated as a single entity, like a scalar. // Atomic maps will be entirely replaced when updated. // +optional XMapType *string `json:"x-kubernetes-map-type,omitempty" protobuf:"bytes,43,opt,name=xKubernetesMapType"` // x-kubernetes-validations describes a list of validation rules written in the CEL expression language. // +patchMergeKey=rule // +patchStrategy=merge // +listType=map // +listMapKey=rule XValidations ValidationRules `` /* 136-byte string literal not displayed */ }
JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).
func (*JSONSchemaProps) DeepCopy ¶
func (in *JSONSchemaProps) DeepCopy() *JSONSchemaProps
TODO: Update this after a tag is created for interface fields in DeepCopy
func (*JSONSchemaProps) DeepCopyInto ¶
func (in *JSONSchemaProps) DeepCopyInto(out *JSONSchemaProps)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*JSONSchemaProps) Descriptor ¶
func (*JSONSchemaProps) Descriptor() ([]byte, []int)
func (*JSONSchemaProps) Marshal ¶
func (m *JSONSchemaProps) Marshal() (dAtA []byte, err error)
func (*JSONSchemaProps) MarshalToSizedBuffer ¶
func (m *JSONSchemaProps) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*JSONSchemaProps) ProtoMessage ¶
func (*JSONSchemaProps) ProtoMessage()
func (*JSONSchemaProps) Reset ¶
func (m *JSONSchemaProps) Reset()
func (*JSONSchemaProps) Size ¶
func (m *JSONSchemaProps) Size() (n int)
func (*JSONSchemaProps) String ¶
func (this *JSONSchemaProps) String() string
func (*JSONSchemaProps) Unmarshal ¶
func (m *JSONSchemaProps) Unmarshal(dAtA []byte) error
func (*JSONSchemaProps) XXX_DiscardUnknown ¶
func (m *JSONSchemaProps) XXX_DiscardUnknown()
func (*JSONSchemaProps) XXX_Marshal ¶
func (m *JSONSchemaProps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*JSONSchemaProps) XXX_Merge ¶
func (m *JSONSchemaProps) XXX_Merge(src proto.Message)
func (*JSONSchemaProps) XXX_Size ¶
func (m *JSONSchemaProps) XXX_Size() int
func (*JSONSchemaProps) XXX_Unmarshal ¶
func (m *JSONSchemaProps) XXX_Unmarshal(b []byte) error
type JSONSchemaPropsOrArray ¶
type JSONSchemaPropsOrArray struct { Schema *JSONSchemaProps `protobuf:"bytes,1,opt,name=schema"` // +listType=atomic JSONSchemas []JSONSchemaProps `protobuf:"bytes,2,rep,name=jSONSchemas"` }
JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes.
func (*JSONSchemaPropsOrArray) DeepCopy ¶
func (in *JSONSchemaPropsOrArray) DeepCopy() *JSONSchemaPropsOrArray
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONSchemaPropsOrArray.
func (*JSONSchemaPropsOrArray) DeepCopyInto ¶
func (in *JSONSchemaPropsOrArray) DeepCopyInto(out *JSONSchemaPropsOrArray)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*JSONSchemaPropsOrArray) Descriptor ¶
func (*JSONSchemaPropsOrArray) Descriptor() ([]byte, []int)
func (*JSONSchemaPropsOrArray) Marshal ¶
func (m *JSONSchemaPropsOrArray) Marshal() (dAtA []byte, err error)
func (JSONSchemaPropsOrArray) MarshalJSON ¶
func (s JSONSchemaPropsOrArray) MarshalJSON() ([]byte, error)
func (*JSONSchemaPropsOrArray) MarshalTo ¶
func (m *JSONSchemaPropsOrArray) MarshalTo(dAtA []byte) (int, error)
func (*JSONSchemaPropsOrArray) MarshalToSizedBuffer ¶
func (m *JSONSchemaPropsOrArray) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (JSONSchemaPropsOrArray) OpenAPISchemaFormat ¶
func (_ JSONSchemaPropsOrArray) OpenAPISchemaFormat() string
OpenAPISchemaFormat is used by the kube-openapi generator when constructing the OpenAPI spec of this type.
func (JSONSchemaPropsOrArray) OpenAPISchemaType ¶
func (_ JSONSchemaPropsOrArray) OpenAPISchemaType() []string
OpenAPISchemaType is used by the kube-openapi generator when constructing the OpenAPI spec of this type.
See: https://github.com/kubernetes/kube-openapi/tree/master/pkg/generators
func (*JSONSchemaPropsOrArray) ProtoMessage ¶
func (*JSONSchemaPropsOrArray) ProtoMessage()
func (*JSONSchemaPropsOrArray) Reset ¶
func (m *JSONSchemaPropsOrArray) Reset()
func (*JSONSchemaPropsOrArray) Size ¶
func (m *JSONSchemaPropsOrArray) Size() (n int)
func (*JSONSchemaPropsOrArray) String ¶
func (this *JSONSchemaPropsOrArray) String() string
func (*JSONSchemaPropsOrArray) Unmarshal ¶
func (m *JSONSchemaPropsOrArray) Unmarshal(dAtA []byte) error
func (*JSONSchemaPropsOrArray) UnmarshalJSON ¶
func (s *JSONSchemaPropsOrArray) UnmarshalJSON(data []byte) error
func (*JSONSchemaPropsOrArray) XXX_DiscardUnknown ¶
func (m *JSONSchemaPropsOrArray) XXX_DiscardUnknown()
func (*JSONSchemaPropsOrArray) XXX_Marshal ¶
func (m *JSONSchemaPropsOrArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*JSONSchemaPropsOrArray) XXX_Merge ¶
func (m *JSONSchemaPropsOrArray) XXX_Merge(src proto.Message)
func (*JSONSchemaPropsOrArray) XXX_Size ¶
func (m *JSONSchemaPropsOrArray) XXX_Size() int
func (*JSONSchemaPropsOrArray) XXX_Unmarshal ¶
func (m *JSONSchemaPropsOrArray) XXX_Unmarshal(b []byte) error
type JSONSchemaPropsOrBool ¶
type JSONSchemaPropsOrBool struct { Allows bool `protobuf:"varint,1,opt,name=allows"` Schema *JSONSchemaProps `protobuf:"bytes,2,opt,name=schema"` }
JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property.
func (*JSONSchemaPropsOrBool) DeepCopy ¶
func (in *JSONSchemaPropsOrBool) DeepCopy() *JSONSchemaPropsOrBool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONSchemaPropsOrBool.
func (*JSONSchemaPropsOrBool) DeepCopyInto ¶
func (in *JSONSchemaPropsOrBool) DeepCopyInto(out *JSONSchemaPropsOrBool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*JSONSchemaPropsOrBool) Descriptor ¶
func (*JSONSchemaPropsOrBool) Descriptor() ([]byte, []int)
func (*JSONSchemaPropsOrBool) Marshal ¶
func (m *JSONSchemaPropsOrBool) Marshal() (dAtA []byte, err error)
func (JSONSchemaPropsOrBool) MarshalJSON ¶
func (s JSONSchemaPropsOrBool) MarshalJSON() ([]byte, error)
func (*JSONSchemaPropsOrBool) MarshalTo ¶
func (m *JSONSchemaPropsOrBool) MarshalTo(dAtA []byte) (int, error)
func (*JSONSchemaPropsOrBool) MarshalToSizedBuffer ¶
func (m *JSONSchemaPropsOrBool) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (JSONSchemaPropsOrBool) OpenAPISchemaFormat ¶
func (_ JSONSchemaPropsOrBool) OpenAPISchemaFormat() string
OpenAPISchemaFormat is used by the kube-openapi generator when constructing the OpenAPI spec of this type.
func (JSONSchemaPropsOrBool) OpenAPISchemaType ¶
func (_ JSONSchemaPropsOrBool) OpenAPISchemaType() []string
OpenAPISchemaType is used by the kube-openapi generator when constructing the OpenAPI spec of this type.
See: https://github.com/kubernetes/kube-openapi/tree/master/pkg/generators
func (*JSONSchemaPropsOrBool) ProtoMessage ¶
func (*JSONSchemaPropsOrBool) ProtoMessage()
func (*JSONSchemaPropsOrBool) Reset ¶
func (m *JSONSchemaPropsOrBool) Reset()
func (*JSONSchemaPropsOrBool) Size ¶
func (m *JSONSchemaPropsOrBool) Size() (n int)
func (*JSONSchemaPropsOrBool) String ¶
func (this *JSONSchemaPropsOrBool) String() string
func (*JSONSchemaPropsOrBool) Unmarshal ¶
func (m *JSONSchemaPropsOrBool) Unmarshal(dAtA []byte) error
func (*JSONSchemaPropsOrBool) UnmarshalJSON ¶
func (s *JSONSchemaPropsOrBool) UnmarshalJSON(data []byte) error
func (*JSONSchemaPropsOrBool) XXX_DiscardUnknown ¶
func (m *JSONSchemaPropsOrBool) XXX_DiscardUnknown()
func (*JSONSchemaPropsOrBool) XXX_Marshal ¶
func (m *JSONSchemaPropsOrBool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*JSONSchemaPropsOrBool) XXX_Merge ¶
func (m *JSONSchemaPropsOrBool) XXX_Merge(src proto.Message)
func (*JSONSchemaPropsOrBool) XXX_Size ¶
func (m *JSONSchemaPropsOrBool) XXX_Size() int
func (*JSONSchemaPropsOrBool) XXX_Unmarshal ¶
func (m *JSONSchemaPropsOrBool) XXX_Unmarshal(b []byte) error
type JSONSchemaPropsOrStringArray ¶
type JSONSchemaPropsOrStringArray struct { Schema *JSONSchemaProps `protobuf:"bytes,1,opt,name=schema"` // +listType=atomic Property []string `protobuf:"bytes,2,rep,name=property"` }
JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array.
func (*JSONSchemaPropsOrStringArray) DeepCopy ¶
func (in *JSONSchemaPropsOrStringArray) DeepCopy() *JSONSchemaPropsOrStringArray
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONSchemaPropsOrStringArray.
func (*JSONSchemaPropsOrStringArray) DeepCopyInto ¶
func (in *JSONSchemaPropsOrStringArray) DeepCopyInto(out *JSONSchemaPropsOrStringArray)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*JSONSchemaPropsOrStringArray) Descriptor ¶
func (*JSONSchemaPropsOrStringArray) Descriptor() ([]byte, []int)
func (*JSONSchemaPropsOrStringArray) Marshal ¶
func (m *JSONSchemaPropsOrStringArray) Marshal() (dAtA []byte, err error)
func (JSONSchemaPropsOrStringArray) MarshalJSON ¶
func (s JSONSchemaPropsOrStringArray) MarshalJSON() ([]byte, error)
func (*JSONSchemaPropsOrStringArray) MarshalTo ¶
func (m *JSONSchemaPropsOrStringArray) MarshalTo(dAtA []byte) (int, error)
func (*JSONSchemaPropsOrStringArray) MarshalToSizedBuffer ¶
func (m *JSONSchemaPropsOrStringArray) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (JSONSchemaPropsOrStringArray) OpenAPISchemaFormat ¶
func (_ JSONSchemaPropsOrStringArray) OpenAPISchemaFormat() string
OpenAPISchemaFormat is used by the kube-openapi generator when constructing the OpenAPI spec of this type.
func (JSONSchemaPropsOrStringArray) OpenAPISchemaType ¶
func (_ JSONSchemaPropsOrStringArray) OpenAPISchemaType() []string
OpenAPISchemaType is used by the kube-openapi generator when constructing the OpenAPI spec of this type.
See: https://github.com/kubernetes/kube-openapi/tree/master/pkg/generators
func (*JSONSchemaPropsOrStringArray) ProtoMessage ¶
func (*JSONSchemaPropsOrStringArray) ProtoMessage()
func (*JSONSchemaPropsOrStringArray) Reset ¶
func (m *JSONSchemaPropsOrStringArray) Reset()
func (*JSONSchemaPropsOrStringArray) Size ¶
func (m *JSONSchemaPropsOrStringArray) Size() (n int)
func (*JSONSchemaPropsOrStringArray) String ¶
func (this *JSONSchemaPropsOrStringArray) String() string
func (*JSONSchemaPropsOrStringArray) Unmarshal ¶
func (m *JSONSchemaPropsOrStringArray) Unmarshal(dAtA []byte) error
func (*JSONSchemaPropsOrStringArray) UnmarshalJSON ¶
func (s *JSONSchemaPropsOrStringArray) UnmarshalJSON(data []byte) error
func (*JSONSchemaPropsOrStringArray) XXX_DiscardUnknown ¶
func (m *JSONSchemaPropsOrStringArray) XXX_DiscardUnknown()
func (*JSONSchemaPropsOrStringArray) XXX_Marshal ¶
func (m *JSONSchemaPropsOrStringArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*JSONSchemaPropsOrStringArray) XXX_Merge ¶
func (m *JSONSchemaPropsOrStringArray) XXX_Merge(src proto.Message)
func (*JSONSchemaPropsOrStringArray) XXX_Size ¶
func (m *JSONSchemaPropsOrStringArray) XXX_Size() int
func (*JSONSchemaPropsOrStringArray) XXX_Unmarshal ¶
func (m *JSONSchemaPropsOrStringArray) XXX_Unmarshal(b []byte) error
type ResourceScope ¶
type ResourceScope string
ResourceScope is an enum defining the different scopes available to a custom resource
const ( ClusterScoped ResourceScope = "Cluster" NamespaceScoped ResourceScope = "Namespaced" )
type SelectableField ¶ added in v0.30.0
type SelectableField struct { // jsonPath is a simple JSON path which is evaluated against each custom resource to produce a // field selector value. // Only JSON paths without the array notation are allowed. // Must point to a field of type string, boolean or integer. Types with enum values // and strings with formats are allowed. // If jsonPath refers to absent field in a resource, the jsonPath evaluates to an empty string. // Must not point to metdata fields. // Required. JSONPath string `json:"jsonPath" protobuf:"bytes,1,opt,name=jsonPath"` }
SelectableField specifies the JSON path of a field that may be used with field selectors.
func (*SelectableField) DeepCopy ¶ added in v0.30.0
func (in *SelectableField) DeepCopy() *SelectableField
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelectableField.
func (*SelectableField) DeepCopyInto ¶ added in v0.30.0
func (in *SelectableField) DeepCopyInto(out *SelectableField)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SelectableField) Descriptor ¶ added in v0.30.0
func (*SelectableField) Descriptor() ([]byte, []int)
func (*SelectableField) Marshal ¶ added in v0.30.0
func (m *SelectableField) Marshal() (dAtA []byte, err error)
func (*SelectableField) MarshalTo ¶ added in v0.30.0
func (m *SelectableField) MarshalTo(dAtA []byte) (int, error)
func (*SelectableField) MarshalToSizedBuffer ¶ added in v0.30.0
func (m *SelectableField) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SelectableField) ProtoMessage ¶ added in v0.30.0
func (*SelectableField) ProtoMessage()
func (*SelectableField) Reset ¶ added in v0.30.0
func (m *SelectableField) Reset()
func (*SelectableField) Size ¶ added in v0.30.0
func (m *SelectableField) Size() (n int)
func (*SelectableField) String ¶ added in v0.30.0
func (this *SelectableField) String() string
func (*SelectableField) Unmarshal ¶ added in v0.30.0
func (m *SelectableField) Unmarshal(dAtA []byte) error
func (*SelectableField) XXX_DiscardUnknown ¶ added in v0.30.0
func (m *SelectableField) XXX_DiscardUnknown()
func (*SelectableField) XXX_Marshal ¶ added in v0.30.0
func (m *SelectableField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SelectableField) XXX_Merge ¶ added in v0.30.0
func (m *SelectableField) XXX_Merge(src proto.Message)
func (*SelectableField) XXX_Size ¶ added in v0.30.0
func (m *SelectableField) XXX_Size() int
func (*SelectableField) XXX_Unmarshal ¶ added in v0.30.0
func (m *SelectableField) XXX_Unmarshal(b []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"` // path is an optional URL path at which the webhook will be contacted. // +optional Path *string `json:"path,omitempty" protobuf:"bytes,3,opt,name=path"` // port is an optional service port at which the webhook will be contacted. // `port` should be a valid port number (1-65535, inclusive). // Defaults to 443 for backward compatibility. // +optional Port *int32 `json:"port,omitempty" protobuf:"varint,4,opt,name=port"` }
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) MarshalToSizedBuffer ¶
func (m *ServiceReference) MarshalToSizedBuffer(dAtA []byte) (int, 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) Unmarshal ¶
func (m *ServiceReference) Unmarshal(dAtA []byte) error
func (*ServiceReference) XXX_DiscardUnknown ¶
func (m *ServiceReference) XXX_DiscardUnknown()
func (*ServiceReference) XXX_Marshal ¶
func (m *ServiceReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceReference) XXX_Merge ¶
func (m *ServiceReference) XXX_Merge(src proto.Message)
func (*ServiceReference) XXX_Size ¶
func (m *ServiceReference) XXX_Size() int
func (*ServiceReference) XXX_Unmarshal ¶
func (m *ServiceReference) XXX_Unmarshal(b []byte) error
type ValidationRule ¶ added in v0.23.0
type ValidationRule struct { // Rule represents the expression which will be evaluated by CEL. // ref: https://github.com/google/cel-spec // The Rule is scoped to the location of the x-kubernetes-validations extension in the schema. // The `self` variable in the CEL expression is bound to the scoped value. // Example: // - Rule scoped to the root of a resource with a status subresource: {"rule": "self.status.actual <= self.spec.maxDesired"} // // If the Rule is scoped to an object with properties, the accessible properties of the object are field selectable // via `self.field` and field presence can be checked via `has(self.field)`. Null valued fields are treated as // absent fields in CEL expressions. // If the Rule is scoped to an object with additionalProperties (i.e. a map) the value of the map // are accessible via `self[mapKey]`, map containment can be checked via `mapKey in self` and all entries of the map // are accessible via CEL macros and functions such as `self.all(...)`. // If the Rule is scoped to an array, the elements of the array are accessible via `self[i]` and also by macros and // functions. // If the Rule is scoped to a scalar, `self` is bound to the scalar value. // Examples: // - Rule scoped to a map of objects: {"rule": "self.components['Widget'].priority < 10"} // - Rule scoped to a list of integers: {"rule": "self.values.all(value, value >= 0 && value < 100)"} // - Rule scoped to a string value: {"rule": "self.startsWith('kube')"} // // The `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the // object and from any x-kubernetes-embedded-resource annotated objects. No other metadata properties are accessible. // // Unknown data preserved in custom resources via x-kubernetes-preserve-unknown-fields is not accessible in CEL // expressions. This includes: // - Unknown field values that are preserved by object schemas with x-kubernetes-preserve-unknown-fields. // - Object properties where the property schema is of an "unknown type". An "unknown type" is recursively defined as: // - A schema with no type and x-kubernetes-preserve-unknown-fields set to true // - An array where the items schema is of an "unknown type" // - An object where the additionalProperties schema is of an "unknown type" // // Only property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. // Accessible property names are escaped according to the following rules when accessed in the expression: // - '__' escapes to '__underscores__' // - '.' escapes to '__dot__' // - '-' escapes to '__dash__' // - '/' escapes to '__slash__' // - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are: // "true", "false", "null", "in", "as", "break", "const", "continue", "else", "for", "function", "if", // "import", "let", "loop", "package", "namespace", "return". // Examples: // - Rule accessing a property named "namespace": {"rule": "self.__namespace__ > 0"} // - Rule accessing a property named "x-prop": {"rule": "self.x__dash__prop > 0"} // - Rule accessing a property named "redact__d": {"rule": "self.redact__underscores__d > 0"} // // Equality on arrays with x-kubernetes-list-type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. // Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type: // - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and // non-intersecting elements in `Y` are appended, retaining their partial order. // - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values // are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with // non-intersecting keys are appended, retaining their partial order. // // If `rule` makes use of the `oldSelf` variable it is implicitly a // `transition rule`. // // By default, the `oldSelf` variable is the same type as `self`. // When `optionalOldSelf` is true, the `oldSelf` variable is a CEL optional // variable whose value() is the same type as `self`. // See the documentation for the `optionalOldSelf` field for details. // // Transition rules by default are applied only on UPDATE requests and are // skipped if an old value could not be found. You can opt a transition // rule into unconditional evaluation by setting `optionalOldSelf` to true. // Rule string `json:"rule" protobuf:"bytes,1,opt,name=rule"` // Message represents the message displayed when validation fails. The message is required if the Rule contains // line breaks. The message must not contain line breaks. // If unset, the message is "failed rule: {Rule}". // e.g. "must be a URL with the host matching spec.host" Message string `json:"message,omitempty" protobuf:"bytes,2,opt,name=message"` // MessageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. // Since messageExpression is used as a failure message, it must evaluate to a string. // If both message and messageExpression are present on a rule, then messageExpression will be used if validation // fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced // as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string // that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and // the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. // messageExpression has access to all the same variables as the rule; the only difference is the return type. // Example: // "x must be less than max ("+string(self.max)+")" // +optional MessageExpression string `json:"messageExpression,omitempty" protobuf:"bytes,3,opt,name=messageExpression"` // reason provides a machine-readable validation failure reason that is returned to the caller when a request fails this validation rule. // The HTTP status code returned to the caller will match the reason of the reason of the first failed validation rule. // The currently supported reasons are: "FieldValueInvalid", "FieldValueForbidden", "FieldValueRequired", "FieldValueDuplicate". // If not set, default to use "FieldValueInvalid". // All future added reasons must be accepted by clients when reading this value and unknown reasons should be treated as FieldValueInvalid. // +optional Reason *FieldValueErrorReason `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason"` // fieldPath represents the field path returned when the validation fails. // It must be a relative JSON path (i.e. with array notation) scoped to the location of this x-kubernetes-validations extension in the schema and refer to an existing field. // e.g. when validation checks if a specific attribute `foo` under a map `testMap`, the fieldPath could be set to `.testMap.foo` // If the validation checks two lists must have unique attributes, the fieldPath could be set to either of the list: e.g. `.testList` // It does not support list numeric index. // It supports child operation to refer to an existing field currently. Refer to [JSONPath support in Kubernetes](https://kubernetes.io/docs/reference/kubectl/jsonpath/) for more info. // Numeric index of array is not supported. // For field name which contains special characters, use `['specialName']` to refer the field name. // e.g. for attribute `foo.34$` appears in a list `testList`, the fieldPath could be set to `.testList['foo.34$']` // +optional FieldPath string `json:"fieldPath,omitempty" protobuf:"bytes,5,opt,name=fieldPath"` // optionalOldSelf is used to opt a transition rule into evaluation // even when the object is first created, or if the old object is // missing the value. // // When enabled `oldSelf` will be a CEL optional whose value will be // `None` if there is no old value, or when the object is initially created. // // You may check for presence of oldSelf using `oldSelf.hasValue()` and // unwrap it after checking using `oldSelf.value()`. Check the CEL // documentation for Optional types for more information: // https://pkg.go.dev/github.com/google/cel-go/cel#OptionalTypes // // May not be set unless `oldSelf` is used in `rule`. // // +featureGate=CRDValidationRatcheting // +optional OptionalOldSelf *bool `json:"optionalOldSelf,omitempty" protobuf:"bytes,6,opt,name=optionalOldSelf"` }
ValidationRule describes a validation rule written in the CEL expression language.
func (*ValidationRule) DeepCopy ¶ added in v0.23.0
func (in *ValidationRule) DeepCopy() *ValidationRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidationRule.
func (*ValidationRule) DeepCopyInto ¶ added in v0.23.0
func (in *ValidationRule) DeepCopyInto(out *ValidationRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ValidationRule) Descriptor ¶ added in v0.23.0
func (*ValidationRule) Descriptor() ([]byte, []int)
func (*ValidationRule) Marshal ¶ added in v0.23.0
func (m *ValidationRule) Marshal() (dAtA []byte, err error)
func (*ValidationRule) MarshalTo ¶ added in v0.23.0
func (m *ValidationRule) MarshalTo(dAtA []byte) (int, error)
func (*ValidationRule) MarshalToSizedBuffer ¶ added in v0.23.0
func (m *ValidationRule) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidationRule) ProtoMessage ¶ added in v0.23.0
func (*ValidationRule) ProtoMessage()
func (*ValidationRule) Reset ¶ added in v0.23.0
func (m *ValidationRule) Reset()
func (*ValidationRule) Size ¶ added in v0.23.0
func (m *ValidationRule) Size() (n int)
func (*ValidationRule) String ¶ added in v0.23.0
func (this *ValidationRule) String() string
func (*ValidationRule) Unmarshal ¶ added in v0.23.0
func (m *ValidationRule) Unmarshal(dAtA []byte) error
func (*ValidationRule) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *ValidationRule) XXX_DiscardUnknown()
func (*ValidationRule) XXX_Marshal ¶ added in v0.23.0
func (m *ValidationRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidationRule) XXX_Merge ¶ added in v0.23.0
func (m *ValidationRule) XXX_Merge(src proto.Message)
func (*ValidationRule) XXX_Size ¶ added in v0.23.0
func (m *ValidationRule) XXX_Size() int
func (*ValidationRule) XXX_Unmarshal ¶ added in v0.23.0
func (m *ValidationRule) XXX_Unmarshal(b []byte) error
type ValidationRules ¶ added in v0.23.0
type ValidationRules []ValidationRule
ValidationRules describes a list of validation rules written in the CEL expression language.
func (ValidationRules) DeepCopy ¶ added in v0.23.0
func (in ValidationRules) DeepCopy() ValidationRules
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidationRules.
func (ValidationRules) DeepCopyInto ¶ added in v0.23.0
func (in ValidationRules) DeepCopyInto(out *ValidationRules)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebhookClientConfig ¶
type WebhookClientConfig struct { // url gives the location of the webhook, in standard URL form // (`scheme://host:port/path`). Exactly one of `url` or `service` // must be specified. // // The `host` should not refer to a service running in the cluster; use // the `service` field instead. The host might be resolved via external // DNS in some apiservers (e.g., `kube-apiserver` cannot resolve // in-cluster DNS as that would be a layering violation). `host` may // also be an IP address. // // Please note that using `localhost` or `127.0.0.1` as a `host` is // risky unless you take great care to run this webhook on all hosts // which run an apiserver which might need to make calls to this // webhook. Such installs are likely to be non-portable, i.e., not easy // to turn up in a new cluster. // // The scheme must be "https"; the URL must begin with "https://". // // A path is optional, and if present may be any string permissible in // a URL. You may use the path to pass an arbitrary string to the // webhook, for example, a cluster identifier. // // Attempting to use a user or basic auth e.g. "user:password@" is not // allowed. Fragments ("#...") and query parameters ("?...") are not // allowed, either. // // +optional URL *string `json:"url,omitempty" protobuf:"bytes,3,opt,name=url"` // service is a reference to the service for this webhook. Either // service or url must be specified. // // If the webhook is running within the cluster, then you should use `service`. // // +optional Service *ServiceReference `json:"service,omitempty" protobuf:"bytes,1,opt,name=service"` // caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. // If unspecified, system trust roots on the apiserver are used. // +optional CABundle []byte `json:"caBundle,omitempty" protobuf:"bytes,2,opt,name=caBundle"` }
WebhookClientConfig contains the information to make a TLS connection with the webhook.
func (*WebhookClientConfig) DeepCopy ¶
func (in *WebhookClientConfig) DeepCopy() *WebhookClientConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookClientConfig.
func (*WebhookClientConfig) DeepCopyInto ¶
func (in *WebhookClientConfig) DeepCopyInto(out *WebhookClientConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WebhookClientConfig) Descriptor ¶
func (*WebhookClientConfig) Descriptor() ([]byte, []int)
func (*WebhookClientConfig) Marshal ¶
func (m *WebhookClientConfig) Marshal() (dAtA []byte, err error)
func (*WebhookClientConfig) MarshalTo ¶
func (m *WebhookClientConfig) MarshalTo(dAtA []byte) (int, error)
func (*WebhookClientConfig) MarshalToSizedBuffer ¶
func (m *WebhookClientConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WebhookClientConfig) ProtoMessage ¶
func (*WebhookClientConfig) ProtoMessage()
func (*WebhookClientConfig) Reset ¶
func (m *WebhookClientConfig) Reset()
func (*WebhookClientConfig) Size ¶
func (m *WebhookClientConfig) Size() (n int)
func (*WebhookClientConfig) String ¶
func (this *WebhookClientConfig) String() string
func (*WebhookClientConfig) Unmarshal ¶
func (m *WebhookClientConfig) Unmarshal(dAtA []byte) error
func (*WebhookClientConfig) XXX_DiscardUnknown ¶
func (m *WebhookClientConfig) XXX_DiscardUnknown()
func (*WebhookClientConfig) XXX_Marshal ¶
func (m *WebhookClientConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WebhookClientConfig) XXX_Merge ¶
func (m *WebhookClientConfig) XXX_Merge(src proto.Message)
func (*WebhookClientConfig) XXX_Size ¶
func (m *WebhookClientConfig) XXX_Size() int
func (*WebhookClientConfig) XXX_Unmarshal ¶
func (m *WebhookClientConfig) XXX_Unmarshal(b []byte) error
type WebhookConversion ¶
type WebhookConversion struct { // clientConfig is the instructions for how to call the webhook if strategy is `Webhook`. // +optional ClientConfig *WebhookClientConfig `json:"clientConfig,omitempty" protobuf:"bytes,2,name=clientConfig"` // conversionReviewVersions is an ordered list of preferred `ConversionReview` // versions the Webhook expects. The API server will use the first version in // the list which it supports. If none of the versions specified in this list // are supported by API server, conversion will fail for the custom resource. // If a persisted Webhook configuration specifies allowed versions and does not // include any versions known to the API Server, calls to the webhook will fail. // +listType=atomic ConversionReviewVersions []string `json:"conversionReviewVersions" protobuf:"bytes,3,rep,name=conversionReviewVersions"` }
WebhookConversion describes how to call a conversion webhook
func (*WebhookConversion) DeepCopy ¶
func (in *WebhookConversion) DeepCopy() *WebhookConversion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookConversion.
func (*WebhookConversion) DeepCopyInto ¶
func (in *WebhookConversion) DeepCopyInto(out *WebhookConversion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WebhookConversion) Descriptor ¶
func (*WebhookConversion) Descriptor() ([]byte, []int)
func (*WebhookConversion) Marshal ¶
func (m *WebhookConversion) Marshal() (dAtA []byte, err error)
func (*WebhookConversion) MarshalTo ¶
func (m *WebhookConversion) MarshalTo(dAtA []byte) (int, error)
func (*WebhookConversion) MarshalToSizedBuffer ¶
func (m *WebhookConversion) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WebhookConversion) ProtoMessage ¶
func (*WebhookConversion) ProtoMessage()
func (*WebhookConversion) Reset ¶
func (m *WebhookConversion) Reset()
func (*WebhookConversion) Size ¶
func (m *WebhookConversion) Size() (n int)
func (*WebhookConversion) String ¶
func (this *WebhookConversion) String() string
func (*WebhookConversion) Unmarshal ¶
func (m *WebhookConversion) Unmarshal(dAtA []byte) error
func (*WebhookConversion) XXX_DiscardUnknown ¶
func (m *WebhookConversion) XXX_DiscardUnknown()
func (*WebhookConversion) XXX_Marshal ¶
func (m *WebhookConversion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WebhookConversion) XXX_Merge ¶
func (m *WebhookConversion) XXX_Merge(src proto.Message)
func (*WebhookConversion) XXX_Size ¶
func (m *WebhookConversion) XXX_Size() int
func (*WebhookConversion) XXX_Unmarshal ¶
func (m *WebhookConversion) XXX_Unmarshal(b []byte) error