apiextensions-apiserver: k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1 Index | Files

package v1beta1

import "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1"

Package v1beta1 is the v1beta1 version of the API.

Index

Package Files

conversion.go deepcopy.go defaults.go doc.go generated.pb.go marshal.go register.go types.go types_jsonschema.go zz_generated.conversion.go zz_generated.deepcopy.go zz_generated.defaults.go

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")
)
var (
    SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs, addConversionFuncs)

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

SchemeGroupVersion is group version used to register these objects

func Convert_apiextensions_CustomResourceColumnDefinition_To_v1beta1_CustomResourceColumnDefinition Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

func Convert_apiextensions_JSON_To_v1beta1_JSON Uses

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

func Convert_apiextensions_ServiceReference_To_v1beta1_ServiceReference Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

func Convert_v1beta1_ServiceReference_To_apiextensions_ServiceReference Uses

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 Uses

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 Uses

func Kind(kind string) schema.GroupKind

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

func RegisterConversions Uses

func RegisterConversions(s *runtime.Scheme) error

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

func RegisterDefaults Uses

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 Uses

func Resource(resource string) schema.GroupResource

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

func SetDefaults_CustomResourceDefinition Uses

func SetDefaults_CustomResourceDefinition(obj *CustomResourceDefinition)

func SetDefaults_CustomResourceDefinitionSpec Uses

func SetDefaults_CustomResourceDefinitionSpec(obj *CustomResourceDefinitionSpec)

func SetDefaults_ServiceReference Uses

func SetDefaults_ServiceReference(obj *ServiceReference)

SetDefaults_ServiceReference sets defaults for Webhook's ServiceReference

func SetObjectDefaults_CustomResourceDefinition Uses

func SetObjectDefaults_CustomResourceDefinition(in *CustomResourceDefinition)

func SetObjectDefaults_CustomResourceDefinitionList Uses

func SetObjectDefaults_CustomResourceDefinitionList(in *CustomResourceDefinitionList)

type ConditionStatus Uses

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 Uses

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.
    Objects []runtime.RawExtension `json:"objects" protobuf:"bytes,3,rep,name=objects"`
}

ConversionRequest describes the conversion request parameters.

func (*ConversionRequest) DeepCopy Uses

func (in *ConversionRequest) DeepCopy() *ConversionRequest

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

func (*ConversionRequest) DeepCopyInto Uses

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 Uses

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

func (*ConversionRequest) Marshal Uses

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

func (*ConversionRequest) MarshalTo Uses

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

func (*ConversionRequest) MarshalToSizedBuffer Uses

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

func (*ConversionRequest) ProtoMessage Uses

func (*ConversionRequest) ProtoMessage()

func (*ConversionRequest) Reset Uses

func (m *ConversionRequest) Reset()

func (*ConversionRequest) Size Uses

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

func (*ConversionRequest) String Uses

func (this *ConversionRequest) String() string

func (*ConversionRequest) Unmarshal Uses

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

func (*ConversionRequest) XXX_DiscardUnknown Uses

func (m *ConversionRequest) XXX_DiscardUnknown()

func (*ConversionRequest) XXX_Marshal Uses

func (m *ConversionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversionRequest) XXX_Merge Uses

func (m *ConversionRequest) XXX_Merge(src proto.Message)

func (*ConversionRequest) XXX_Size Uses

func (m *ConversionRequest) XXX_Size() int

func (*ConversionRequest) XXX_Unmarshal Uses

func (m *ConversionRequest) XXX_Unmarshal(b []byte) error

type ConversionResponse Uses

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.
    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 Uses

func (in *ConversionResponse) DeepCopy() *ConversionResponse

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

func (*ConversionResponse) DeepCopyInto Uses

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 Uses

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

func (*ConversionResponse) Marshal Uses

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

func (*ConversionResponse) MarshalTo Uses

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

func (*ConversionResponse) MarshalToSizedBuffer Uses

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

func (*ConversionResponse) ProtoMessage Uses

func (*ConversionResponse) ProtoMessage()

func (*ConversionResponse) Reset Uses

func (m *ConversionResponse) Reset()

func (*ConversionResponse) Size Uses

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

func (*ConversionResponse) String Uses

func (this *ConversionResponse) String() string

func (*ConversionResponse) Unmarshal Uses

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

func (*ConversionResponse) XXX_DiscardUnknown Uses

func (m *ConversionResponse) XXX_DiscardUnknown()

func (*ConversionResponse) XXX_Marshal Uses

func (m *ConversionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversionResponse) XXX_Merge Uses

func (m *ConversionResponse) XXX_Merge(src proto.Message)

func (*ConversionResponse) XXX_Size Uses

func (m *ConversionResponse) XXX_Size() int

func (*ConversionResponse) XXX_Unmarshal Uses

func (m *ConversionResponse) XXX_Unmarshal(b []byte) error

type ConversionReview Uses

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 Uses

func (in *ConversionReview) DeepCopy() *ConversionReview

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

func (*ConversionReview) DeepCopyInto Uses

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 Uses

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

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

func (*ConversionReview) Descriptor Uses

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

func (*ConversionReview) Marshal Uses

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

func (*ConversionReview) MarshalTo Uses

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

func (*ConversionReview) MarshalToSizedBuffer Uses

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

func (*ConversionReview) ProtoMessage Uses

func (*ConversionReview) ProtoMessage()

func (*ConversionReview) Reset Uses

func (m *ConversionReview) Reset()

func (*ConversionReview) Size Uses

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

func (*ConversionReview) String Uses

func (this *ConversionReview) String() string

func (*ConversionReview) Unmarshal Uses

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

func (*ConversionReview) XXX_DiscardUnknown Uses

func (m *ConversionReview) XXX_DiscardUnknown()

func (*ConversionReview) XXX_Marshal Uses

func (m *ConversionReview) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversionReview) XXX_Merge Uses

