Documentation

Overview

    Package v1 is the v1 version of the API.

    Index

    Constants

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

    Variables

    View Source
    var (
    	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
    	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
    	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
    )
    View Source
    var (
    	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
    
    	AddToScheme = localSchemeBuilder.AddToScheme
    )
    View Source
    var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}

      SchemeGroupVersion is group version used to register these objects

      Functions

      func Kind

      func Kind(kind string) schema.GroupKind

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

        func Resource

        func Resource(resource string) schema.GroupResource

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

          Types

          type CustomResourceDefinition

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

            CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.

            func (*CustomResourceDefinition) DeepCopy

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

              func (*CustomResourceDefinition) DeepCopyInto

              func (in *CustomResourceDefinition) DeepCopyInto(out *CustomResourceDefinition)

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

                func (*CustomResourceDefinition) DeepCopyObject

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

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

                  func (*CustomResourceDefinition) Descriptor

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

                  func (*CustomResourceDefinition) Marshal

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

                  func (*CustomResourceDefinition) MarshalTo

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

                  func (*CustomResourceDefinition) MarshalToSizedBuffer

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

                  func (*CustomResourceDefinition) ProtoMessage

                  func (*CustomResourceDefinition) ProtoMessage()

                  func (*CustomResourceDefinition) Reset

                  func (m *CustomResourceDefinition) Reset()

                  func (*CustomResourceDefinition) Size

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

                  func (*CustomResourceDefinition) String

                  func (this *CustomResourceDefinition) String() string

                  func (*CustomResourceDefinition) Unmarshal

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

                  func (*CustomResourceDefinition) XXX_DiscardUnknown

                  func (m *CustomResourceDefinition) XXX_DiscardUnknown()

                  func (*CustomResourceDefinition) XXX_Marshal

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

                  func (*CustomResourceDefinition) XXX_Merge

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

                  func (*CustomResourceDefinition) XXX_Size

                  func (m *CustomResourceDefinition) XXX_Size() int

                  func (*CustomResourceDefinition) XXX_Unmarshal

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

                  type CustomResourceDefinitionList

                  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

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

                      func (*CustomResourceDefinitionList) DeepCopyInto

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

                        func (*CustomResourceDefinitionList) DeepCopyObject

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

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

                          func (*CustomResourceDefinitionList) Descriptor

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

                          func (*CustomResourceDefinitionList) Marshal

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

                          func (*CustomResourceDefinitionList) MarshalTo

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

                          func (*CustomResourceDefinitionList) MarshalToSizedBuffer

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

                          func (*CustomResourceDefinitionList) ProtoMessage

                          func (*CustomResourceDefinitionList) ProtoMessage()

                          func (*CustomResourceDefinitionList) Reset

                          func (m *CustomResourceDefinitionList) Reset()

                          func (*CustomResourceDefinitionList) Size

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

                          func (*CustomResourceDefinitionList) String

                          func (this *CustomResourceDefinitionList) String() string

                          func (*CustomResourceDefinitionList) Unmarshal

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

                          func (*CustomResourceDefinitionList) XXX_DiscardUnknown

                          func (m *CustomResourceDefinitionList) XXX_DiscardUnknown()

                          func (*CustomResourceDefinitionList) XXX_Marshal

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

                          func (*CustomResourceDefinitionList) XXX_Merge

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

                          func (*CustomResourceDefinitionList) XXX_Size

                          func (m *CustomResourceDefinitionList) XXX_Size() int

                          func (*CustomResourceDefinitionList) XXX_Unmarshal

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