v1beta1

package
v1.14.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2019 License: Apache-2.0, Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package v1beta1 is the v1beta1 version of the API.

Package v1beta1 is a generated protocol buffer package.

It is generated from these files:
	k8s.io/kubernetes/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/generated.proto

It has these top-level messages:
	ConversionRequest
	ConversionResponse
	ConversionReview
	CustomResourceColumnDefinition
	CustomResourceConversion
	CustomResourceDefinition
	CustomResourceDefinitionCondition
	CustomResourceDefinitionList
	CustomResourceDefinitionNames
	CustomResourceDefinitionSpec
	CustomResourceDefinitionStatus
	CustomResourceDefinitionVersion
	CustomResourceSubresourceScale
	CustomResourceSubresourceStatus
	CustomResourceSubresources
	CustomResourceValidation
	ExternalDocumentation
	JSON
	JSONSchemaProps
	JSONSchemaPropsOrArray
	JSONSchemaPropsOrBool
	JSONSchemaPropsOrStringArray
	ServiceReference
	WebhookClientConfig

Index

Constants

View Source
const CustomResourceCleanupFinalizer = "customresourcecleanup.apiextensions.k8s.io"

CustomResourceCleanupFinalizer is the name of the finalizer which will delete instances of a CustomResourceDefinition

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

Variables

View Source
var (
	ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs, addConversionFuncs)

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_apiextensions_CustomResourceColumnDefinition_To_v1beta1_CustomResourceColumnDefinition added in v1.11.0

func Convert_apiextensions_CustomResourceColumnDefinition_To_v1beta1_CustomResourceColumnDefinition(in *apiextensions.CustomResourceColumnDefinition, out *CustomResourceColumnDefinition, s conversion.Scope) error

Convert_apiextensions_CustomResourceColumnDefinition_To_v1beta1_CustomResourceColumnDefinition is an autogenerated conversion function.

func Convert_apiextensions_CustomResourceConversion_To_v1beta1_CustomResourceConversion added in v1.13.0

func Convert_apiextensions_CustomResourceConversion_To_v1beta1_CustomResourceConversion(in *apiextensions.CustomResourceConversion, out *CustomResourceConversion, s conversion.Scope) error

Convert_apiextensions_CustomResourceConversion_To_v1beta1_CustomResourceConversion is an autogenerated conversion function.

func Convert_apiextensions_CustomResourceDefinitionCondition_To_v1beta1_CustomResourceDefinitionCondition

func Convert_apiextensions_CustomResourceDefinitionCondition_To_v1beta1_CustomResourceDefinitionCondition(in *apiextensions.CustomResourceDefinitionCondition, out *CustomResourceDefinitionCondition, s conversion.Scope) error

Convert_apiextensions_CustomResourceDefinitionCondition_To_v1beta1_CustomResourceDefinitionCondition is an autogenerated conversion function.

func Convert_apiextensions_CustomResourceDefinitionList_To_v1beta1_CustomResourceDefinitionList

func Convert_apiextensions_CustomResourceDefinitionList_To_v1beta1_CustomResourceDefinitionList(in *apiextensions.CustomResourceDefinitionList, out *CustomResourceDefinitionList, s conversion.Scope) error

Convert_apiextensions_CustomResourceDefinitionList_To_v1beta1_CustomResourceDefinitionList is an autogenerated conversion function.

func Convert_apiextensions_CustomResourceDefinitionNames_To_v1beta1_CustomResourceDefinitionNames

func Convert_apiextensions_CustomResourceDefinitionNames_To_v1beta1_CustomResourceDefinitionNames(in *apiextensions.CustomResourceDefinitionNames, out *CustomResourceDefinitionNames, s conversion.Scope) error

Convert_apiextensions_CustomResourceDefinitionNames_To_v1beta1_CustomResourceDefinitionNames is an autogenerated conversion function.

func Convert_apiextensions_CustomResourceDefinitionSpec_To_v1beta1_CustomResourceDefinitionSpec

func Convert_apiextensions_CustomResourceDefinitionSpec_To_v1beta1_CustomResourceDefinitionSpec(in *apiextensions.CustomResourceDefinitionSpec, out *CustomResourceDefinitionSpec, s conversion.Scope) error

Convert_apiextensions_CustomResourceDefinitionSpec_To_v1beta1_CustomResourceDefinitionSpec is an autogenerated conversion function.

func Convert_apiextensions_CustomResourceDefinitionStatus_To_v1beta1_CustomResourceDefinitionStatus

func Convert_apiextensions_CustomResourceDefinitionStatus_To_v1beta1_CustomResourceDefinitionStatus(in *apiextensions.CustomResourceDefinitionStatus, out *CustomResourceDefinitionStatus, s conversion.Scope) error

Convert_apiextensions_CustomResourceDefinitionStatus_To_v1beta1_CustomResourceDefinitionStatus is an autogenerated conversion function.

func Convert_apiextensions_CustomResourceDefinitionVersion_To_v1beta1_CustomResourceDefinitionVersion added in v1.11.0

func Convert_apiextensions_CustomResourceDefinitionVersion_To_v1beta1_CustomResourceDefinitionVersion(in *apiextensions.CustomResourceDefinitionVersion, out *CustomResourceDefinitionVersion, s conversion.Scope) error

Convert_apiextensions_CustomResourceDefinitionVersion_To_v1beta1_CustomResourceDefinitionVersion is an autogenerated conversion function.

func Convert_apiextensions_CustomResourceDefinition_To_v1beta1_CustomResourceDefinition

func Convert_apiextensions_CustomResourceDefinition_To_v1beta1_CustomResourceDefinition(in *apiextensions.CustomResourceDefinition, out *CustomResourceDefinition, s conversion.Scope) error

Convert_apiextensions_CustomResourceDefinition_To_v1beta1_CustomResourceDefinition is an autogenerated conversion function.

func Convert_apiextensions_CustomResourceSubresourceScale_To_v1beta1_CustomResourceSubresourceScale added in v1.10.0

func Convert_apiextensions_CustomResourceSubresourceScale_To_v1beta1_CustomResourceSubresourceScale(in *apiextensions.CustomResourceSubresourceScale, out *CustomResourceSubresourceScale, s conversion.Scope) error

Convert_apiextensions_CustomResourceSubresourceScale_To_v1beta1_CustomResourceSubresourceScale is an autogenerated conversion function.

func Convert_apiextensions_CustomResourceSubresourceStatus_To_v1beta1_CustomResourceSubresourceStatus added in v1.10.0

func Convert_apiextensions_CustomResourceSubresourceStatus_To_v1beta1_CustomResourceSubresourceStatus(in *apiextensions.CustomResourceSubresourceStatus, out *CustomResourceSubresourceStatus, s conversion.Scope) error

Convert_apiextensions_CustomResourceSubresourceStatus_To_v1beta1_CustomResourceSubresourceStatus is an autogenerated conversion function.

func Convert_apiextensions_CustomResourceSubresources_To_v1beta1_CustomResourceSubresources added in v1.10.0

func Convert_apiextensions_CustomResourceSubresources_To_v1beta1_CustomResourceSubresources(in *apiextensions.CustomResourceSubresources, out *CustomResourceSubresources, s conversion.Scope) error

Convert_apiextensions_CustomResourceSubresources_To_v1beta1_CustomResourceSubresources is an autogenerated conversion function.

func Convert_apiextensions_CustomResourceValidation_To_v1beta1_CustomResourceValidation added in v1.8.0

func Convert_apiextensions_CustomResourceValidation_To_v1beta1_CustomResourceValidation(in *apiextensions.CustomResourceValidation, out *CustomResourceValidation, s conversion.Scope) error