func (m *ConversionReview) XXX_Merge(src proto.Message)

func (*ConversionReview) XXX_Size Uses

func (m *ConversionReview) XXX_Size() int

func (*ConversionReview) XXX_Unmarshal Uses

func (m *ConversionReview) XXX_Unmarshal(b []byte) error

type ConversionStrategyType Uses

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 Uses

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 Uses

func (in *CustomResourceColumnDefinition) DeepCopy() *CustomResourceColumnDefinition

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

func (*CustomResourceColumnDefinition) DeepCopyInto Uses

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 Uses

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

func (*CustomResourceColumnDefinition) Marshal Uses

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

func (*CustomResourceColumnDefinition) MarshalTo Uses

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

func (*CustomResourceColumnDefinition) MarshalToSizedBuffer Uses

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

func (*CustomResourceColumnDefinition) ProtoMessage Uses

func (*CustomResourceColumnDefinition) ProtoMessage()

func (*CustomResourceColumnDefinition) Reset Uses

func (m *CustomResourceColumnDefinition) Reset()

func (*CustomResourceColumnDefinition) Size Uses

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

func (*CustomResourceColumnDefinition) String Uses

func (this *CustomResourceColumnDefinition) String() string

func (*CustomResourceColumnDefinition) Unmarshal Uses

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

func (*CustomResourceColumnDefinition) XXX_DiscardUnknown Uses

func (m *CustomResourceColumnDefinition) XXX_DiscardUnknown()

func (*CustomResourceColumnDefinition) XXX_Marshal Uses

func (m *CustomResourceColumnDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomResourceColumnDefinition) XXX_Merge Uses

func (m *CustomResourceColumnDefinition) XXX_Merge(src proto.Message)

func (*CustomResourceColumnDefinition) XXX_Size Uses

func (m *CustomResourceColumnDefinition) XXX_Size() int

func (*CustomResourceColumnDefinition) XXX_Unmarshal Uses

func (m *CustomResourceColumnDefinition) XXX_Unmarshal(b []byte) error

type CustomResourceConversion Uses

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.webhookClientConfig to be set.
    Strategy ConversionStrategyType `json:"strategy" protobuf:"bytes,1,name=strategy"`

    // webhookClientConfig is the instructions for how to call the webhook if strategy is `Webhook`.
    // Required when `strategy` is set to `Webhook`.
    // +optional
    WebhookClientConfig *WebhookClientConfig `json:"webhookClientConfig,omitempty" protobuf:"bytes,2,name=webhookClientConfig"`

    // 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.
    // Defaults 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 Uses

func (in *CustomResourceConversion) DeepCopy() *CustomResourceConversion

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

func (*CustomResourceConversion) DeepCopyInto Uses

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 Uses

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

func (*CustomResourceConversion) Marshal Uses

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

func (*CustomResourceConversion) MarshalTo Uses

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

func (*CustomResourceConversion) MarshalToSizedBuffer Uses

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

func (*CustomResourceConversion) ProtoMessage Uses

func (*CustomResourceConversion) ProtoMessage()

func (*CustomResourceConversion) Reset Uses

func (m *CustomResourceConversion) Reset()

func (*CustomResourceConversion) Size Uses

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

func (*CustomResourceConversion) String Uses

func (this *CustomResourceConversion) String() string

func (*CustomResourceConversion) Unmarshal Uses

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

func (*CustomResourceConversion) XXX_DiscardUnknown Uses

func (m *CustomResourceConversion) XXX_DiscardUnknown()

func (*CustomResourceConversion) XXX_Marshal Uses

func (m *CustomResourceConversion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomResourceConversion) XXX_Merge Uses

func (m *CustomResourceConversion) XXX_Merge(src proto.Message)

func (*CustomResourceConversion) XXX_Size Uses

func (m *CustomResourceConversion) XXX_Size() int

func (*CustomResourceConversion) XXX_Unmarshal Uses

func (m *CustomResourceConversion) XXX_Unmarshal(b []byte) error

type CustomResourceDefinition Uses

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>. Deprecated in v1.16, planned for removal in v1.19. Use apiextensions.k8s.io/v1 CustomResourceDefinition instead.

func (*CustomResourceDefinition) DeepCopy Uses

func (in *CustomResourceDefinition) DeepCopy() *CustomResourceDefinition

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

func (*CustomResourceDefinition) DeepCopyInto Uses

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 Uses

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

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

func (*CustomResourceDefinition) Descriptor Uses

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

func (*CustomResourceDefinition) Marshal Uses

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

func (*CustomResourceDefinition) MarshalTo Uses

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

func (*CustomResourceDefinition) MarshalToSizedBuffer Uses

func (m *CustomResourceDefinition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CustomResourceDefinition) ProtoMessage Uses

func (*CustomResourceDefinition) ProtoMessage()

func (*CustomResourceDefinition) Reset Uses

func (m *CustomResourceDefinition) Reset()

func (*CustomResourceDefinition) Size Uses

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

func (*CustomResourceDefinition) String Uses

func (this *CustomResourceDefinition) String() string

func (*CustomResourceDefinition) Unmarshal Uses

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

func (*CustomResourceDefinition) XXX_DiscardUnknown Uses

func (m *CustomResourceDefinition) XXX_DiscardUnknown()

func (*CustomResourceDefinition) XXX_Marshal Uses

func (m *CustomResourceDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomResourceDefinition) XXX_Merge Uses

func (m *CustomResourceDefinition) XXX_Merge(src proto.Message)

func (*CustomResourceDefinition) XXX_Size Uses

func (m *CustomResourceDefinition) XXX_Size() int

func (*CustomResourceDefinition) XXX_Unmarshal Uses

func (m *CustomResourceDefinition) XXX_Unmarshal(b []byte) error

type CustomResourceDefinitionCondition Uses

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 Uses

