Documentation ¶
Overview ¶
Package v1 is the v1 version of the API.
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type CustomResourceDefinition
- func (in *CustomResourceDefinition) DeepCopy() *CustomResourceDefinition
- func (in *CustomResourceDefinition) DeepCopyInto(out *CustomResourceDefinition)
- func (in *CustomResourceDefinition) DeepCopyObject() runtime.Object
- func (*CustomResourceDefinition) Descriptor() ([]byte, []int)
- func (m *CustomResourceDefinition) Marshal() (dAtA []byte, err error)
- func (m *CustomResourceDefinition) MarshalTo(dAtA []byte) (int, error)
- func (m *CustomResourceDefinition) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CustomResourceDefinition) ProtoMessage()
- func (m *CustomResourceDefinition) Reset()
- func (m *CustomResourceDefinition) Size() (n int)
- func (this *CustomResourceDefinition) String() string
- func (m *CustomResourceDefinition) Unmarshal(dAtA []byte) error
- func (m *CustomResourceDefinition) XXX_DiscardUnknown()
- func (m *CustomResourceDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CustomResourceDefinition) XXX_Merge(src proto.Message)
- func (m *CustomResourceDefinition) XXX_Size() int
- func (m *CustomResourceDefinition) XXX_Unmarshal(b []byte) error
- type CustomResourceDefinitionList
- func (in *CustomResourceDefinitionList) DeepCopy() *CustomResourceDefinitionList
- func (in *CustomResourceDefinitionList) DeepCopyInto(out *CustomResourceDefinitionList)
- func (in *CustomResourceDefinitionList) DeepCopyObject() runtime.Object
- func (*CustomResourceDefinitionList) Descriptor() ([]byte, []int)
- func (m *CustomResourceDefinitionList) Marshal() (dAtA []byte, err error)
- func (m *CustomResourceDefinitionList) MarshalTo(dAtA []byte) (int, error)
- func (m *CustomResourceDefinitionList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CustomResourceDefinitionList) ProtoMessage()
- func (m *CustomResourceDefinitionList) Reset()
- func (m *CustomResourceDefinitionList) Size() (n int)
- func (this *CustomResourceDefinitionList) String() string
- func (m *CustomResourceDefinitionList) Unmarshal(dAtA []byte) error
- func (m *CustomResourceDefinitionList) XXX_DiscardUnknown()
- func (m *CustomResourceDefinitionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CustomResourceDefinitionList) XXX_Merge(src proto.Message)
- func (m *CustomResourceDefinitionList) XXX_Size() int
- func (m *CustomResourceDefinitionList) XXX_Unmarshal(b []byte) error
Constants ¶
const GroupName = "apiextensions.k8s.io"
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") )
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
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"` // Standard object's metadata // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` }
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 ¶
func (in *CustomResourceDefinition) DeepCopy() *CustomResourceDefinition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinition.
func (*CustomResourceDefinition) DeepCopyInto ¶
func (in *CustomResourceDefinition) DeepCopyInto(out *CustomResourceDefinition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CustomResourceDefinition) DeepCopyObject ¶
func (in *CustomResourceDefinition) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CustomResourceDefinition) Descriptor ¶
func (*CustomResourceDefinition) Descriptor() ([]byte, []int)
func (*CustomResourceDefinition) Marshal ¶
func (m *CustomResourceDefinition) Marshal() (dAtA []byte, err error)
func (*CustomResourceDefinition) MarshalTo ¶
func (m *CustomResourceDefinition) MarshalTo(dAtA []byte) (int, error)
func (*CustomResourceDefinition) MarshalToSizedBuffer ¶
func (m *CustomResourceDefinition) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CustomResourceDefinition) ProtoMessage ¶
func (*CustomResourceDefinition) ProtoMessage()
func (*CustomResourceDefinition) Reset ¶
func (m *CustomResourceDefinition) Reset()
func (*CustomResourceDefinition) Size ¶
func (m *CustomResourceDefinition) Size() (n int)
func (*CustomResourceDefinition) String ¶
func (this *CustomResourceDefinition) String() string
func (*CustomResourceDefinition) Unmarshal ¶
func (m *CustomResourceDefinition) Unmarshal(dAtA []byte) error
func (*CustomResourceDefinition) XXX_DiscardUnknown ¶
func (m *CustomResourceDefinition) XXX_DiscardUnknown()
func (*CustomResourceDefinition) XXX_Marshal ¶
func (m *CustomResourceDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CustomResourceDefinition) XXX_Merge ¶
func (m *CustomResourceDefinition) XXX_Merge(src proto.Message)
func (*CustomResourceDefinition) XXX_Size ¶
func (m *CustomResourceDefinition) XXX_Size() int
func (*CustomResourceDefinition) XXX_Unmarshal ¶
func (m *CustomResourceDefinition) XXX_Unmarshal(b []byte) error
type CustomResourceDefinitionList ¶
type CustomResourceDefinitionList struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // items list individual CustomResourceDefinition objects Items []CustomResourceDefinition `json:"items" protobuf:"bytes,2,rep,name=items"` }
CustomResourceDefinitionList is a list of CustomResourceDefinition objects.
func (*CustomResourceDefinitionList) DeepCopy ¶
func (in *CustomResourceDefinitionList) DeepCopy() *CustomResourceDefinitionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionList.
func (*CustomResourceDefinitionList) DeepCopyInto ¶
func (in *CustomResourceDefinitionList) DeepCopyInto(out *CustomResourceDefinitionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CustomResourceDefinitionList) DeepCopyObject ¶
func (in *CustomResourceDefinitionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CustomResourceDefinitionList) Descriptor ¶
func (*CustomResourceDefinitionList) Descriptor() ([]byte, []int)
func (*CustomResourceDefinitionList) Marshal ¶
func (m *CustomResourceDefinitionList) Marshal() (dAtA []byte, err error)
func (*CustomResourceDefinitionList) MarshalTo ¶
func (m *CustomResourceDefinitionList) MarshalTo(dAtA []byte) (int, error)
func (*CustomResourceDefinitionList) MarshalToSizedBuffer ¶
func (m *CustomResourceDefinitionList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CustomResourceDefinitionList) ProtoMessage ¶
func (*CustomResourceDefinitionList) ProtoMessage()
func (*CustomResourceDefinitionList) Reset ¶
func (m *CustomResourceDefinitionList) Reset()
func (*CustomResourceDefinitionList) Size ¶
func (m *CustomResourceDefinitionList) Size() (n int)
func (*CustomResourceDefinitionList) String ¶
func (this *CustomResourceDefinitionList) String() string
func (*CustomResourceDefinitionList) Unmarshal ¶
func (m *CustomResourceDefinitionList) Unmarshal(dAtA []byte) error
func (*CustomResourceDefinitionList) XXX_DiscardUnknown ¶
func (m *CustomResourceDefinitionList) XXX_DiscardUnknown()
func (*CustomResourceDefinitionList) XXX_Marshal ¶
func (m *CustomResourceDefinitionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CustomResourceDefinitionList) XXX_Merge ¶
func (m *CustomResourceDefinitionList) XXX_Merge(src proto.Message)
func (*CustomResourceDefinitionList) XXX_Size ¶
func (m *CustomResourceDefinitionList) XXX_Size() int
func (*CustomResourceDefinitionList) XXX_Unmarshal ¶
func (m *CustomResourceDefinitionList) XXX_Unmarshal(b []byte) error