Convert_apiextensions_CustomResourceValidation_To_v1beta1_CustomResourceValidation is an autogenerated conversion function.

func Convert_apiextensions_ExternalDocumentation_To_v1beta1_ExternalDocumentation added in v1.8.0

func Convert_apiextensions_ExternalDocumentation_To_v1beta1_ExternalDocumentation(in *apiextensions.ExternalDocumentation, out *ExternalDocumentation, s conversion.Scope) error

Convert_apiextensions_ExternalDocumentation_To_v1beta1_ExternalDocumentation is an autogenerated conversion function.

func Convert_apiextensions_JSONSchemaPropsOrArray_To_v1beta1_JSONSchemaPropsOrArray added in v1.8.0

func Convert_apiextensions_JSONSchemaPropsOrArray_To_v1beta1_JSONSchemaPropsOrArray(in *apiextensions.JSONSchemaPropsOrArray, out *JSONSchemaPropsOrArray, s conversion.Scope) error

Convert_apiextensions_JSONSchemaPropsOrArray_To_v1beta1_JSONSchemaPropsOrArray is an autogenerated conversion function.

func Convert_apiextensions_JSONSchemaPropsOrBool_To_v1beta1_JSONSchemaPropsOrBool added in v1.8.0

func Convert_apiextensions_JSONSchemaPropsOrBool_To_v1beta1_JSONSchemaPropsOrBool(in *apiextensions.JSONSchemaPropsOrBool, out *JSONSchemaPropsOrBool, s conversion.Scope) error

Convert_apiextensions_JSONSchemaPropsOrBool_To_v1beta1_JSONSchemaPropsOrBool is an autogenerated conversion function.

func Convert_apiextensions_JSONSchemaPropsOrStringArray_To_v1beta1_JSONSchemaPropsOrStringArray added in v1.8.0

func Convert_apiextensions_JSONSchemaPropsOrStringArray_To_v1beta1_JSONSchemaPropsOrStringArray(in *apiextensions.JSONSchemaPropsOrStringArray, out *JSONSchemaPropsOrStringArray, s conversion.Scope) error

Convert_apiextensions_JSONSchemaPropsOrStringArray_To_v1beta1_JSONSchemaPropsOrStringArray is an autogenerated conversion function.

func Convert_apiextensions_JSONSchemaProps_To_v1beta1_JSONSchemaProps added in v1.8.0

func Convert_apiextensions_JSONSchemaProps_To_v1beta1_JSONSchemaProps(in *apiextensions.JSONSchemaProps, out *JSONSchemaProps, s conversion.Scope) error

func Convert_apiextensions_JSON_To_v1beta1_JSON added in v1.8.0

func Convert_apiextensions_JSON_To_v1beta1_JSON(in *apiextensions.JSON, out *JSON, s conversion.Scope) error

func Convert_apiextensions_ServiceReference_To_v1beta1_ServiceReference added in v1.13.0

func Convert_apiextensions_ServiceReference_To_v1beta1_ServiceReference(in *apiextensions.ServiceReference, out *ServiceReference, s conversion.Scope) error

Convert_apiextensions_ServiceReference_To_v1beta1_ServiceReference is an autogenerated conversion function.

func Convert_apiextensions_WebhookClientConfig_To_v1beta1_WebhookClientConfig added in v1.13.0

func Convert_apiextensions_WebhookClientConfig_To_v1beta1_WebhookClientConfig(in *apiextensions.WebhookClientConfig, out *WebhookClientConfig, s conversion.Scope) error

Convert_apiextensions_WebhookClientConfig_To_v1beta1_WebhookClientConfig is an autogenerated conversion function.

func Convert_v1beta1_CustomResourceColumnDefinition_To_apiextensions_CustomResourceColumnDefinition added in v1.11.0

func Convert_v1beta1_CustomResourceColumnDefinition_To_apiextensions_CustomResourceColumnDefinition(in *CustomResourceColumnDefinition, out *apiextensions.CustomResourceColumnDefinition, s conversion.Scope) error

Convert_v1beta1_CustomResourceColumnDefinition_To_apiextensions_CustomResourceColumnDefinition is an autogenerated conversion function.

func Convert_v1beta1_CustomResourceConversion_To_apiextensions_CustomResourceConversion added in v1.13.0

func Convert_v1beta1_CustomResourceConversion_To_apiextensions_CustomResourceConversion(in *CustomResourceConversion, out *apiextensions.CustomResourceConversion, s conversion.Scope) error

Convert_v1beta1_CustomResourceConversion_To_apiextensions_CustomResourceConversion is an autogenerated conversion function.

func Convert_v1beta1_CustomResourceDefinitionCondition_To_apiextensions_CustomResourceDefinitionCondition

func Convert_v1beta1_CustomResourceDefinitionCondition_To_apiextensions_CustomResourceDefinitionCondition(in *CustomResourceDefinitionCondition, out *apiextensions.CustomResourceDefinitionCondition, s conversion.Scope) error

Convert_v1beta1_CustomResourceDefinitionCondition_To_apiextensions_CustomResourceDefinitionCondition is an autogenerated conversion function.

func Convert_v1beta1_CustomResourceDefinitionList_To_apiextensions_CustomResourceDefinitionList

func Convert_v1beta1_CustomResourceDefinitionList_To_apiextensions_CustomResourceDefinitionList(in *CustomResourceDefinitionList, out *apiextensions.CustomResourceDefinitionList, s conversion.Scope) error

Convert_v1beta1_CustomResourceDefinitionList_To_apiextensions_CustomResourceDefinitionList is an autogenerated conversion function.

func Convert_v1beta1_CustomResourceDefinitionNames_To_apiextensions_CustomResourceDefinitionNames

func Convert_v1beta1_CustomResourceDefinitionNames_To_apiextensions_CustomResourceDefinitionNames(in *CustomResourceDefinitionNames, out *apiextensions.CustomResourceDefinitionNames, s conversion.Scope) error

Convert_v1beta1_CustomResourceDefinitionNames_To_apiextensions_CustomResourceDefinitionNames is an autogenerated conversion function.

func Convert_v1beta1_CustomResourceDefinitionSpec_To_apiextensions_CustomResourceDefinitionSpec

func Convert_v1beta1_CustomResourceDefinitionSpec_To_apiextensions_CustomResourceDefinitionSpec(in *CustomResourceDefinitionSpec, out *apiextensions.CustomResourceDefinitionSpec, s conversion.Scope) error

Convert_v1beta1_CustomResourceDefinitionSpec_To_apiextensions_CustomResourceDefinitionSpec is an autogenerated conversion function.

func Convert_v1beta1_CustomResourceDefinitionStatus_To_apiextensions_CustomResourceDefinitionStatus

func Convert_v1beta1_CustomResourceDefinitionStatus_To_apiextensions_CustomResourceDefinitionStatus(in *CustomResourceDefinitionStatus, out *apiextensions.CustomResourceDefinitionStatus, s conversion.Scope) error

Convert_v1beta1_CustomResourceDefinitionStatus_To_apiextensions_CustomResourceDefinitionStatus is an autogenerated conversion function.

func Convert_v1beta1_CustomResourceDefinitionVersion_To_apiextensions_CustomResourceDefinitionVersion added in v1.11.0

func Convert_v1beta1_CustomResourceDefinitionVersion_To_apiextensions_CustomResourceDefinitionVersion(in *CustomResourceDefinitionVersion, out *apiextensions.CustomResourceDefinitionVersion, s conversion.Scope) error

Convert_v1beta1_CustomResourceDefinitionVersion_To_apiextensions_CustomResourceDefinitionVersion is an autogenerated conversion function.