func (in *CustomResourceDefinitionCondition) DeepCopy() *CustomResourceDefinitionCondition

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

func (*CustomResourceDefinitionCondition) DeepCopyInto Uses

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 Uses

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

func (*CustomResourceDefinitionCondition) Marshal Uses

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

func (*CustomResourceDefinitionCondition) MarshalTo Uses

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

func (*CustomResourceDefinitionCondition) MarshalToSizedBuffer Uses

func (m *CustomResourceDefinitionCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CustomResourceDefinitionCondition) ProtoMessage Uses

func (*CustomResourceDefinitionCondition) ProtoMessage()

func (*CustomResourceDefinitionCondition) Reset Uses

func (m *CustomResourceDefinitionCondition) Reset()

func (*CustomResourceDefinitionCondition) Size Uses

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

func (*CustomResourceDefinitionCondition) String Uses

func (this *CustomResourceDefinitionCondition) String() string

func (*CustomResourceDefinitionCondition) Unmarshal Uses

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

func (*CustomResourceDefinitionCondition) XXX_DiscardUnknown Uses

func (m *CustomResourceDefinitionCondition) XXX_DiscardUnknown()

func (*CustomResourceDefinitionCondition) XXX_Marshal Uses

func (m *CustomResourceDefinitionCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomResourceDefinitionCondition) XXX_Merge Uses

func (m *CustomResourceDefinitionCondition) XXX_Merge(src proto.Message)

func (*CustomResourceDefinitionCondition) XXX_Size Uses

func (m *CustomResourceDefinitionCondition) XXX_Size() int

func (*CustomResourceDefinitionCondition) XXX_Unmarshal Uses

func (m *CustomResourceDefinitionCondition) XXX_Unmarshal(b []byte) error

type CustomResourceDefinitionConditionType Uses

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 Uses

type CustomResourceDefinitionList struct {
    metav1.TypeMeta `json:",inline"`
    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) DeepCopy Uses

func (in *CustomResourceDefinitionList) DeepCopy() *CustomResourceDefinitionList

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

func (*CustomResourceDefinitionList) DeepCopyInto Uses

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 Uses

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

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

func (*CustomResourceDefinitionList) Descriptor Uses

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

func (*CustomResourceDefinitionList) Marshal Uses

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

func (*CustomResourceDefinitionList) MarshalTo Uses

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

func (*CustomResourceDefinitionList) MarshalToSizedBuffer Uses

func (m *CustomResourceDefinitionList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CustomResourceDefinitionList) ProtoMessage Uses

func (*CustomResourceDefinitionList) ProtoMessage()

func (*CustomResourceDefinitionList) Reset Uses

func (m *CustomResourceDefinitionList) Reset()

func (*CustomResourceDefinitionList) Size Uses

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

func (*CustomResourceDefinitionList) String Uses

func (this *CustomResourceDefinitionList) String() string

func (*CustomResourceDefinitionList) Unmarshal Uses

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

func (*CustomResourceDefinitionList) XXX_DiscardUnknown Uses

func (m *CustomResourceDefinitionList) XXX_DiscardUnknown()

func (*CustomResourceDefinitionList) XXX_Marshal Uses

func (m *CustomResourceDefinitionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomResourceDefinitionList) XXX_Merge Uses

func (m *CustomResourceDefinitionList) XXX_Merge(src proto.Message)

func (*CustomResourceDefinitionList) XXX_Size Uses

func (m *CustomResourceDefinitionList) XXX_Size() int

func (*CustomResourceDefinitionList) XXX_Unmarshal Uses

func (m *CustomResourceDefinitionList) XXX_Unmarshal(b []byte) error

type CustomResourceDefinitionNames Uses

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
    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
    Categories []string `json:"categories,omitempty" protobuf:"bytes,6,rep,name=categories"`
}

CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition

func (*CustomResourceDefinitionNames) DeepCopy Uses

func (in *CustomResourceDefinitionNames) DeepCopy() *CustomResourceDefinitionNames

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

func (*CustomResourceDefinitionNames) DeepCopyInto Uses

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 Uses

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

func (*CustomResourceDefinitionNames) Marshal Uses

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

func (*CustomResourceDefinitionNames) MarshalTo Uses

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

func (*CustomResourceDefinitionNames) MarshalToSizedBuffer Uses

func (m *CustomResourceDefinitionNames) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CustomResourceDefinitionNames) ProtoMessage Uses

func (*CustomResourceDefinitionNames) ProtoMessage()

func (*CustomResourceDefinitionNames) Reset Uses

func (m *CustomResourceDefinitionNames) Reset()

func (*CustomResourceDefinitionNames) Size Uses

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

func (*CustomResourceDefinitionNames) String Uses

func (this *CustomResourceDefinitionNames) String() string

func (*CustomResourceDefinitionNames) Unmarshal Uses

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

func (*CustomResourceDefinitionNames) XXX_DiscardUnknown Uses

func (m *CustomResourceDefinitionNames) XXX_DiscardUnknown()

func (*CustomResourceDefinitionNames) XXX_Marshal Uses

func (m *CustomResourceDefinitionNames) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomResourceDefinitionNames) XXX_Merge Uses

func (m *CustomResourceDefinitionNames) XXX_Merge(src proto.Message)

func (*CustomResourceDefinitionNames) XXX_Size Uses

func (m *CustomResourceDefinitionNames) XXX_Size() int

func (*CustomResourceDefinitionNames) XXX_Unmarshal Uses

func (m *CustomResourceDefinitionNames) XXX_Unmarshal(b []byte) error

type CustomResourceDefinitionSpec Uses

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"`
    // version is the API version of the defined custom resource.
    // The custom resources are served under `/apis/<group>/<version>/...`.
    // Must match the name of the first item in the `versions` list if `version` and `versions` are both specified.
    // Optional if `versions` is specified.
    // Deprecated: use `versions` instead.
    // +optional
    Version string `json:"version,omitempty" protobuf:"bytes,2,opt,name=version"`
    // 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`. Default is `Namespaced`.
    Scope ResourceScope `json:"scope" protobuf:"bytes,4,opt,name=scope,casttype=ResourceScope"`
    // validation describes the schema used for validation and pruning of the custom resource.
    // If present, this validation schema is used to validate all versions.
    // Top-level and per-version schemas are mutually exclusive.
    // +optional
    Validation *CustomResourceValidation `json:"validation,omitempty" protobuf:"bytes,5,opt,name=validation"`
    // subresources specify what subresources the defined custom resource has.
    // If present, this field configures 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 API versions of the defined custom resource.
    // Optional if `version` is specified.
    // The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified.
    // 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.
    // +optional
    Versions []CustomResourceDefinitionVersion `json:"versions,omitempty" protobuf:"bytes,7,rep,name=versions"`
    // 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 present, this field configures columns for all versions.
    // Top-level and per-version columns are mutually exclusive.
    // If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used.
    // +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"`

    // 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.
    // If false, schemas must be defined for all versions.
    // Defaults to true in v1beta for backwards compatibility.
    // Deprecated: will be required to be false in v1. Preservation of unknown fields can be specified
    // in the validation schema using the `x-kubernetes-preserve-unknown-fields: true` extension.
    // See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields 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 Uses

func (in *CustomResourceDefinitionSpec) DeepCopy() *CustomResourceDefinitionSpec

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

func (*CustomResourceDefinitionSpec) DeepCopyInto Uses

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 Uses

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

func (*CustomResourceDefinitionSpec) Marshal Uses

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

func (*CustomResourceDefinitionSpec) MarshalTo Uses

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

func (*CustomResourceDefinitionSpec) MarshalToSizedBuffer Uses

func (m *CustomResourceDefinitionSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CustomResourceDefinitionSpec) ProtoMessage Uses

func (*CustomResourceDefinitionSpec) ProtoMessage()

func (*CustomResourceDefinitionSpec) Reset Uses

func (m *CustomResourceDefinitionSpec) Reset()

func (*CustomResourceDefinitionSpec) Size Uses

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

func (*CustomResourceDefinitionSpec) String Uses

func (this *CustomResourceDefinitionSpec) String() string

func (*CustomResourceDefinitionSpec) Unmarshal Uses

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

func (*CustomResourceDefinitionSpec) XXX_DiscardUnknown Uses

func (m *CustomResourceDefinitionSpec) XXX_DiscardUnknown()

func (*CustomResourceDefinitionSpec) XXX_Marshal Uses

func (m *CustomResourceDefinitionSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomResourceDefinitionSpec) XXX_Merge Uses

func (m *CustomResourceDefinitionSpec) XXX_Merge(src proto.Message)

func (*CustomResourceDefinitionSpec) XXX_Size Uses

func (m *CustomResourceDefinitionSpec) XXX_Size() int

func (*CustomResourceDefinitionSpec) XXX_Unmarshal Uses

func (m *CustomResourceDefinitionSpec) XXX_Unmarshal(b []byte) error

type CustomResourceDefinitionStatus Uses

type CustomResourceDefinitionStatus struct {
    // conditions indicate state for particular aspects of a CustomResourceDefinition
    // +optional
    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 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.
    StoredVersions []string `json:"storedVersions" protobuf:"bytes,3,rep,name=storedVersions"`
}

CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition

func (*CustomResourceDefinitionStatus) DeepCopy Uses

func (in *CustomResourceDefinitionStatus) DeepCopy() *CustomResourceDefinitionStatus

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

func (*CustomResourceDefinitionStatus) DeepCopyInto Uses

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 Uses

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

func (*CustomResourceDefinitionStatus) Marshal Uses

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

func (*CustomResourceDefinitionStatus) MarshalTo Uses

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

func (*CustomResourceDefinitionStatus) MarshalToSizedBuffer Uses

func (m *CustomResourceDefinitionStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CustomResourceDefinitionStatus) ProtoMessage Uses

func (*CustomResourceDefinitionStatus) ProtoMessage()

func (*CustomResourceDefinitionStatus) Reset Uses

func (m *CustomResourceDefinitionStatus) Reset()

func (*CustomResourceDefinitionStatus) Size Uses

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

func (*CustomResourceDefinitionStatus) String Uses

func (this *CustomResourceDefinitionStatus) String() string

func (*CustomResourceDefinitionStatus) Unmarshal Uses

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

func (*CustomResourceDefinitionStatus) XXX_DiscardUnknown Uses

func (m *CustomResourceDefinitionStatus) XXX_DiscardUnknown()

func (*CustomResourceDefinitionStatus) XXX_Marshal Uses

func (m *CustomResourceDefinitionStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomResourceDefinitionStatus) XXX_Merge Uses

func (m *CustomResourceDefinitionStatus) XXX_Merge(src proto.Message)

func (*CustomResourceDefinitionStatus) XXX_Size Uses

func (m *CustomResourceDefinitionStatus) XXX_Size() int

func (*CustomResourceDefinitionStatus) XXX_Unmarshal Uses

func (m *CustomResourceDefinitionStatus) XXX_Unmarshal(b []byte) error

type CustomResourceDefinitionVersion Uses

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"`
    // schema describes the schema used for validation and pruning of this version of the custom resource.
    // 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).
    // +optional
    Schema *CustomResourceValidation `json:"schema,omitempty" protobuf:"bytes,4,opt,name=schema"`
    // subresources specify what subresources this version of the defined custom resource have.
    // 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).
    // +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.
    // 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).
    // If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used.
    // +optional
    AdditionalPrinterColumns []CustomResourceColumnDefinition `json:"additionalPrinterColumns,omitempty" protobuf:"bytes,6,rep,name=additionalPrinterColumns"`
}