func Convert_v1beta1_CustomResourceDefinition_To_apiextensions_CustomResourceDefinition

func Convert_v1beta1_CustomResourceDefinition_To_apiextensions_CustomResourceDefinition(in *CustomResourceDefinition, out *apiextensions.CustomResourceDefinition, s conversion.Scope) error

Convert_v1beta1_CustomResourceDefinition_To_apiextensions_CustomResourceDefinition is an autogenerated conversion function.

func Convert_v1beta1_CustomResourceSubresourceScale_To_apiextensions_CustomResourceSubresourceScale added in v1.10.0

func Convert_v1beta1_CustomResourceSubresourceScale_To_apiextensions_CustomResourceSubresourceScale(in *CustomResourceSubresourceScale, out *apiextensions.CustomResourceSubresourceScale, s conversion.Scope) error

Convert_v1beta1_CustomResourceSubresourceScale_To_apiextensions_CustomResourceSubresourceScale is an autogenerated conversion function.

func Convert_v1beta1_CustomResourceSubresourceStatus_To_apiextensions_CustomResourceSubresourceStatus added in v1.10.0

func Convert_v1beta1_CustomResourceSubresourceStatus_To_apiextensions_CustomResourceSubresourceStatus(in *CustomResourceSubresourceStatus, out *apiextensions.CustomResourceSubresourceStatus, s conversion.Scope) error

Convert_v1beta1_CustomResourceSubresourceStatus_To_apiextensions_CustomResourceSubresourceStatus is an autogenerated conversion function.

func Convert_v1beta1_CustomResourceSubresources_To_apiextensions_CustomResourceSubresources added in v1.10.0

func Convert_v1beta1_CustomResourceSubresources_To_apiextensions_CustomResourceSubresources(in *CustomResourceSubresources, out *apiextensions.CustomResourceSubresources, s conversion.Scope) error

Convert_v1beta1_CustomResourceSubresources_To_apiextensions_CustomResourceSubresources is an autogenerated conversion function.

func Convert_v1beta1_CustomResourceValidation_To_apiextensions_CustomResourceValidation added in v1.8.0

func Convert_v1beta1_CustomResourceValidation_To_apiextensions_CustomResourceValidation(in *CustomResourceValidation, out *apiextensions.CustomResourceValidation, s conversion.Scope) error

Convert_v1beta1_CustomResourceValidation_To_apiextensions_CustomResourceValidation is an autogenerated conversion function.

func Convert_v1beta1_ExternalDocumentation_To_apiextensions_ExternalDocumentation added in v1.8.0

func Convert_v1beta1_ExternalDocumentation_To_apiextensions_ExternalDocumentation(in *ExternalDocumentation, out *apiextensions.ExternalDocumentation, s conversion.Scope) error

Convert_v1beta1_ExternalDocumentation_To_apiextensions_ExternalDocumentation is an autogenerated conversion function.

func Convert_v1beta1_JSONSchemaPropsOrArray_To_apiextensions_JSONSchemaPropsOrArray added in v1.8.0

func Convert_v1beta1_JSONSchemaPropsOrArray_To_apiextensions_JSONSchemaPropsOrArray(in *JSONSchemaPropsOrArray, out *apiextensions.JSONSchemaPropsOrArray, s conversion.Scope) error

Convert_v1beta1_JSONSchemaPropsOrArray_To_apiextensions_JSONSchemaPropsOrArray is an autogenerated conversion function.

func Convert_v1beta1_JSONSchemaPropsOrBool_To_apiextensions_JSONSchemaPropsOrBool added in v1.8.0

func Convert_v1beta1_JSONSchemaPropsOrBool_To_apiextensions_JSONSchemaPropsOrBool(in *JSONSchemaPropsOrBool, out *apiextensions.JSONSchemaPropsOrBool, s conversion.Scope) error

Convert_v1beta1_JSONSchemaPropsOrBool_To_apiextensions_JSONSchemaPropsOrBool is an autogenerated conversion function.

func Convert_v1beta1_JSONSchemaPropsOrStringArray_To_apiextensions_JSONSchemaPropsOrStringArray added in v1.8.0

func Convert_v1beta1_JSONSchemaPropsOrStringArray_To_apiextensions_JSONSchemaPropsOrStringArray(in *JSONSchemaPropsOrStringArray, out *apiextensions.JSONSchemaPropsOrStringArray, s conversion.Scope) error

Convert_v1beta1_JSONSchemaPropsOrStringArray_To_apiextensions_JSONSchemaPropsOrStringArray is an autogenerated conversion function.

func Convert_v1beta1_JSONSchemaProps_To_apiextensions_JSONSchemaProps added in v1.8.0

func Convert_v1beta1_JSONSchemaProps_To_apiextensions_JSONSchemaProps(in *JSONSchemaProps, out *apiextensions.JSONSchemaProps, s conversion.Scope) error

Convert_v1beta1_JSONSchemaProps_To_apiextensions_JSONSchemaProps is an autogenerated conversion function.

func Convert_v1beta1_JSON_To_apiextensions_JSON added in v1.8.0

func Convert_v1beta1_JSON_To_apiextensions_JSON(in *JSON, out *apiextensions.JSON, s conversion.Scope) error

func Convert_v1beta1_ServiceReference_To_apiextensions_ServiceReference added in v1.13.0

func Convert_v1beta1_ServiceReference_To_apiextensions_ServiceReference(in *ServiceReference, out *apiextensions.ServiceReference, s conversion.Scope) error

Convert_v1beta1_ServiceReference_To_apiextensions_ServiceReference is an autogenerated conversion function.

func Convert_v1beta1_WebhookClientConfig_To_apiextensions_WebhookClientConfig added in v1.13.0

func Convert_v1beta1_WebhookClientConfig_To_apiextensions_WebhookClientConfig(in *WebhookClientConfig, out *apiextensions.WebhookClientConfig, s conversion.Scope) error

Convert_v1beta1_WebhookClientConfig_To_apiextensions_WebhookClientConfig is an autogenerated conversion function.

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

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

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

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

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns back a Group qualified GroupResource

func SetDefaults_CustomResourceDefinition

func SetDefaults_CustomResourceDefinition(obj *CustomResourceDefinition)

func SetDefaults_CustomResourceDefinitionSpec

func SetDefaults_CustomResourceDefinitionSpec(obj *CustomResourceDefinitionSpec)

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 added in v1.13.0

type ConversionRequest struct {
	// `uid` is an identifier for the individual request/response. It allows us to distinguish instances of requests which are
	// otherwise identical (parallel requests, requests when earlier requests did not modify etc)
	// The UID is meant to track the round trip (request/response) between the KAS 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 CR objects to be converted.
	Objects []runtime.RawExtension `json:"objects" protobuf:"bytes,3,rep,name=objects"`
}

ConversionRequest describes the conversion request parameters.

func (*ConversionRequest) DeepCopy added in v1.13.0

func (in *ConversionRequest) DeepCopy() *ConversionRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConversionRequest.

func (*ConversionRequest) DeepCopyInto added in v1.13.0

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 added in v1.13.0

func (*ConversionRequest) Descriptor() ([]byte, []int)

func (*ConversionRequest) Marshal added in v1.13.0

func (m *ConversionRequest) Marshal() (dAtA []byte, err error)

func (*ConversionRequest) MarshalTo added in v1.13.0

func (m *ConversionRequest) MarshalTo(dAtA []byte) (int, error)

func (*ConversionRequest) ProtoMessage added in v1.13.0

func (*ConversionRequest) ProtoMessage()

func (*ConversionRequest) Reset added in v1.13.0

func (m *ConversionRequest) Reset()