CustomResourceDefinitionVersion describes a version for CRD.

func (*CustomResourceDefinitionVersion) DeepCopy Uses

func (in *CustomResourceDefinitionVersion) DeepCopy() *CustomResourceDefinitionVersion

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

func (*CustomResourceDefinitionVersion) DeepCopyInto Uses

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 Uses

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

func (*CustomResourceDefinitionVersion) Marshal Uses

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

func (*CustomResourceDefinitionVersion) MarshalTo Uses

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

func (*CustomResourceDefinitionVersion) MarshalToSizedBuffer Uses

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

func (*CustomResourceDefinitionVersion) ProtoMessage Uses

func (*CustomResourceDefinitionVersion) ProtoMessage()

func (*CustomResourceDefinitionVersion) Reset Uses

func (m *CustomResourceDefinitionVersion) Reset()

func (*CustomResourceDefinitionVersion) Size Uses

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

func (*CustomResourceDefinitionVersion) String Uses

func (this *CustomResourceDefinitionVersion) String() string

func (*CustomResourceDefinitionVersion) Unmarshal Uses

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

func (*CustomResourceDefinitionVersion) XXX_DiscardUnknown Uses

func (m *CustomResourceDefinitionVersion) XXX_DiscardUnknown()

func (*CustomResourceDefinitionVersion) XXX_Marshal Uses

func (m *CustomResourceDefinitionVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomResourceDefinitionVersion) XXX_Merge Uses

func (m *CustomResourceDefinitionVersion) XXX_Merge(src proto.Message)

func (*CustomResourceDefinitionVersion) XXX_Size Uses

func (m *CustomResourceDefinitionVersion) XXX_Size() int

func (*CustomResourceDefinitionVersion) XXX_Unmarshal Uses

func (m *CustomResourceDefinitionVersion) XXX_Unmarshal(b []byte) error

type CustomResourceSubresourceScale Uses

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 Uses

func (in *CustomResourceSubresourceScale) DeepCopy() *CustomResourceSubresourceScale

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

func (*CustomResourceSubresourceScale) DeepCopyInto Uses

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 Uses

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

func (*CustomResourceSubresourceScale) Marshal Uses

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

func (*CustomResourceSubresourceScale) MarshalTo Uses

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

func (*CustomResourceSubresourceScale) MarshalToSizedBuffer Uses

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

func (*CustomResourceSubresourceScale) ProtoMessage Uses

func (*CustomResourceSubresourceScale) ProtoMessage()

func (*CustomResourceSubresourceScale) Reset Uses

func (m *CustomResourceSubresourceScale) Reset()

func (*CustomResourceSubresourceScale) Size Uses

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

func (*CustomResourceSubresourceScale) String Uses

func (this *CustomResourceSubresourceScale) String() string

func (*CustomResourceSubresourceScale) Unmarshal Uses

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

func (*CustomResourceSubresourceScale) XXX_DiscardUnknown Uses

func (m *CustomResourceSubresourceScale) XXX_DiscardUnknown()

func (*CustomResourceSubresourceScale) XXX_Marshal Uses

func (m *CustomResourceSubresourceScale) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomResourceSubresourceScale) XXX_Merge Uses

func (m *CustomResourceSubresourceScale) XXX_Merge(src proto.Message)

func (*CustomResourceSubresourceScale) XXX_Size Uses

func (m *CustomResourceSubresourceScale) XXX_Size() int

func (*CustomResourceSubresourceScale) XXX_Unmarshal Uses

func (m *CustomResourceSubresourceScale) XXX_Unmarshal(b []byte) error

type CustomResourceSubresourceStatus Uses

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 Uses

func (in *CustomResourceSubresourceStatus) DeepCopy() *CustomResourceSubresourceStatus

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

func (*CustomResourceSubresourceStatus) DeepCopyInto Uses

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 Uses

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

func (*CustomResourceSubresourceStatus) Marshal Uses

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

func (*CustomResourceSubresourceStatus) MarshalTo Uses

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

func (*CustomResourceSubresourceStatus) MarshalToSizedBuffer Uses

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

func (*CustomResourceSubresourceStatus) ProtoMessage Uses

func (*CustomResourceSubresourceStatus) ProtoMessage()

func (*CustomResourceSubresourceStatus) Reset Uses

func (m *CustomResourceSubresourceStatus) Reset()

func (*CustomResourceSubresourceStatus) Size Uses

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

func (*CustomResourceSubresourceStatus) String Uses

func (this *CustomResourceSubresourceStatus) String() string

func (*CustomResourceSubresourceStatus) Unmarshal Uses

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

func (*CustomResourceSubresourceStatus) XXX_DiscardUnknown Uses

func (m *CustomResourceSubresourceStatus) XXX_DiscardUnknown()

func (*CustomResourceSubresourceStatus) XXX_Marshal Uses

func (m *CustomResourceSubresourceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomResourceSubresourceStatus) XXX_Merge Uses

func (m *CustomResourceSubresourceStatus) XXX_Merge(src proto.Message)

func (*CustomResourceSubresourceStatus) XXX_Size Uses

func (m *CustomResourceSubresourceStatus) XXX_Size() int

func (*CustomResourceSubresourceStatus) XXX_Unmarshal Uses

func (m *CustomResourceSubresourceStatus) XXX_Unmarshal(b []byte) error

type CustomResourceSubresources Uses

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 Uses

func (in *CustomResourceSubresources) DeepCopy() *CustomResourceSubresources

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

func (*CustomResourceSubresources) DeepCopyInto Uses

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 Uses

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

func (*CustomResourceSubresources) Marshal Uses

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

func (*CustomResourceSubresources) MarshalTo Uses

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

func (*CustomResourceSubresources) MarshalToSizedBuffer Uses

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

func (*CustomResourceSubresources) ProtoMessage Uses

func (*CustomResourceSubresources) ProtoMessage()

func (*CustomResourceSubresources) Reset Uses

func (m *CustomResourceSubresources) Reset()

func (*CustomResourceSubresources) Size Uses

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

func (*CustomResourceSubresources) String Uses

func (this *CustomResourceSubresources) String() string

func (*CustomResourceSubresources) Unmarshal Uses

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

func (*CustomResourceSubresources) XXX_DiscardUnknown Uses

func (m *CustomResourceSubresources) XXX_DiscardUnknown()

func (*CustomResourceSubresources) XXX_Marshal Uses

func (m *CustomResourceSubresources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomResourceSubresources) XXX_Merge Uses

func (m *CustomResourceSubresources) XXX_Merge(src proto.Message)

func (*CustomResourceSubresources) XXX_Size Uses

func (m *CustomResourceSubresources) XXX_Size() int

func (*CustomResourceSubresources) XXX_Unmarshal Uses

func (m *CustomResourceSubresources) XXX_Unmarshal(b []byte) error

type CustomResourceValidation Uses

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 Uses

func (in *CustomResourceValidation) DeepCopy() *CustomResourceValidation

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

func (*CustomResourceValidation) DeepCopyInto Uses

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 Uses

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

func (*CustomResourceValidation) Marshal Uses

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

func (*CustomResourceValidation) MarshalTo Uses

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

func (*CustomResourceValidation) MarshalToSizedBuffer Uses

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

func (*CustomResourceValidation) ProtoMessage Uses

func (*CustomResourceValidation) ProtoMessage()

func (*CustomResourceValidation) Reset Uses

func (m *CustomResourceValidation) Reset()

func (*CustomResourceValidation) Size Uses

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

func (*CustomResourceValidation) String Uses

func (this *CustomResourceValidation) String() string

func (*CustomResourceValidation) Unmarshal Uses

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

func (*CustomResourceValidation) XXX_DiscardUnknown Uses

func (m *CustomResourceValidation) XXX_DiscardUnknown()

func (*CustomResourceValidation) XXX_Marshal Uses

func (m *CustomResourceValidation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomResourceValidation) XXX_Merge Uses

func (m *CustomResourceValidation) XXX_Merge(src proto.Message)

func (*CustomResourceValidation) XXX_Size Uses

func (m *CustomResourceValidation) XXX_Size() int

func (*CustomResourceValidation) XXX_Unmarshal Uses

func (m *CustomResourceValidation) XXX_Unmarshal(b []byte) error

type ExternalDocumentation Uses

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 Uses

func (in *ExternalDocumentation) DeepCopy() *ExternalDocumentation

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

func (*ExternalDocumentation) DeepCopyInto Uses

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 Uses

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

func (*ExternalDocumentation) Marshal Uses

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

func (*ExternalDocumentation) MarshalTo Uses

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

func (*ExternalDocumentation) MarshalToSizedBuffer Uses

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

func (*ExternalDocumentation) ProtoMessage Uses

func (*ExternalDocumentation) ProtoMessage()

func (*ExternalDocumentation) Reset Uses

func (m *ExternalDocumentation) Reset()

func (*ExternalDocumentation) Size Uses

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

func (*ExternalDocumentation) String Uses

func (this *ExternalDocumentation) String() string

func (*ExternalDocumentation) Unmarshal Uses

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

func (*ExternalDocumentation) XXX_DiscardUnknown Uses

func (m *ExternalDocumentation) XXX_DiscardUnknown()

func (*ExternalDocumentation) XXX_Marshal Uses

func (m *ExternalDocumentation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExternalDocumentation) XXX_Merge Uses

func (m *ExternalDocumentation) XXX_Merge(src proto.Message)

func (*ExternalDocumentation) XXX_Size Uses

func (m *ExternalDocumentation) XXX_Size() int

func (*ExternalDocumentation) XXX_Unmarshal Uses

func (m *ExternalDocumentation) XXX_Unmarshal(b []byte) error

type JSON Uses

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 Uses

func (in *JSON) DeepCopy() *JSON

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

func (*JSON) DeepCopyInto Uses

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 Uses

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

func (*JSON) Marshal Uses

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

func (JSON) MarshalJSON Uses

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

func (*JSON) MarshalTo Uses

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

func (*JSON) MarshalToSizedBuffer Uses

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

func (JSON) OpenAPISchemaFormat Uses

func (_ JSON) OpenAPISchemaFormat() string

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

func (JSON) OpenAPISchemaType Uses

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 Uses

func (*JSON) ProtoMessage()

func (*JSON) Reset Uses

func (m *JSON) Reset()

func (*JSON) Size Uses

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

func (*JSON) String Uses

func (this *JSON) String() string

func (*JSON) Unmarshal Uses

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

func (*JSON) UnmarshalJSON Uses

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

func (*JSON) XXX_DiscardUnknown Uses

func (m *JSON) XXX_DiscardUnknown()

func (*JSON) XXX_Marshal Uses

func (m *JSON) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JSON) XXX_Merge Uses

func (m *JSON) XXX_Merge(src proto.Message)

func (*JSON) XXX_Size Uses

func (m *JSON) XXX_Size() int

func (*JSON) XXX_Unmarshal Uses

func (m *JSON) XXX_Unmarshal(b []byte) error

type JSONSchemaDefinitions Uses

type JSONSchemaDefinitions map[string]JSONSchemaProps

JSONSchemaDefinitions contains the models explicitly defined in this spec.

func (JSONSchemaDefinitions) DeepCopy Uses

func (in JSONSchemaDefinitions) DeepCopy() JSONSchemaDefinitions

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

func (JSONSchemaDefinitions) DeepCopyInto Uses

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 Uses

type JSONSchemaDependencies map[string]JSONSchemaPropsOrStringArray