func (*ConversionRequest) Size added in v1.13.0

func (m *ConversionRequest) Size() (n int)

func (*ConversionRequest) String added in v1.13.0

func (this *ConversionRequest) String() string

func (*ConversionRequest) Unmarshal added in v1.13.0

func (m *ConversionRequest) Unmarshal(dAtA []byte) error

type ConversionResponse added in v1.13.0

type ConversionResponse struct {
	// `uid` is an identifier for the individual request/response.
	// This should be copied over from the corresponding AdmissionRequest.
	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 ConversionRequest.desiredAPIVersion. The list
	// must also has the same size as input list with the same objects in the same order(i.e. equal UIDs and object meta)
	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 represent 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 added in v1.13.0

func (in *ConversionResponse) DeepCopy() *ConversionResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConversionResponse.

func (*ConversionResponse) DeepCopyInto added in v1.13.0

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 added in v1.13.0

func (*ConversionResponse) Descriptor() ([]byte, []int)

func (*ConversionResponse) Marshal added in v1.13.0

func (m *ConversionResponse) Marshal() (dAtA []byte, err error)

func (*ConversionResponse) MarshalTo added in v1.13.0

func (m *ConversionResponse) MarshalTo(dAtA []byte) (int, error)

func (*ConversionResponse) ProtoMessage added in v1.13.0

func (*ConversionResponse) ProtoMessage()

func (*ConversionResponse) Reset added in v1.13.0

func (m *ConversionResponse) Reset()

func (*ConversionResponse) Size added in v1.13.0

func (m *ConversionResponse) Size() (n int)

func (*ConversionResponse) String added in v1.13.0

func (this *ConversionResponse) String() string

func (*ConversionResponse) Unmarshal added in v1.13.0

func (m *ConversionResponse) Unmarshal(dAtA []byte) error

type ConversionReview added in v1.13.0

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) DeepCopy added in v1.13.0

func (in *ConversionReview) DeepCopy() *ConversionReview

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConversionReview.

func (*ConversionReview) DeepCopyInto added in v1.13.0

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 added in v1.13.0

func (in *ConversionReview) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ConversionReview) Descriptor added in v1.13.0

func (*ConversionReview) Descriptor() ([]byte, []int)

func (*ConversionReview) Marshal added in v1.13.0

func (m *ConversionReview) Marshal() (dAtA []byte, err error)

func (*ConversionReview) MarshalTo added in v1.13.0

func (m *ConversionReview) MarshalTo(dAtA []byte) (int, error)

func (*ConversionReview) ProtoMessage added in v1.13.0

func (*ConversionReview) ProtoMessage()

func (*ConversionReview) Reset added in v1.13.0

func (m *ConversionReview) Reset()

func (*ConversionReview) Size added in v1.13.0

func (m *ConversionReview) Size() (n int)

func (*ConversionReview) String added in v1.13.0

func (this *ConversionReview) String() string

func (*ConversionReview) Unmarshal added in v1.13.0

func (m *ConversionReview) Unmarshal(dAtA []byte) error

type ConversionStrategyType added in v1.13.0

type ConversionStrategyType string

ConversionStrategyType describes different conversion types.

const (
	// 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 added in v1.11.0

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 more.
	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 more.
	// +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 higher priority.
	// +optional
	Priority int32 `json:"priority,omitempty" protobuf:"bytes,5,opt,name=priority"`

	// JSONPath is a simple JSON path, i.e. with array notation.
	JSONPath string `json:"JSONPath" protobuf:"bytes,6,opt,name=JSONPath"`
}

CustomResourceColumnDefinition specifies a column for server side printing.

func (*CustomResourceColumnDefinition) DeepCopy added in v1.11.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceColumnDefinition.

func (*CustomResourceColumnDefinition) DeepCopyInto added in v1.11.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CustomResourceColumnDefinition) Descriptor added in v1.11.0

func (*CustomResourceColumnDefinition) Descriptor() ([]byte, []int)

func (*CustomResourceColumnDefinition) Marshal added in v1.11.0

func (m *CustomResourceColumnDefinition) Marshal() (dAtA []byte, err error)

func (*CustomResourceColumnDefinition) MarshalTo added in v1.11.0

func (m *CustomResourceColumnDefinition) MarshalTo(dAtA []byte) (int, error)

func (*CustomResourceColumnDefinition) ProtoMessage added in v1.11.0

func (*CustomResourceColumnDefinition) ProtoMessage()

func (*CustomResourceColumnDefinition) Reset added in v1.11.0

func (m *CustomResourceColumnDefinition) Reset()

func (*CustomResourceColumnDefinition) Size added in v1.11.0

func (m *CustomResourceColumnDefinition) Size() (n int)

func (*CustomResourceColumnDefinition) String added in v1.11.0

func (this *CustomResourceColumnDefinition) String() string

func (*CustomResourceColumnDefinition) Unmarshal added in v1.11.0

func (m *CustomResourceColumnDefinition) Unmarshal(dAtA []byte) error

type CustomResourceConversion added in v1.13.0

type CustomResourceConversion struct {
	// `strategy` specifies the conversion strategy. Allowed values are:
	// - `None`: The converter only change the apiVersion and would not touch any other field in the CR.
	// - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information is needed for this option.
	Strategy ConversionStrategyType `json:"strategy" protobuf:"bytes,1,name=strategy"`

	// `webhookClientConfig` is the instructions for how to call the webhook if strategy is `Webhook`. This field is
	// alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature.
	// +optional
	WebhookClientConfig *WebhookClientConfig `json:"webhookClientConfig,omitempty" protobuf:"bytes,2,name=webhookClientConfig"`

	// ConversionReviewVersions is an ordered list of preferred `ConversionReview`
	// versions the Webhook expects. API server will try to use first version in
	// the list which it supports. If none of the versions specified in this list
	// supported by API server, conversion will fail for this object.
	// 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.
	// Default to `['v1beta1']`.
	// +optional
	ConversionReviewVersions []string `json:"conversionReviewVersions,omitempty" protobuf:"bytes,3,rep,name=conversionReviewVersions"`
}

CustomResourceConversion describes how to convert different versions of a CR.

func (*CustomResourceConversion) DeepCopy added in v1.13.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceConversion.

func (*CustomResourceConversion) DeepCopyInto added in v1.13.0

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 added in v1.13.0

func (*CustomResourceConversion) Descriptor() ([]byte, []int)

func (*CustomResourceConversion) Marshal added in v1.13.0

func (m *CustomResourceConversion) Marshal() (dAtA []byte, err error)

func (*CustomResourceConversion) MarshalTo added in v1.13.0

func (m *CustomResourceConversion) MarshalTo(dAtA []byte) (int, error)

func (*CustomResourceConversion) ProtoMessage added in v1.13.0

func (*CustomResourceConversion) ProtoMessage()

func (*CustomResourceConversion) Reset added in v1.13.0

func (m *CustomResourceConversion) Reset()

func (*CustomResourceConversion) Size added in v1.13.0

func (m *CustomResourceConversion) Size() (n int)

func (*CustomResourceConversion) String added in v1.13.0

func (this *CustomResourceConversion) String() string

func (*CustomResourceConversion) Unmarshal added in v1.13.0

func (m *CustomResourceConversion) Unmarshal(dAtA []byte) error

type CustomResourceDefinition

type CustomResourceDefinition struct {
	metav1.TypeMeta   `json:",inline"`
	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) DeepCopy added in v1.8.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinition.

func (*CustomResourceDefinition) DeepCopyInto added in v1.8.0

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 added in v1.8.0

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) 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

type CustomResourceDefinitionCondition