JSONSchemaDependencies represent a dependencies property.

func (JSONSchemaDependencies) DeepCopy Uses

func (in JSONSchemaDependencies) DeepCopy() JSONSchemaDependencies

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

func (JSONSchemaDependencies) DeepCopyInto Uses

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 Uses

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 is a default value for undefined object fields.
    // Defaulting is a beta feature under the CustomResourceDefaulting feature gate.
    // CustomResourceDefinitions with defaults must be created using the v1 (or newer) CustomResourceDefinition API.
    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"`

    // 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).
    //
    // +optional
    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 (or another atomic type).
    // 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"`
}

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

func (*JSONSchemaProps) DeepCopy Uses

func (in *JSONSchemaProps) DeepCopy() *JSONSchemaProps

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

func (*JSONSchemaProps) DeepCopyInto Uses

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 Uses

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

func (*JSONSchemaProps) Marshal Uses

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

func (*JSONSchemaProps) MarshalTo Uses

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

func (*JSONSchemaProps) MarshalToSizedBuffer Uses

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

func (*JSONSchemaProps) ProtoMessage Uses

func (*JSONSchemaProps) ProtoMessage()

func (*JSONSchemaProps) Reset Uses

func (m *JSONSchemaProps) Reset()

func (*JSONSchemaProps) Size Uses

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

func (*JSONSchemaProps) String Uses

func (this *JSONSchemaProps) String() string

func (*JSONSchemaProps) Unmarshal Uses

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

func (*JSONSchemaProps) XXX_DiscardUnknown Uses

func (m *JSONSchemaProps) XXX_DiscardUnknown()

func (*JSONSchemaProps) XXX_Marshal Uses

func (m *JSONSchemaProps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JSONSchemaProps) XXX_Merge Uses

func (m *JSONSchemaProps) XXX_Merge(src proto.Message)

func (*JSONSchemaProps) XXX_Size Uses

func (m *JSONSchemaProps) XXX_Size() int

func (*JSONSchemaProps) XXX_Unmarshal Uses

func (m *JSONSchemaProps) XXX_Unmarshal(b []byte) error

type JSONSchemaPropsOrArray Uses

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 Uses

func (in *JSONSchemaPropsOrArray) DeepCopy() *JSONSchemaPropsOrArray

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

func (*JSONSchemaPropsOrArray) DeepCopyInto Uses

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 Uses

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

func (*JSONSchemaPropsOrArray) Marshal Uses

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

func (JSONSchemaPropsOrArray) MarshalJSON Uses

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

func (*JSONSchemaPropsOrArray) MarshalTo Uses

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

func (*JSONSchemaPropsOrArray) MarshalToSizedBuffer Uses

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

func (JSONSchemaPropsOrArray) OpenAPISchemaFormat Uses

func (_ JSONSchemaPropsOrArray) OpenAPISchemaFormat() string

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

func (JSONSchemaPropsOrArray) OpenAPISchemaType Uses

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 Uses

func (*JSONSchemaPropsOrArray) ProtoMessage()

func (*JSONSchemaPropsOrArray) Reset Uses

func (m *JSONSchemaPropsOrArray) Reset()

func (*JSONSchemaPropsOrArray) Size Uses

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

func (*JSONSchemaPropsOrArray) String Uses

func (this *JSONSchemaPropsOrArray) String() string

func (*JSONSchemaPropsOrArray) Unmarshal Uses

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

func (*JSONSchemaPropsOrArray) UnmarshalJSON Uses

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

func (*JSONSchemaPropsOrArray) XXX_DiscardUnknown Uses

func (m *JSONSchemaPropsOrArray) XXX_DiscardUnknown()

func (*JSONSchemaPropsOrArray) XXX_Marshal Uses

func (m *JSONSchemaPropsOrArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JSONSchemaPropsOrArray) XXX_Merge Uses

func (m *JSONSchemaPropsOrArray) XXX_Merge(src proto.Message)

func (*JSONSchemaPropsOrArray) XXX_Size Uses

func (m *JSONSchemaPropsOrArray) XXX_Size() int

func (*JSONSchemaPropsOrArray) XXX_Unmarshal Uses

func (m *JSONSchemaPropsOrArray) XXX_Unmarshal(b []byte) error

type JSONSchemaPropsOrBool Uses

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 Uses

func (in *JSONSchemaPropsOrBool) DeepCopy() *JSONSchemaPropsOrBool

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

func (*JSONSchemaPropsOrBool) DeepCopyInto Uses

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 Uses

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

func (*JSONSchemaPropsOrBool) Marshal Uses

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

func (JSONSchemaPropsOrBool) MarshalJSON Uses

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

func (*JSONSchemaPropsOrBool) MarshalTo Uses

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

func (*JSONSchemaPropsOrBool) MarshalToSizedBuffer Uses

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

func (JSONSchemaPropsOrBool) OpenAPISchemaFormat Uses

func (_ JSONSchemaPropsOrBool) OpenAPISchemaFormat() string

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

func (JSONSchemaPropsOrBool) OpenAPISchemaType Uses

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 Uses

func (*JSONSchemaPropsOrBool) ProtoMessage()

func (*JSONSchemaPropsOrBool) Reset Uses

func (m *JSONSchemaPropsOrBool) Reset()

func (*JSONSchemaPropsOrBool) Size Uses

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

func (*JSONSchemaPropsOrBool) String Uses

func (this *JSONSchemaPropsOrBool) String() string

func (*JSONSchemaPropsOrBool) Unmarshal Uses

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

func (*JSONSchemaPropsOrBool) UnmarshalJSON Uses

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

func (*JSONSchemaPropsOrBool) XXX_DiscardUnknown Uses

func (m *JSONSchemaPropsOrBool) XXX_DiscardUnknown()