type CustomResourceDefinitionCondition struct {
	// Type is the type of the condition.
	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"`
	// Last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,3,opt,name=lastTransitionTime"`
	// Unique, one-word, CamelCase reason for the condition's last transition.
	// +optional
	Reason string `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason"`
	// 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 added in v1.8.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionCondition.

func (*CustomResourceDefinitionCondition) DeepCopyInto added in v1.8.0

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) ProtoMessage

func (*CustomResourceDefinitionCondition) ProtoMessage()

func (*CustomResourceDefinitionCondition) Reset

func (*CustomResourceDefinitionCondition) Size

func (m *CustomResourceDefinitionCondition) Size() (n int)

func (*CustomResourceDefinitionCondition) String

func (*CustomResourceDefinitionCondition) Unmarshal

func (m *CustomResourceDefinitionCondition) Unmarshal(dAtA []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"
	// Terminating means that the CustomResourceDefinition has been deleted and is cleaning up.
	Terminating CustomResourceDefinitionConditionType = "Terminating"
)

type CustomResourceDefinitionList

type CustomResourceDefinitionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items individual CustomResourceDefinitions
	Items []CustomResourceDefinition `json:"items" protobuf:"bytes,2,rep,name=items"`
}

CustomResourceDefinitionList is a list of CustomResourceDefinition objects.

func (*CustomResourceDefinitionList) DeepCopy added in v1.8.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionList.

func (*CustomResourceDefinitionList) DeepCopyInto added in v1.8.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CustomResourceDefinitionList) DeepCopyObject added in v1.8.0

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) 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

type CustomResourceDefinitionNames

type CustomResourceDefinitionNames struct {
	// Plural is the plural name of the resource to serve.  It must match the name of the CustomResourceDefinition-registration
	// too: plural.group and it 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.  It must be all lowercase.
	// +optional
	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.
	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 custom resources belong to (e.g. 'all')
	// +optional
	Categories []string `json:"categories,omitempty" protobuf:"bytes,6,rep,name=categories"`
}

CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition

func (*CustomResourceDefinitionNames) DeepCopy added in v1.8.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionNames.

func (*CustomResourceDefinitionNames) DeepCopyInto added in v1.8.0

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) 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

type CustomResourceDefinitionSpec

type CustomResourceDefinitionSpec struct {
	// Group is the group this resource belongs in
	Group string `json:"group" protobuf:"bytes,1,opt,name=group"`
	// Version is the version this resource belongs in
	// Should be always first item in Versions field if provided.
	// Optional, but at least one of Version or Versions must be set.
	// Deprecated: Please use `Versions`.
	// +optional
	Version string `json:"version,omitempty" protobuf:"bytes,2,opt,name=version"`
	// Names are the names used to describe this custom resource
	Names CustomResourceDefinitionNames `json:"names" protobuf:"bytes,3,opt,name=names"`
	// Scope indicates whether this resource is cluster or namespace scoped.  Default is namespaced
	Scope ResourceScope `json:"scope" protobuf:"bytes,4,opt,name=scope,casttype=ResourceScope"`
	// Validation describes the validation methods for CustomResources
	// Optional, the global validation schema for all versions.
	// Top-level and per-version schemas are mutually exclusive.
	// +optional
	Validation *CustomResourceValidation `json:"validation,omitempty" protobuf:"bytes,5,opt,name=validation"`
	// Subresources describes the subresources for CustomResource
	// Optional, the global subresources for all versions.
	// Top-level and per-version subresources are mutually exclusive.
	// +optional
	Subresources *CustomResourceSubresources `json:"subresources,omitempty" protobuf:"bytes,6,opt,name=subresources"`
	// Versions is the list of all supported versions for this resource.
	// If Version field is provided, this field is optional.
	// Validation: All versions must use the same validation schema for now. i.e., top
	// level Validation field is applied to all of these versions.
	// Order: The version name will be used to compute the order.
	// 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.
	// +optional
	Versions []CustomResourceDefinitionVersion `json:"versions,omitempty" protobuf:"bytes,7,rep,name=versions"`
	// AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column.
	// Optional, the global columns for all versions.
	// Top-level and per-version columns are mutually exclusive.
	// +optional
	AdditionalPrinterColumns []CustomResourceColumnDefinition `json:"additionalPrinterColumns,omitempty" protobuf:"bytes,8,rep,name=additionalPrinterColumns"`

	// `conversion` defines conversion settings for the CRD.
	// +optional
	Conversion *CustomResourceConversion `json:"conversion,omitempty" protobuf:"bytes,9,opt,name=conversion"`
}

CustomResourceDefinitionSpec describes how a user wants their resource to appear

func (*CustomResourceDefinitionSpec) DeepCopy added in v1.8.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionSpec.

func (*CustomResourceDefinitionSpec) DeepCopyInto added in v1.8.0

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) 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

type CustomResourceDefinitionStatus

type CustomResourceDefinitionStatus struct {
	// Conditions indicate state for particular aspects of a CustomResourceDefinition
	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.
	AcceptedNames CustomResourceDefinitionNames `json:"acceptedNames" protobuf:"bytes,2,opt,name=acceptedNames"`

	// StoredVersions are 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 the migration controller can first finish a migration to another version (i.e.
	// that no old objects are left in the storage), and then remove the rest of the
	// versions from this list.
	// None of the versions in this list can be removed from the spec.Versions field.
	StoredVersions []string `json:"storedVersions" protobuf:"bytes,3,rep,name=storedVersions"`
}

CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition

func (*CustomResourceDefinitionStatus) DeepCopy added in v1.8.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionStatus.

func (*CustomResourceDefinitionStatus) DeepCopyInto added in v1.8.0

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) 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

type CustomResourceDefinitionVersion added in v1.11.0

type CustomResourceDefinitionVersion struct {
	// Name is the version name, e.g. “v1”, “v2beta1”, etc.
	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 flags the version as storage version. There must be exactly one
	// flagged as storage version.
	Storage bool `json:"storage" protobuf:"varint,3,opt,name=storage"`
	// Schema describes the schema for CustomResource used in validation, pruning, and defaulting.
	// Top-level and per-version schemas are mutually exclusive.
	// Per-version schemas must not all be set to identical values (top-level validation schema should be used instead)
	// This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature.
	// +optional
	Schema *CustomResourceValidation `json:"schema,omitempty" protobuf:"bytes,4,opt,name=schema"`
	// Subresources describes the subresources for CustomResource
	// Top-level and per-version subresources are mutually exclusive.
	// Per-version subresources must not all be set to identical values (top-level subresources should be used instead)
	// This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature.
	// +optional
	Subresources *CustomResourceSubresources `json:"subresources,omitempty" protobuf:"bytes,5,opt,name=subresources"`
	// AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column.
	// Top-level and per-version columns are mutually exclusive.
	// Per-version columns must not all be set to identical values (top-level columns should be used instead)
	// This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature.
	// NOTE: CRDs created prior to 1.13 populated the top-level additionalPrinterColumns field by default. To apply an
	// update that changes to per-version additionalPrinterColumns, the top-level additionalPrinterColumns field must
	// be explicitly set to null
	// +optional
	AdditionalPrinterColumns []CustomResourceColumnDefinition `json:"additionalPrinterColumns,omitempty" protobuf:"bytes,6,rep,name=additionalPrinterColumns"`
}

CustomResourceDefinitionVersion describes a version for CRD.

func (*CustomResourceDefinitionVersion) DeepCopy added in v1.11.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionVersion.

func (*CustomResourceDefinitionVersion) DeepCopyInto added in v1.11.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CustomResourceDefinitionVersion) Descriptor added in v1.11.0

func (*CustomResourceDefinitionVersion) Descriptor() ([]byte, []int)

func (*CustomResourceDefinitionVersion) Marshal added in v1.11.0

func (m *CustomResourceDefinitionVersion) Marshal() (dAtA []byte, err error)

func (*CustomResourceDefinitionVersion) MarshalTo added in v1.11.0

func (m *CustomResourceDefinitionVersion) MarshalTo(dAtA []byte) (int, error)

func (*CustomResourceDefinitionVersion) ProtoMessage added in v1.11.0

func (*CustomResourceDefinitionVersion) ProtoMessage()

func (*CustomResourceDefinitionVersion) Reset added in v1.11.0

func (*CustomResourceDefinitionVersion) Size added in v1.11.0

func (m *CustomResourceDefinitionVersion) Size() (n int)

func (*CustomResourceDefinitionVersion) String added in v1.11.0

func (this *CustomResourceDefinitionVersion) String() string

func (*CustomResourceDefinitionVersion) Unmarshal added in v1.11.0

func (m *CustomResourceDefinitionVersion) Unmarshal(dAtA []byte) error

type CustomResourceSubresourceScale added in v1.10.0

type CustomResourceSubresourceScale struct {
	// SpecReplicasPath defines the JSON path inside of a CustomResource 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 CustomResource, 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 CustomResource 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 CustomResource, the status replica 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 CustomResource that corresponds to Scale.Status.Selector.
	// Only JSON paths without the array notation are allowed.
	// Must be a JSON Path under .status.
	// Must be set to work with HPA.
	// If there is no value under the given path in the CustomResource, the status label 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 added in v1.10.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceSubresourceScale.

func (*CustomResourceSubresourceScale) DeepCopyInto added in v1.10.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CustomResourceSubresourceScale) Descriptor added in v1.10.0

func (*CustomResourceSubresourceScale) Descriptor() ([]byte, []int)

func (*CustomResourceSubresourceScale) Marshal added in v1.10.0

func (m *CustomResourceSubresourceScale) Marshal() (dAtA []byte, err error)

func (*CustomResourceSubresourceScale) MarshalTo added in v1.10.0

func (m *CustomResourceSubresourceScale) MarshalTo(dAtA []byte) (int, error)

func (*CustomResourceSubresourceScale) ProtoMessage added in v1.10.0

func (*CustomResourceSubresourceScale) ProtoMessage()

func (*CustomResourceSubresourceScale) Reset added in v1.10.0

func (m *CustomResourceSubresourceScale) Reset()

func (*CustomResourceSubresourceScale) Size added in v1.10.0

func (m *CustomResourceSubresourceScale) Size() (n int)

func (*CustomResourceSubresourceScale) String added in v1.10.0

func (this *CustomResourceSubresourceScale) String() string

func (*CustomResourceSubresourceScale) Unmarshal added in v1.10.0

func (m *CustomResourceSubresourceScale) Unmarshal(dAtA []byte) error

type CustomResourceSubresourceStatus added in v1.10.0

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 added in v1.10.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceSubresourceStatus.

func (*CustomResourceSubresourceStatus) DeepCopyInto added in v1.10.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CustomResourceSubresourceStatus) Descriptor added in v1.10.0

func (*CustomResourceSubresourceStatus) Descriptor() ([]byte, []int)

func (*CustomResourceSubresourceStatus) Marshal added in v1.10.0

func (m *CustomResourceSubresourceStatus) Marshal() (dAtA []byte, err error)

func (*CustomResourceSubresourceStatus) MarshalTo added in v1.10.0

func (m *CustomResourceSubresourceStatus) MarshalTo(dAtA []byte) (int, error)

func (*CustomResourceSubresourceStatus) ProtoMessage added in v1.10.0

func (*CustomResourceSubresourceStatus) ProtoMessage()

func (*CustomResourceSubresourceStatus) Reset added in v1.10.0

func (*CustomResourceSubresourceStatus) Size added in v1.10.0

func (m *CustomResourceSubresourceStatus) Size() (n int)

func (*CustomResourceSubresourceStatus) String added in v1.10.0

func (this *CustomResourceSubresourceStatus) String() string

func (*CustomResourceSubresourceStatus) Unmarshal added in v1.10.0

func (m *CustomResourceSubresourceStatus) Unmarshal(dAtA []byte) error

type CustomResourceSubresources added in v1.10.0

type CustomResourceSubresources struct {
	// Status denotes the status subresource for CustomResources
	// +optional
	Status *CustomResourceSubresourceStatus `json:"status,omitempty" protobuf:"bytes,1,opt,name=status"`
	// Scale denotes the scale subresource for CustomResources
	// +optional
	Scale *CustomResourceSubresourceScale `json:"scale,omitempty" protobuf:"bytes,2,opt,name=scale"`
}

CustomResourceSubresources defines the status and scale subresources for CustomResources.

func (*CustomResourceSubresources) DeepCopy added in v1.10.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceSubresources.

func (*CustomResourceSubresources) DeepCopyInto added in v1.10.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CustomResourceSubresources) Descriptor added in v1.10.0

func (*CustomResourceSubresources) Descriptor() ([]byte, []int)

func (*CustomResourceSubresources) Marshal added in v1.10.0

func (m *CustomResourceSubresources) Marshal() (dAtA []byte, err error)

func (*CustomResourceSubresources) MarshalTo added in v1.10.0

func (m *CustomResourceSubresources) MarshalTo(dAtA []byte) (int, error)

func (*CustomResourceSubresources) ProtoMessage added in v1.10.0

func (*CustomResourceSubresources) ProtoMessage()

func (*CustomResourceSubresources) Reset added in v1.10.0

func (m *CustomResourceSubresources) Reset()

func (*CustomResourceSubresources) Size added in v1.10.0

func (m *CustomResourceSubresources) Size() (n int)

func (*CustomResourceSubresources) String added in v1.10.0

func (this *CustomResourceSubresources) String() string

func (*CustomResourceSubresources) Unmarshal added in v1.10.0

func (m *CustomResourceSubresources) Unmarshal(dAtA []byte) error

type CustomResourceValidation added in v1.8.0

type CustomResourceValidation struct {
	// OpenAPIV3Schema is the OpenAPI v3 schema to be validated against.
	// +optional
	OpenAPIV3Schema *JSONSchemaProps `json:"openAPIV3Schema,omitempty" protobuf:"bytes,1,opt,name=openAPIV3Schema"`
}

CustomResourceValidation is a list of validation methods for CustomResources.

func (*CustomResourceValidation) DeepCopy added in v1.8.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceValidation.

func (*CustomResourceValidation) DeepCopyInto added in v1.8.0

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 added in v1.8.0

func (*CustomResourceValidation) Descriptor() ([]byte, []int)

func (*CustomResourceValidation) Marshal added in v1.8.0

func (m *CustomResourceValidation) Marshal() (dAtA []byte, err error)

func (*CustomResourceValidation) MarshalTo added in v1.8.0

func (m *CustomResourceValidation) MarshalTo(dAtA []byte) (int, error)

func (*CustomResourceValidation) ProtoMessage added in v1.8.0

func (*CustomResourceValidation) ProtoMessage()

func (*CustomResourceValidation) Reset added in v1.8.0

func (m *CustomResourceValidation) Reset()

func (*CustomResourceValidation) Size added in v1.8.0

func (m *CustomResourceValidation) Size() (n int)

func (*CustomResourceValidation) String added in v1.8.0

func (this *CustomResourceValidation) String() string

func (*CustomResourceValidation) Unmarshal added in v1.8.0

func (m *CustomResourceValidation) Unmarshal(dAtA []byte) error