func (*JSONSchemaPropsOrBool) XXX_Marshal Uses

func (m *JSONSchemaPropsOrBool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JSONSchemaPropsOrBool) XXX_Merge Uses

func (m *JSONSchemaPropsOrBool) XXX_Merge(src proto.Message)

func (*JSONSchemaPropsOrBool) XXX_Size Uses

func (m *JSONSchemaPropsOrBool) XXX_Size() int

func (*JSONSchemaPropsOrBool) XXX_Unmarshal Uses

func (m *JSONSchemaPropsOrBool) XXX_Unmarshal(b []byte) error

type JSONSchemaPropsOrStringArray Uses

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 Uses

func (in *JSONSchemaPropsOrStringArray) DeepCopy() *JSONSchemaPropsOrStringArray

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

func (*JSONSchemaPropsOrStringArray) DeepCopyInto Uses

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 Uses

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

func (*JSONSchemaPropsOrStringArray) Marshal Uses

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

func (JSONSchemaPropsOrStringArray) MarshalJSON Uses

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

func (*JSONSchemaPropsOrStringArray) MarshalTo Uses

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

func (*JSONSchemaPropsOrStringArray) MarshalToSizedBuffer Uses

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

func (JSONSchemaPropsOrStringArray) OpenAPISchemaFormat Uses

func (_ JSONSchemaPropsOrStringArray) OpenAPISchemaFormat() string

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

func (JSONSchemaPropsOrStringArray) OpenAPISchemaType Uses

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 Uses

func (*JSONSchemaPropsOrStringArray) ProtoMessage()

func (*JSONSchemaPropsOrStringArray) Reset Uses

func (m *JSONSchemaPropsOrStringArray) Reset()

func (*JSONSchemaPropsOrStringArray) Size Uses

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

func (*JSONSchemaPropsOrStringArray) String Uses

func (this *JSONSchemaPropsOrStringArray) String() string

func (*JSONSchemaPropsOrStringArray) Unmarshal Uses

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

func (*JSONSchemaPropsOrStringArray) UnmarshalJSON Uses

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

func (*JSONSchemaPropsOrStringArray) XXX_DiscardUnknown Uses

func (m *JSONSchemaPropsOrStringArray) XXX_DiscardUnknown()

func (*JSONSchemaPropsOrStringArray) XXX_Marshal Uses

func (m *JSONSchemaPropsOrStringArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JSONSchemaPropsOrStringArray) XXX_Merge Uses

func (m *JSONSchemaPropsOrStringArray) XXX_Merge(src proto.Message)

func (*JSONSchemaPropsOrStringArray) XXX_Size Uses

func (m *JSONSchemaPropsOrStringArray) XXX_Size() int

func (*JSONSchemaPropsOrStringArray) XXX_Unmarshal Uses

func (m *JSONSchemaPropsOrStringArray) XXX_Unmarshal(b []byte) error

type JSONSchemaURL Uses

type JSONSchemaURL string

JSONSchemaURL represents a schema url.

type ResourceScope Uses

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 Uses

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 Uses

func (in *ServiceReference) DeepCopy() *ServiceReference

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

func (*ServiceReference) DeepCopyInto Uses

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 Uses

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

func (*ServiceReference) Marshal Uses

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

func (*ServiceReference) MarshalTo Uses

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

func (*ServiceReference) MarshalToSizedBuffer Uses

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

func (*ServiceReference) ProtoMessage Uses

func (*ServiceReference) ProtoMessage()

func (*ServiceReference) Reset Uses

func (m *ServiceReference) Reset()

func (*ServiceReference) Size Uses

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

func (*ServiceReference) String Uses

func (this *ServiceReference) String() string

func (*ServiceReference) Unmarshal Uses

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

func (*ServiceReference) XXX_DiscardUnknown Uses

func (m *ServiceReference) XXX_DiscardUnknown()

func (*ServiceReference) XXX_Marshal Uses

func (m *ServiceReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServiceReference) XXX_Merge Uses

func (m *ServiceReference) XXX_Merge(src proto.Message)

func (*ServiceReference) XXX_Size Uses

func (m *ServiceReference) XXX_Size() int

func (*ServiceReference) XXX_Unmarshal Uses

func (m *ServiceReference) XXX_Unmarshal(b []byte) error

type WebhookClientConfig Uses

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 Uses

func (in *WebhookClientConfig) DeepCopy() *WebhookClientConfig

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

func (*WebhookClientConfig) DeepCopyInto Uses

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 Uses

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

func (*WebhookClientConfig) Marshal Uses

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

func (*WebhookClientConfig) MarshalTo Uses

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

func (*WebhookClientConfig) MarshalToSizedBuffer Uses

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

func (*WebhookClientConfig) ProtoMessage Uses

func (*WebhookClientConfig) ProtoMessage()

func (*WebhookClientConfig) Reset Uses

func (m *WebhookClientConfig) Reset()

func (*WebhookClientConfig) Size Uses

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

func (*WebhookClientConfig) String Uses

func (this *WebhookClientConfig) String() string

func (*WebhookClientConfig) Unmarshal Uses

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

func (*WebhookClientConfig) XXX_DiscardUnknown Uses

func (m *WebhookClientConfig) XXX_DiscardUnknown()

func (*WebhookClientConfig) XXX_Marshal Uses

func (m *WebhookClientConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WebhookClientConfig) XXX_Merge Uses

func (m *WebhookClientConfig) XXX_Merge(src proto.Message)

func (*WebhookClientConfig) XXX_Size Uses

func (m *WebhookClientConfig) XXX_Size() int

func (*WebhookClientConfig) XXX_Unmarshal Uses

func (m *WebhookClientConfig) XXX_Unmarshal(b []byte) error

Package v1beta1 imports 19 packages (graph) and is imported by 549 packages. Updated 2019-08-31. Refresh now. Tools for package owners.