type ExternalDocumentation added in v1.8.0

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 added in v1.8.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalDocumentation.

func (*ExternalDocumentation) DeepCopyInto added in v1.8.0

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 added in v1.8.0

func (*ExternalDocumentation) Descriptor() ([]byte, []int)

func (*ExternalDocumentation) Marshal added in v1.8.0

func (m *ExternalDocumentation) Marshal() (dAtA []byte, err error)

func (*ExternalDocumentation) MarshalTo added in v1.8.0

func (m *ExternalDocumentation) MarshalTo(dAtA []byte) (int, error)

func (*ExternalDocumentation) ProtoMessage added in v1.8.0

func (*ExternalDocumentation) ProtoMessage()

func (*ExternalDocumentation) Reset added in v1.8.0

func (m *ExternalDocumentation) Reset()

func (*ExternalDocumentation) Size added in v1.8.0

func (m *ExternalDocumentation) Size() (n int)

func (*ExternalDocumentation) String added in v1.8.0

func (this *ExternalDocumentation) String() string

func (*ExternalDocumentation) Unmarshal added in v1.8.0

func (m *ExternalDocumentation) Unmarshal(dAtA []byte) error

type JSON added in v1.8.0

type JSON struct {
	Raw []byte `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 added in v1.8.0

func (in *JSON) DeepCopy() *JSON

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSON.

func (*JSON) DeepCopyInto added in v1.8.0

func (in *JSON) DeepCopyInto(out *JSON)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*JSON) Descriptor added in v1.8.0

func (*JSON) Descriptor() ([]byte, []int)

func (*JSON) Marshal added in v1.8.0

func (m *JSON) Marshal() (dAtA []byte, err error)

func (JSON) MarshalJSON added in v1.8.0

func (s JSON) MarshalJSON() ([]byte, error)

func (*JSON) MarshalTo added in v1.8.0

func (m *JSON) MarshalTo(dAtA []byte) (int, error)

func (JSON) OpenAPISchemaFormat added in v1.11.0

func (_ JSON) OpenAPISchemaFormat() string

OpenAPISchemaFormat is used by the kube-openapi generator when constructing the OpenAPI spec of this type.

func (JSON) OpenAPISchemaType added in v1.11.0

func (_ JSON) 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 (*JSON) ProtoMessage added in v1.8.0

func (*JSON) ProtoMessage()

func (*JSON) Reset added in v1.8.0

func (m *JSON) Reset()

func (*JSON) Size added in v1.8.0

func (m *JSON) Size() (n int)

func (*JSON) String added in v1.8.0

func (this *JSON) String() string

func (*JSON) Unmarshal added in v1.8.0

func (m *JSON) Unmarshal(dAtA []byte) error

func (*JSON) UnmarshalJSON added in v1.8.0

func (s *JSON) UnmarshalJSON(data []byte) error

type JSONSchemaDefinitions added in v1.8.0

type JSONSchemaDefinitions map[string]JSONSchemaProps

JSONSchemaDefinitions contains the models explicitly defined in this spec.

func (JSONSchemaDefinitions) DeepCopy added in v1.10.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONSchemaDefinitions.

func (JSONSchemaDefinitions) DeepCopyInto added in v1.10.0

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 added in v1.8.0

type JSONSchemaDependencies map[string]JSONSchemaPropsOrStringArray

JSONSchemaDependencies represent a dependencies property.

func (JSONSchemaDependencies) DeepCopy added in v1.10.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONSchemaDependencies.

func (JSONSchemaDependencies) DeepCopyInto added in v1.10.0

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 added in v1.8.0

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               string                     `json:"format,omitempty" protobuf:"bytes,6,opt,name=format"`
	Title                string                     `json:"title,omitempty" protobuf:"bytes,7,opt,name=title"`
	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"`
	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"`
	Required             []string                   `json:"required,omitempty" protobuf:"bytes,23,rep,name=required"`
	Items                *JSONSchemaPropsOrArray    `json:"items,omitempty" protobuf:"bytes,24,opt,name=items"`
	AllOf                []JSONSchemaProps          `json:"allOf,omitempty" protobuf:"bytes,25,rep,name=allOf"`
	OneOf                []JSONSchemaProps          `json:"oneOf,omitempty" protobuf:"bytes,26,rep,name=oneOf"`
	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"`
}

JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).

func (*JSONSchemaProps) DeepCopy added in v1.8.0

func (in *JSONSchemaProps) DeepCopy() *JSONSchemaProps

TODO: Update this after a tag is created for interface fields in DeepCopy

func (*JSONSchemaProps) DeepCopyInto added in v1.8.0

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 added in v1.8.0

func (*JSONSchemaProps) Descriptor() ([]byte, []int)

func (*JSONSchemaProps) Marshal added in v1.8.0

func (m *JSONSchemaProps) Marshal() (dAtA []byte, err error)

func (*JSONSchemaProps) MarshalTo added in v1.8.0

func (m *JSONSchemaProps) MarshalTo(dAtA []byte) (int, error)

func (*JSONSchemaProps) ProtoMessage added in v1.8.0

func (*JSONSchemaProps) ProtoMessage()

func (*JSONSchemaProps) Reset added in v1.8.0

func (m *JSONSchemaProps) Reset()

func (*JSONSchemaProps) Size added in v1.8.0

func (m *JSONSchemaProps) Size() (n int)

func (*JSONSchemaProps) String added in v1.8.0

func (this *JSONSchemaProps) String() string

func (*JSONSchemaProps) Unmarshal added in v1.8.0

func (m *JSONSchemaProps) Unmarshal(dAtA []byte) error

type JSONSchemaPropsOrArray added in v1.8.0

type JSONSchemaPropsOrArray struct {
	Schema      *JSONSchemaProps  `protobuf:"bytes,1,opt,name=schema"`
	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 added in v1.8.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONSchemaPropsOrArray.

func (*JSONSchemaPropsOrArray) DeepCopyInto added in v1.8.0

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 added in v1.8.0

func (*JSONSchemaPropsOrArray) Descriptor() ([]byte, []int)

func (*JSONSchemaPropsOrArray) Marshal added in v1.8.0

func (m *JSONSchemaPropsOrArray) Marshal() (dAtA []byte, err error)

func (JSONSchemaPropsOrArray) MarshalJSON added in v1.8.0

func (s JSONSchemaPropsOrArray) MarshalJSON() ([]byte, error)

func (*JSONSchemaPropsOrArray) MarshalTo added in v1.8.0

func (m *JSONSchemaPropsOrArray) MarshalTo(dAtA []byte) (int, error)

func (JSONSchemaPropsOrArray) OpenAPISchemaFormat added in v1.11.0

func (_ JSONSchemaPropsOrArray) OpenAPISchemaFormat() string

OpenAPISchemaFormat is used by the kube-openapi generator when constructing the OpenAPI spec of this type.

func (JSONSchemaPropsOrArray) OpenAPISchemaType added in v1.11.0

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 added in v1.8.0

func (*JSONSchemaPropsOrArray) ProtoMessage()

func (*JSONSchemaPropsOrArray) Reset added in v1.8.0

func (m *JSONSchemaPropsOrArray) Reset()

func (*JSONSchemaPropsOrArray) Size added in v1.8.0

func (m *JSONSchemaPropsOrArray) Size() (n int)

func (*JSONSchemaPropsOrArray) String added in v1.8.0

func (this *JSONSchemaPropsOrArray) String() string

func (*JSONSchemaPropsOrArray) Unmarshal added in v1.8.0

func (m *JSONSchemaPropsOrArray) Unmarshal(dAtA []byte) error

func (*JSONSchemaPropsOrArray) UnmarshalJSON added in v1.8.0

func (s *JSONSchemaPropsOrArray) UnmarshalJSON(data []byte) error

type JSONSchemaPropsOrBool added in v1.8.0

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 added in v1.8.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONSchemaPropsOrBool.

func (*JSONSchemaPropsOrBool) DeepCopyInto added in v1.8.0

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 added in v1.8.0

func (*JSONSchemaPropsOrBool) Descriptor() ([]byte, []int)

func (*JSONSchemaPropsOrBool) Marshal added in v1.8.0

func (m *JSONSchemaPropsOrBool) Marshal() (dAtA []byte, err error)

func (JSONSchemaPropsOrBool) MarshalJSON added in v1.8.0

func (s JSONSchemaPropsOrBool) MarshalJSON() ([]byte, error)

func (*JSONSchemaPropsOrBool) MarshalTo added in v1.8.0

func (m *JSONSchemaPropsOrBool) MarshalTo(dAtA []byte) (int, error)

func (JSONSchemaPropsOrBool) OpenAPISchemaFormat added in v1.11.0

func (_ JSONSchemaPropsOrBool) OpenAPISchemaFormat() string

OpenAPISchemaFormat is used by the kube-openapi generator when constructing the OpenAPI spec of this type.

func (JSONSchemaPropsOrBool) OpenAPISchemaType added in v1.11.0

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 added in v1.8.0

func (*JSONSchemaPropsOrBool) ProtoMessage()

func (*JSONSchemaPropsOrBool) Reset added in v1.8.0

func (m *JSONSchemaPropsOrBool) Reset()

func (*JSONSchemaPropsOrBool) Size added in v1.8.0

func (m *JSONSchemaPropsOrBool) Size() (n int)

func (*JSONSchemaPropsOrBool) String added in v1.8.0

func (this *JSONSchemaPropsOrBool) String() string

func (*JSONSchemaPropsOrBool) Unmarshal added in v1.8.0

func (m *JSONSchemaPropsOrBool) Unmarshal(dAtA []byte) error

func (*JSONSchemaPropsOrBool) UnmarshalJSON added in v1.8.0

func (s *JSONSchemaPropsOrBool) UnmarshalJSON(data []byte) error

type JSONSchemaPropsOrStringArray added in v1.8.0

type JSONSchemaPropsOrStringArray struct {
	Schema   *JSONSchemaProps `protobuf:"bytes,1,opt,name=schema"`
	Property []string         `protobuf:"bytes,2,rep,name=property"`
}

JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array.

func (*JSONSchemaPropsOrStringArray) DeepCopy added in v1.8.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONSchemaPropsOrStringArray.

func (*JSONSchemaPropsOrStringArray) DeepCopyInto added in v1.8.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*JSONSchemaPropsOrStringArray) Descriptor added in v1.8.0

func (*JSONSchemaPropsOrStringArray) Descriptor() ([]byte, []int)

func (*JSONSchemaPropsOrStringArray) Marshal added in v1.8.0

func (m *JSONSchemaPropsOrStringArray) Marshal() (dAtA []byte, err error)

func (JSONSchemaPropsOrStringArray) MarshalJSON added in v1.8.0

func (s JSONSchemaPropsOrStringArray) MarshalJSON() ([]byte, error)

func (*JSONSchemaPropsOrStringArray) MarshalTo added in v1.8.0

func (m *JSONSchemaPropsOrStringArray) MarshalTo(dAtA []byte) (int, error)

func (JSONSchemaPropsOrStringArray) OpenAPISchemaFormat added in v1.11.0

func (_ JSONSchemaPropsOrStringArray) OpenAPISchemaFormat() string

OpenAPISchemaFormat is used by the kube-openapi generator when constructing the OpenAPI spec of this type.

func (JSONSchemaPropsOrStringArray) OpenAPISchemaType added in v1.11.0

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 added in v1.8.0

func (*JSONSchemaPropsOrStringArray) ProtoMessage()

func (*JSONSchemaPropsOrStringArray) Reset added in v1.8.0

func (m *JSONSchemaPropsOrStringArray) Reset()

func (*JSONSchemaPropsOrStringArray) Size added in v1.8.0

func (m *JSONSchemaPropsOrStringArray) Size() (n int)

func (*JSONSchemaPropsOrStringArray) String added in v1.8.0

func (this *JSONSchemaPropsOrStringArray) String() string

func (*JSONSchemaPropsOrStringArray) Unmarshal added in v1.8.0

func (m *JSONSchemaPropsOrStringArray) Unmarshal(dAtA []byte) error

func (*JSONSchemaPropsOrStringArray) UnmarshalJSON added in v1.8.0

func (s *JSONSchemaPropsOrStringArray) UnmarshalJSON(data []byte) error

type JSONSchemaURL added in v1.8.0

type JSONSchemaURL string

JSONSchemaURL represents a schema url.

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 ServiceReference added in v1.13.0

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 which will be sent in any request to
	// this service.
	// +optional
	Path *string `json:"path,omitempty" protobuf:"bytes,3,opt,name=path"`
}

ServiceReference holds a reference to Service.legacy.k8s.io

func (*ServiceReference) DeepCopy added in v1.13.0

func (in *ServiceReference) DeepCopy() *ServiceReference

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference.

func (*ServiceReference) DeepCopyInto added in v1.13.0

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 added in v1.13.0

func (*ServiceReference) Descriptor() ([]byte, []int)

func (*ServiceReference) Marshal added in v1.13.0

func (m *ServiceReference) Marshal() (dAtA []byte, err error)

func (*ServiceReference) MarshalTo added in v1.13.0

func (m *ServiceReference) MarshalTo(dAtA []byte) (int, error)

func (*ServiceReference) ProtoMessage added in v1.13.0

func (*ServiceReference) ProtoMessage()

func (*ServiceReference) Reset added in v1.13.0

func (m *ServiceReference) Reset()

func (*ServiceReference) Size added in v1.13.0

func (m *ServiceReference) Size() (n int)

func (*ServiceReference) String added in v1.13.0

func (this *ServiceReference) String() string

func (*ServiceReference) Unmarshal added in v1.13.0

func (m *ServiceReference) Unmarshal(dAtA []byte) error

type WebhookClientConfig added in v1.13.0

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`.
	//
	// Port 443 will be used if it is open, otherwise it is an error.
	//
	// +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. It has the same field as admissionregistration.v1beta1.WebhookClientConfig.

func (*WebhookClientConfig) DeepCopy added in v1.13.0

func (in *WebhookClientConfig) DeepCopy() *WebhookClientConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookClientConfig.

func (*WebhookClientConfig) DeepCopyInto added in v1.13.0

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 added in v1.13.0

func (*WebhookClientConfig) Descriptor() ([]byte, []int)

func (*WebhookClientConfig) Marshal added in v1.13.0

func (m *WebhookClientConfig) Marshal() (dAtA []byte, err error)

func (*WebhookClientConfig) MarshalTo added in v1.13.0

func (m *WebhookClientConfig) MarshalTo(dAtA []byte) (int, error)

func (*WebhookClientConfig) ProtoMessage added in v1.13.0

func (*WebhookClientConfig) ProtoMessage()

func (*WebhookClientConfig) Reset added in v1.13.0

func (m *WebhookClientConfig) Reset()

func (*WebhookClientConfig) Size added in v1.13.0

func (m *WebhookClientConfig) Size() (n int)

func (*WebhookClientConfig) String added in v1.13.0

func (this *WebhookClientConfig) String() string

func (*WebhookClientConfig) Unmarshal added in v1.13.0

func (m *WebhookClientConfig) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL