Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the resource API.
Index ¶
- Constants
- Variables
- func Resource(resource string) schema.GroupResource
- type AllocationMode
- type AllocationResult
- func (in *AllocationResult) DeepCopy() *AllocationResult
- func (in *AllocationResult) DeepCopyInto(out *AllocationResult)
- func (*AllocationResult) Descriptor() ([]byte, []int)
- func (m *AllocationResult) Marshal() (dAtA []byte, err error)
- func (m *AllocationResult) MarshalTo(dAtA []byte) (int, error)
- func (m *AllocationResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AllocationResult) ProtoMessage()
- func (m *AllocationResult) Reset()
- func (m *AllocationResult) Size() (n int)
- func (this *AllocationResult) String() string
- func (AllocationResult) SwaggerDoc() map[string]string
- func (m *AllocationResult) Unmarshal(dAtA []byte) error
- func (m *AllocationResult) XXX_DiscardUnknown()
- func (m *AllocationResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AllocationResult) XXX_Merge(src proto.Message)
- func (m *AllocationResult) XXX_Size() int
- func (m *AllocationResult) XXX_Unmarshal(b []byte) error
- type PodScheduling
- func (in *PodScheduling) DeepCopy() *PodScheduling
- func (in *PodScheduling) DeepCopyInto(out *PodScheduling)
- func (in *PodScheduling) DeepCopyObject() runtime.Object
- func (*PodScheduling) Descriptor() ([]byte, []int)
- func (m *PodScheduling) Marshal() (dAtA []byte, err error)
- func (m *PodScheduling) MarshalTo(dAtA []byte) (int, error)
- func (m *PodScheduling) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PodScheduling) ProtoMessage()
- func (m *PodScheduling) Reset()
- func (m *PodScheduling) Size() (n int)
- func (this *PodScheduling) String() string
- func (PodScheduling) SwaggerDoc() map[string]string
- func (m *PodScheduling) Unmarshal(dAtA []byte) error
- func (m *PodScheduling) XXX_DiscardUnknown()
- func (m *PodScheduling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PodScheduling) XXX_Merge(src proto.Message)
- func (m *PodScheduling) XXX_Size() int
- func (m *PodScheduling) XXX_Unmarshal(b []byte) error
- type PodSchedulingList
- func (in *PodSchedulingList) DeepCopy() *PodSchedulingList
- func (in *PodSchedulingList) DeepCopyInto(out *PodSchedulingList)
- func (in *PodSchedulingList) DeepCopyObject() runtime.Object
- func (*PodSchedulingList) Descriptor() ([]byte, []int)
- func (m *PodSchedulingList) Marshal() (dAtA []byte, err error)
- func (m *PodSchedulingList) MarshalTo(dAtA []byte) (int, error)
- func (m *PodSchedulingList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PodSchedulingList) ProtoMessage()
- func (m *PodSchedulingList) Reset()
- func (m *PodSchedulingList) Size() (n int)
- func (this *PodSchedulingList) String() string
- func (PodSchedulingList) SwaggerDoc() map[string]string
- func (m *PodSchedulingList) Unmarshal(dAtA []byte) error
- func (m *PodSchedulingList) XXX_DiscardUnknown()
- func (m *PodSchedulingList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PodSchedulingList) XXX_Merge(src proto.Message)
- func (m *PodSchedulingList) XXX_Size() int
- func (m *PodSchedulingList) XXX_Unmarshal(b []byte) error
- type PodSchedulingSpec
- func (in *PodSchedulingSpec) DeepCopy() *PodSchedulingSpec
- func (in *PodSchedulingSpec) DeepCopyInto(out *PodSchedulingSpec)
- func (*PodSchedulingSpec) Descriptor() ([]byte, []int)
- func (m *PodSchedulingSpec) Marshal() (dAtA []byte, err error)
- func (m *PodSchedulingSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *PodSchedulingSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PodSchedulingSpec) ProtoMessage()
- func (m *PodSchedulingSpec) Reset()
- func (m *PodSchedulingSpec) Size() (n int)
- func (this *PodSchedulingSpec) String() string
- func (PodSchedulingSpec) SwaggerDoc() map[string]string
- func (m *PodSchedulingSpec) Unmarshal(dAtA []byte) error
- func (m *PodSchedulingSpec) XXX_DiscardUnknown()
- func (m *PodSchedulingSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PodSchedulingSpec) XXX_Merge(src proto.Message)
- func (m *PodSchedulingSpec) XXX_Size() int
- func (m *PodSchedulingSpec) XXX_Unmarshal(b []byte) error
- type PodSchedulingStatus
- func (in *PodSchedulingStatus) DeepCopy() *PodSchedulingStatus
- func (in *PodSchedulingStatus) DeepCopyInto(out *PodSchedulingStatus)
- func (*PodSchedulingStatus) Descriptor() ([]byte, []int)
- func (m *PodSchedulingStatus) Marshal() (dAtA []byte, err error)
- func (m *PodSchedulingStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *PodSchedulingStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PodSchedulingStatus) ProtoMessage()
- func (m *PodSchedulingStatus) Reset()
- func (m *PodSchedulingStatus) Size() (n int)
- func (this *PodSchedulingStatus) String() string
- func (PodSchedulingStatus) SwaggerDoc() map[string]string
- func (m *PodSchedulingStatus) Unmarshal(dAtA []byte) error
- func (m *PodSchedulingStatus) XXX_DiscardUnknown()
- func (m *PodSchedulingStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PodSchedulingStatus) XXX_Merge(src proto.Message)
- func (m *PodSchedulingStatus) XXX_Size() int
- func (m *PodSchedulingStatus) XXX_Unmarshal(b []byte) error
- type ResourceClaim
- func (in *ResourceClaim) DeepCopy() *ResourceClaim
- func (in *ResourceClaim) DeepCopyInto(out *ResourceClaim)
- func (in *ResourceClaim) DeepCopyObject() runtime.Object
- func (*ResourceClaim) Descriptor() ([]byte, []int)
- func (m *ResourceClaim) Marshal() (dAtA []byte, err error)
- func (m *ResourceClaim) MarshalTo(dAtA []byte) (int, error)
- func (m *ResourceClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResourceClaim) ProtoMessage()
- func (m *ResourceClaim) Reset()
- func (m *ResourceClaim) Size() (n int)
- func (this *ResourceClaim) String() string
- func (ResourceClaim) SwaggerDoc() map[string]string
- func (m *ResourceClaim) Unmarshal(dAtA []byte) error
- func (m *ResourceClaim) XXX_DiscardUnknown()
- func (m *ResourceClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResourceClaim) XXX_Merge(src proto.Message)
- func (m *ResourceClaim) XXX_Size() int
- func (m *ResourceClaim) XXX_Unmarshal(b []byte) error
- type ResourceClaimConsumerReference
- func (in *ResourceClaimConsumerReference) DeepCopy() *ResourceClaimConsumerReference
- func (in *ResourceClaimConsumerReference) DeepCopyInto(out *ResourceClaimConsumerReference)
- func (*ResourceClaimConsumerReference) Descriptor() ([]byte, []int)
- func (m *ResourceClaimConsumerReference) Marshal() (dAtA []byte, err error)
- func (m *ResourceClaimConsumerReference) MarshalTo(dAtA []byte) (int, error)
- func (m *ResourceClaimConsumerReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResourceClaimConsumerReference) ProtoMessage()
- func (m *ResourceClaimConsumerReference) Reset()
- func (m *ResourceClaimConsumerReference) Size() (n int)
- func (this *ResourceClaimConsumerReference) String() string
- func (ResourceClaimConsumerReference) SwaggerDoc() map[string]string
- func (m *ResourceClaimConsumerReference) Unmarshal(dAtA []byte) error
- func (m *ResourceClaimConsumerReference) XXX_DiscardUnknown()
- func (m *ResourceClaimConsumerReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResourceClaimConsumerReference) XXX_Merge(src proto.Message)
- func (m *ResourceClaimConsumerReference) XXX_Size() int
- func (m *ResourceClaimConsumerReference) XXX_Unmarshal(b []byte) error
- type ResourceClaimList
- func (in *ResourceClaimList) DeepCopy() *ResourceClaimList
- func (in *ResourceClaimList) DeepCopyInto(out *ResourceClaimList)
- func (in *ResourceClaimList) DeepCopyObject() runtime.Object
- func (*ResourceClaimList) Descriptor() ([]byte, []int)
- func (m *ResourceClaimList) Marshal() (dAtA []byte, err error)
- func (m *ResourceClaimList) MarshalTo(dAtA []byte) (int, error)
- func (m *ResourceClaimList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResourceClaimList) ProtoMessage()
- func (m *ResourceClaimList) Reset()
- func (m *ResourceClaimList) Size() (n int)
- func (this *ResourceClaimList) String() string
- func (ResourceClaimList) SwaggerDoc() map[string]string
- func (m *ResourceClaimList) Unmarshal(dAtA []byte) error
- func (m *ResourceClaimList) XXX_DiscardUnknown()
- func (m *ResourceClaimList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResourceClaimList) XXX_Merge(src proto.Message)
- func (m *ResourceClaimList) XXX_Size() int
- func (m *ResourceClaimList) XXX_Unmarshal(b []byte) error
- type ResourceClaimParametersReference
- func (in *ResourceClaimParametersReference) DeepCopy() *ResourceClaimParametersReference
- func (in *ResourceClaimParametersReference) DeepCopyInto(out *ResourceClaimParametersReference)
- func (*ResourceClaimParametersReference) Descriptor() ([]byte, []int)
- func (m *ResourceClaimParametersReference) Marshal() (dAtA []byte, err error)
- func (m *ResourceClaimParametersReference) MarshalTo(dAtA []byte) (int, error)
- func (m *ResourceClaimParametersReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResourceClaimParametersReference) ProtoMessage()
- func (m *ResourceClaimParametersReference) Reset()
- func (m *ResourceClaimParametersReference) Size() (n int)
- func (this *ResourceClaimParametersReference) String() string
- func (ResourceClaimParametersReference) SwaggerDoc() map[string]string
- func (m *ResourceClaimParametersReference) Unmarshal(dAtA []byte) error
- func (m *ResourceClaimParametersReference) XXX_DiscardUnknown()
- func (m *ResourceClaimParametersReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResourceClaimParametersReference) XXX_Merge(src proto.Message)
- func (m *ResourceClaimParametersReference) XXX_Size() int
- func (m *ResourceClaimParametersReference) XXX_Unmarshal(b []byte) error
- type ResourceClaimSchedulingStatus
- func (in *ResourceClaimSchedulingStatus) DeepCopy() *ResourceClaimSchedulingStatus
- func (in *ResourceClaimSchedulingStatus) DeepCopyInto(out *ResourceClaimSchedulingStatus)
- func (*ResourceClaimSchedulingStatus) Descriptor() ([]byte, []int)
- func (m *ResourceClaimSchedulingStatus) Marshal() (dAtA []byte, err error)
- func (m *ResourceClaimSchedulingStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *ResourceClaimSchedulingStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResourceClaimSchedulingStatus) ProtoMessage()
- func (m *ResourceClaimSchedulingStatus) Reset()
- func (m *ResourceClaimSchedulingStatus) Size() (n int)
- func (this *ResourceClaimSchedulingStatus) String() string
- func (ResourceClaimSchedulingStatus) SwaggerDoc() map[string]string
- func (m *ResourceClaimSchedulingStatus) Unmarshal(dAtA []byte) error
- func (m *ResourceClaimSchedulingStatus) XXX_DiscardUnknown()
- func (m *ResourceClaimSchedulingStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResourceClaimSchedulingStatus) XXX_Merge(src proto.Message)
- func (m *ResourceClaimSchedulingStatus) XXX_Size() int
- func (m *ResourceClaimSchedulingStatus) XXX_Unmarshal(b []byte) error
- type ResourceClaimSpec
- func (in *ResourceClaimSpec) DeepCopy() *ResourceClaimSpec
- func (in *ResourceClaimSpec) DeepCopyInto(out *ResourceClaimSpec)
- func (*ResourceClaimSpec) Descriptor() ([]byte, []int)
- func (m *ResourceClaimSpec) Marshal() (dAtA []byte, err error)
- func (m *ResourceClaimSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *ResourceClaimSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResourceClaimSpec) ProtoMessage()
- func (m *ResourceClaimSpec) Reset()
- func (m *ResourceClaimSpec) Size() (n int)
- func (this *ResourceClaimSpec) String() string
- func (ResourceClaimSpec) SwaggerDoc() map[string]string
- func (m *ResourceClaimSpec) Unmarshal(dAtA []byte) error
- func (m *ResourceClaimSpec) XXX_DiscardUnknown()
- func (m *ResourceClaimSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResourceClaimSpec) XXX_Merge(src proto.Message)
- func (m *ResourceClaimSpec) XXX_Size() int
- func (m *ResourceClaimSpec) XXX_Unmarshal(b []byte) error
- type ResourceClaimStatus
- func (in *ResourceClaimStatus) DeepCopy() *ResourceClaimStatus
- func (in *ResourceClaimStatus) DeepCopyInto(out *ResourceClaimStatus)
- func (*ResourceClaimStatus) Descriptor() ([]byte, []int)
- func (m *ResourceClaimStatus) Marshal() (dAtA []byte, err error)
- func (m *ResourceClaimStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *ResourceClaimStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResourceClaimStatus) ProtoMessage()
- func (m *ResourceClaimStatus) Reset()
- func (m *ResourceClaimStatus) Size() (n int)
- func (this *ResourceClaimStatus) String() string
- func (ResourceClaimStatus) SwaggerDoc() map[string]string
- func (m *ResourceClaimStatus) Unmarshal(dAtA []byte) error
- func (m *ResourceClaimStatus) XXX_DiscardUnknown()
- func (m *ResourceClaimStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResourceClaimStatus) XXX_Merge(src proto.Message)
- func (m *ResourceClaimStatus) XXX_Size() int
- func (m *ResourceClaimStatus) XXX_Unmarshal(b []byte) error
- type ResourceClaimTemplate
- func (in *ResourceClaimTemplate) DeepCopy() *ResourceClaimTemplate
- func (in *ResourceClaimTemplate) DeepCopyInto(out *ResourceClaimTemplate)
- func (in *ResourceClaimTemplate) DeepCopyObject() runtime.Object
- func (*ResourceClaimTemplate) Descriptor() ([]byte, []int)
- func (m *ResourceClaimTemplate) Marshal() (dAtA []byte, err error)
- func (m *ResourceClaimTemplate) MarshalTo(dAtA []byte) (int, error)
- func (m *ResourceClaimTemplate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResourceClaimTemplate) ProtoMessage()
- func (m *ResourceClaimTemplate) Reset()
- func (m *ResourceClaimTemplate) Size() (n int)
- func (this *ResourceClaimTemplate) String() string
- func (ResourceClaimTemplate) SwaggerDoc() map[string]string
- func (m *ResourceClaimTemplate) Unmarshal(dAtA []byte) error
- func (m *ResourceClaimTemplate) XXX_DiscardUnknown()
- func (m *ResourceClaimTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResourceClaimTemplate) XXX_Merge(src proto.Message)
- func (m *ResourceClaimTemplate) XXX_Size() int
- func (m *ResourceClaimTemplate) XXX_Unmarshal(b []byte) error
- type ResourceClaimTemplateList
- func (in *ResourceClaimTemplateList) DeepCopy() *ResourceClaimTemplateList
- func (in *ResourceClaimTemplateList) DeepCopyInto(out *ResourceClaimTemplateList)
- func (in *ResourceClaimTemplateList) DeepCopyObject() runtime.Object
- func (*ResourceClaimTemplateList) Descriptor() ([]byte, []int)
- func (m *ResourceClaimTemplateList) Marshal() (dAtA []byte, err error)
- func (m *ResourceClaimTemplateList) MarshalTo(dAtA []byte) (int, error)
- func (m *ResourceClaimTemplateList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResourceClaimTemplateList) ProtoMessage()
- func (m *ResourceClaimTemplateList) Reset()
- func (m *ResourceClaimTemplateList) Size() (n int)
- func (this *ResourceClaimTemplateList) String() string
- func (ResourceClaimTemplateList) SwaggerDoc() map[string]string
- func (m *ResourceClaimTemplateList) Unmarshal(dAtA []byte) error
- func (m *ResourceClaimTemplateList) XXX_DiscardUnknown()
- func (m *ResourceClaimTemplateList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResourceClaimTemplateList) XXX_Merge(src proto.Message)
- func (m *ResourceClaimTemplateList) XXX_Size() int
- func (m *ResourceClaimTemplateList) XXX_Unmarshal(b []byte) error
- type ResourceClaimTemplateSpec
- func (in *ResourceClaimTemplateSpec) DeepCopy() *ResourceClaimTemplateSpec
- func (in *ResourceClaimTemplateSpec) DeepCopyInto(out *ResourceClaimTemplateSpec)
- func (*ResourceClaimTemplateSpec) Descriptor() ([]byte, []int)
- func (m *ResourceClaimTemplateSpec) Marshal() (dAtA []byte, err error)
- func (m *ResourceClaimTemplateSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *ResourceClaimTemplateSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResourceClaimTemplateSpec) ProtoMessage()
- func (m *ResourceClaimTemplateSpec) Reset()
- func (m *ResourceClaimTemplateSpec) Size() (n int)
- func (this *ResourceClaimTemplateSpec) String() string
- func (ResourceClaimTemplateSpec) SwaggerDoc() map[string]string
- func (m *ResourceClaimTemplateSpec) Unmarshal(dAtA []byte) error
- func (m *ResourceClaimTemplateSpec) XXX_DiscardUnknown()
- func (m *ResourceClaimTemplateSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResourceClaimTemplateSpec) XXX_Merge(src proto.Message)
- func (m *ResourceClaimTemplateSpec) XXX_Size() int
- func (m *ResourceClaimTemplateSpec) XXX_Unmarshal(b []byte) error
- type ResourceClass
- func (in *ResourceClass) DeepCopy() *ResourceClass
- func (in *ResourceClass) DeepCopyInto(out *ResourceClass)
- func (in *ResourceClass) DeepCopyObject() runtime.Object
- func (*ResourceClass) Descriptor() ([]byte, []int)
- func (m *ResourceClass) Marshal() (dAtA []byte, err error)
- func (m *ResourceClass) MarshalTo(dAtA []byte) (int, error)
- func (m *ResourceClass) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResourceClass) ProtoMessage()
- func (m *ResourceClass) Reset()
- func (m *ResourceClass) Size() (n int)
- func (this *ResourceClass) String() string
- func (ResourceClass) SwaggerDoc() map[string]string
- func (m *ResourceClass) Unmarshal(dAtA []byte) error
- func (m *ResourceClass) XXX_DiscardUnknown()
- func (m *ResourceClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResourceClass) XXX_Merge(src proto.Message)
- func (m *ResourceClass) XXX_Size() int
- func (m *ResourceClass) XXX_Unmarshal(b []byte) error
- type ResourceClassList
- func (in *ResourceClassList) DeepCopy() *ResourceClassList
- func (in *ResourceClassList) DeepCopyInto(out *ResourceClassList)
- func (in *ResourceClassList) DeepCopyObject() runtime.Object
- func (*ResourceClassList) Descriptor() ([]byte, []int)
- func (m *ResourceClassList) Marshal() (dAtA []byte, err error)
- func (m *ResourceClassList) MarshalTo(dAtA []byte) (int, error)
- func (m *ResourceClassList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResourceClassList) ProtoMessage()
- func (m *ResourceClassList) Reset()
- func (m *ResourceClassList) Size() (n int)
- func (this *ResourceClassList) String() string
- func (ResourceClassList) SwaggerDoc() map[string]string
- func (m *ResourceClassList) Unmarshal(dAtA []byte) error
- func (m *ResourceClassList) XXX_DiscardUnknown()
- func (m *ResourceClassList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResourceClassList) XXX_Merge(src proto.Message)
- func (m *ResourceClassList) XXX_Size() int
- func (m *ResourceClassList) XXX_Unmarshal(b []byte) error
- type ResourceClassParametersReference
- func (in *ResourceClassParametersReference) DeepCopy() *ResourceClassParametersReference
- func (in *ResourceClassParametersReference) DeepCopyInto(out *ResourceClassParametersReference)
- func (*ResourceClassParametersReference) Descriptor() ([]byte, []int)
- func (m *ResourceClassParametersReference) Marshal() (dAtA []byte, err error)
- func (m *ResourceClassParametersReference) MarshalTo(dAtA []byte) (int, error)
- func (m *ResourceClassParametersReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResourceClassParametersReference) ProtoMessage()
- func (m *ResourceClassParametersReference) Reset()
- func (m *ResourceClassParametersReference) Size() (n int)
- func (this *ResourceClassParametersReference) String() string
- func (ResourceClassParametersReference) SwaggerDoc() map[string]string
- func (m *ResourceClassParametersReference) Unmarshal(dAtA []byte) error
- func (m *ResourceClassParametersReference) XXX_DiscardUnknown()
- func (m *ResourceClassParametersReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResourceClassParametersReference) XXX_Merge(src proto.Message)
- func (m *ResourceClassParametersReference) XXX_Size() int
- func (m *ResourceClassParametersReference) XXX_Unmarshal(b []byte) error
Constants ¶
const GroupName = "resource.k8s.io"
GroupName is the group name use in this package
const PodSchedulingNodeListMaxSize = 128
PodSchedulingNodeListMaxSize defines the maximum number of entries in the node lists that are stored in PodScheduling objects. This limit is part of the API.
const ResourceClaimReservedForMaxSize = 32
ReservedForMaxSize is the maximum number of entries in claim.status.reservedFor.
const ResourceHandleMaxSize = 16 * 1024
ResourceHandleMaxSize is the maximum size of allocation.resourceHandle.
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 ( // We only register manually written functions here. The registration of the // generated functions takes place in the generated files. The separation // makes the code compile even when the generated files are missing. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
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 a Group qualified GroupResource
Types ¶
type AllocationMode ¶
type AllocationMode string
AllocationMode describes whether a ResourceClaim gets allocated immediately when it gets created (AllocationModeImmediate) or whether allocation is delayed until it is needed for a Pod (AllocationModeWaitForFirstConsumer). Other modes might get added in the future.
const ( // When a ResourceClaim has AllocationModeWaitForFirstConsumer, allocation is // delayed until a Pod gets scheduled that needs the ResourceClaim. The // scheduler will consider all resource requirements of that Pod and // trigger allocation for a node that fits the Pod. AllocationModeWaitForFirstConsumer AllocationMode = "WaitForFirstConsumer" // When a ResourceClaim has AllocationModeImmediate, allocation starts // as soon as the ResourceClaim gets created. This is done without // considering the needs of Pods that will use the ResourceClaim // because those Pods are not known yet. AllocationModeImmediate AllocationMode = "Immediate" )
type AllocationResult ¶
type AllocationResult struct { // ResourceHandle contains arbitrary data returned by the driver after a // successful allocation. This is opaque for // Kubernetes. Driver documentation may explain to users how to // interpret this data if needed. // // The maximum size of this field is 16KiB. This may get // increased in the future, but not reduced. // +optional ResourceHandle string `json:"resourceHandle,omitempty" protobuf:"bytes,1,opt,name=resourceHandle"` // This field will get set by the resource driver after it has // allocated the resource driver to inform the scheduler where it can // schedule Pods using the ResourceClaim. // // Setting this field is optional. If null, the resource is available // everywhere. // +optional AvailableOnNodes *v1.NodeSelector `json:"availableOnNodes,omitempty" protobuf:"bytes,2,opt,name=availableOnNodes"` // than one consumer at a time. // +optional Shareable bool `json:"shareable,omitempty" protobuf:"varint,3,opt,name=shareable"` }
AllocationResult contains attributed of an allocated resource.
func (*AllocationResult) DeepCopy ¶
func (in *AllocationResult) DeepCopy() *AllocationResult
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllocationResult.
func (*AllocationResult) DeepCopyInto ¶
func (in *AllocationResult) DeepCopyInto(out *AllocationResult)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AllocationResult) Descriptor ¶
func (*AllocationResult) Descriptor() ([]byte, []int)
func (*AllocationResult) Marshal ¶
func (m *AllocationResult) Marshal() (dAtA []byte, err error)
func (*AllocationResult) MarshalToSizedBuffer ¶
func (m *AllocationResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AllocationResult) ProtoMessage ¶
func (*AllocationResult) ProtoMessage()
func (*AllocationResult) Reset ¶
func (m *AllocationResult) Reset()
func (*AllocationResult) Size ¶
func (m *AllocationResult) Size() (n int)
func (*AllocationResult) String ¶
func (this *AllocationResult) String() string
func (AllocationResult) SwaggerDoc ¶
func (AllocationResult) SwaggerDoc() map[string]string
func (*AllocationResult) Unmarshal ¶
func (m *AllocationResult) Unmarshal(dAtA []byte) error
func (*AllocationResult) XXX_DiscardUnknown ¶
func (m *AllocationResult) XXX_DiscardUnknown()
func (*AllocationResult) XXX_Marshal ¶
func (m *AllocationResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AllocationResult) XXX_Merge ¶
func (m *AllocationResult) XXX_Merge(src proto.Message)
func (*AllocationResult) XXX_Size ¶
func (m *AllocationResult) XXX_Size() int
func (*AllocationResult) XXX_Unmarshal ¶
func (m *AllocationResult) XXX_Unmarshal(b []byte) error
type PodScheduling ¶
type PodScheduling struct { metav1.TypeMeta `json:",inline"` // Standard object metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec describes where resources for the Pod are needed. Spec PodSchedulingSpec `json:"spec" protobuf:"bytes,2,name=spec"` // Status describes where resources for the Pod can be allocated. // +optional Status PodSchedulingStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
PodScheduling objects hold information that is needed to schedule a Pod with ResourceClaims that use "WaitForFirstConsumer" allocation mode.
This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.
func (*PodScheduling) DeepCopy ¶
func (in *PodScheduling) DeepCopy() *PodScheduling
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodScheduling.
func (*PodScheduling) DeepCopyInto ¶
func (in *PodScheduling) DeepCopyInto(out *PodScheduling)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodScheduling) DeepCopyObject ¶
func (in *PodScheduling) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PodScheduling) Descriptor ¶
func (*PodScheduling) Descriptor() ([]byte, []int)
func (*PodScheduling) Marshal ¶
func (m *PodScheduling) Marshal() (dAtA []byte, err error)
func (*PodScheduling) MarshalToSizedBuffer ¶
func (m *PodScheduling) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PodScheduling) ProtoMessage ¶
func (*PodScheduling) ProtoMessage()
func (*PodScheduling) Reset ¶
func (m *PodScheduling) Reset()
func (*PodScheduling) Size ¶
func (m *PodScheduling) Size() (n int)
func (*PodScheduling) String ¶
func (this *PodScheduling) String() string
func (PodScheduling) SwaggerDoc ¶
func (PodScheduling) SwaggerDoc() map[string]string
func (*PodScheduling) Unmarshal ¶
func (m *PodScheduling) Unmarshal(dAtA []byte) error
func (*PodScheduling) XXX_DiscardUnknown ¶
func (m *PodScheduling) XXX_DiscardUnknown()
func (*PodScheduling) XXX_Marshal ¶
func (m *PodScheduling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PodScheduling) XXX_Merge ¶
func (m *PodScheduling) XXX_Merge(src proto.Message)
func (*PodScheduling) XXX_Size ¶
func (m *PodScheduling) XXX_Size() int
func (*PodScheduling) XXX_Unmarshal ¶
func (m *PodScheduling) XXX_Unmarshal(b []byte) error
type PodSchedulingList ¶
type PodSchedulingList struct { metav1.TypeMeta `json:",inline"` // Standard list metadata // +optional metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is the list of PodScheduling objects. Items []PodScheduling `json:"items" protobuf:"bytes,2,rep,name=items"` }
PodSchedulingList is a collection of Pod scheduling objects.
func (*PodSchedulingList) DeepCopy ¶
func (in *PodSchedulingList) DeepCopy() *PodSchedulingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSchedulingList.
func (*PodSchedulingList) DeepCopyInto ¶
func (in *PodSchedulingList) DeepCopyInto(out *PodSchedulingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodSchedulingList) DeepCopyObject ¶
func (in *PodSchedulingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PodSchedulingList) Descriptor ¶
func (*PodSchedulingList) Descriptor() ([]byte, []int)
func (*PodSchedulingList) Marshal ¶
func (m *PodSchedulingList) Marshal() (dAtA []byte, err error)
func (*PodSchedulingList) MarshalTo ¶
func (m *PodSchedulingList) MarshalTo(dAtA []byte) (int, error)
func (*PodSchedulingList) MarshalToSizedBuffer ¶
func (m *PodSchedulingList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PodSchedulingList) ProtoMessage ¶
func (*PodSchedulingList) ProtoMessage()
func (*PodSchedulingList) Reset ¶
func (m *PodSchedulingList) Reset()
func (*PodSchedulingList) Size ¶
func (m *PodSchedulingList) Size() (n int)
func (*PodSchedulingList) String ¶
func (this *PodSchedulingList) String() string
func (PodSchedulingList) SwaggerDoc ¶
func (PodSchedulingList) SwaggerDoc() map[string]string
func (*PodSchedulingList) Unmarshal ¶
func (m *PodSchedulingList) Unmarshal(dAtA []byte) error
func (*PodSchedulingList) XXX_DiscardUnknown ¶
func (m *PodSchedulingList) XXX_DiscardUnknown()
func (*PodSchedulingList) XXX_Marshal ¶
func (m *PodSchedulingList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PodSchedulingList) XXX_Merge ¶
func (m *PodSchedulingList) XXX_Merge(src proto.Message)
func (*PodSchedulingList) XXX_Size ¶
func (m *PodSchedulingList) XXX_Size() int
func (*PodSchedulingList) XXX_Unmarshal ¶
func (m *PodSchedulingList) XXX_Unmarshal(b []byte) error
type PodSchedulingSpec ¶
type PodSchedulingSpec struct { // SelectedNode is the node for which allocation of ResourceClaims that // are referenced by the Pod and that use "WaitForFirstConsumer" // allocation is to be attempted. // +optional SelectedNode string `json:"selectedNode,omitempty" protobuf:"bytes,1,opt,name=selectedNode"` // PotentialNodes lists nodes where the Pod might be able to run. // // The size of this field is limited to 128. This is large enough for // many clusters. Larger clusters may need more attempts to find a node // that suits all pending resources. This may get increased in the // future, but not reduced. // // +listType=set // +optional PotentialNodes []string `json:"potentialNodes,omitempty" protobuf:"bytes,2,opt,name=potentialNodes"` }
PodSchedulingSpec describes where resources for the Pod are needed.
func (*PodSchedulingSpec) DeepCopy ¶
func (in *PodSchedulingSpec) DeepCopy() *PodSchedulingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSchedulingSpec.
func (*PodSchedulingSpec) DeepCopyInto ¶
func (in *PodSchedulingSpec) DeepCopyInto(out *PodSchedulingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodSchedulingSpec) Descriptor ¶
func (*PodSchedulingSpec) Descriptor() ([]byte, []int)
func (*PodSchedulingSpec) Marshal ¶
func (m *PodSchedulingSpec) Marshal() (dAtA []byte, err error)
func (*PodSchedulingSpec) MarshalTo ¶
func (m *PodSchedulingSpec) MarshalTo(dAtA []byte) (int, error)
func (*PodSchedulingSpec) MarshalToSizedBuffer ¶
func (m *PodSchedulingSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PodSchedulingSpec) ProtoMessage ¶
func (*PodSchedulingSpec) ProtoMessage()
func (*PodSchedulingSpec) Reset ¶
func (m *PodSchedulingSpec) Reset()
func (*PodSchedulingSpec) Size ¶
func (m *PodSchedulingSpec) Size() (n int)
func (*PodSchedulingSpec) String ¶
func (this *PodSchedulingSpec) String() string
func (PodSchedulingSpec) SwaggerDoc ¶
func (PodSchedulingSpec) SwaggerDoc() map[string]string
func (*PodSchedulingSpec) Unmarshal ¶
func (m *PodSchedulingSpec) Unmarshal(dAtA []byte) error
func (*PodSchedulingSpec) XXX_DiscardUnknown ¶
func (m *PodSchedulingSpec) XXX_DiscardUnknown()
func (*PodSchedulingSpec) XXX_Marshal ¶
func (m *PodSchedulingSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PodSchedulingSpec) XXX_Merge ¶
func (m *PodSchedulingSpec) XXX_Merge(src proto.Message)
func (*PodSchedulingSpec) XXX_Size ¶
func (m *PodSchedulingSpec) XXX_Size() int
func (*PodSchedulingSpec) XXX_Unmarshal ¶
func (m *PodSchedulingSpec) XXX_Unmarshal(b []byte) error
type PodSchedulingStatus ¶
type PodSchedulingStatus struct { // ResourceClaims describes resource availability for each // pod.spec.resourceClaim entry where the corresponding ResourceClaim // uses "WaitForFirstConsumer" allocation mode. // // +listType=map // +listMapKey=name // +optional ResourceClaims []ResourceClaimSchedulingStatus `json:"resourceClaims,omitempty" protobuf:"bytes,1,opt,name=resourceClaims"` }
PodSchedulingStatus describes where resources for the Pod can be allocated.
func (*PodSchedulingStatus) DeepCopy ¶
func (in *PodSchedulingStatus) DeepCopy() *PodSchedulingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSchedulingStatus.
func (*PodSchedulingStatus) DeepCopyInto ¶
func (in *PodSchedulingStatus) DeepCopyInto(out *PodSchedulingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodSchedulingStatus) Descriptor ¶
func (*PodSchedulingStatus) Descriptor() ([]byte, []int)
func (*PodSchedulingStatus) Marshal ¶
func (m *PodSchedulingStatus) Marshal() (dAtA []byte, err error)
func (*PodSchedulingStatus) MarshalTo ¶
func (m *PodSchedulingStatus) MarshalTo(dAtA []byte) (int, error)
func (*PodSchedulingStatus) MarshalToSizedBuffer ¶
func (m *PodSchedulingStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PodSchedulingStatus) ProtoMessage ¶
func (*PodSchedulingStatus) ProtoMessage()
func (*PodSchedulingStatus) Reset ¶
func (m *PodSchedulingStatus) Reset()
func (*PodSchedulingStatus) Size ¶
func (m *PodSchedulingStatus) Size() (n int)
func (*PodSchedulingStatus) String ¶
func (this *PodSchedulingStatus) String() string
func (PodSchedulingStatus) SwaggerDoc ¶
func (PodSchedulingStatus) SwaggerDoc() map[string]string
func (*PodSchedulingStatus) Unmarshal ¶
func (m *PodSchedulingStatus) Unmarshal(dAtA []byte) error
func (*PodSchedulingStatus) XXX_DiscardUnknown ¶
func (m *PodSchedulingStatus) XXX_DiscardUnknown()
func (*PodSchedulingStatus) XXX_Marshal ¶
func (m *PodSchedulingStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PodSchedulingStatus) XXX_Merge ¶
func (m *PodSchedulingStatus) XXX_Merge(src proto.Message)
func (*PodSchedulingStatus) XXX_Size ¶
func (m *PodSchedulingStatus) XXX_Size() int
func (*PodSchedulingStatus) XXX_Unmarshal ¶
func (m *PodSchedulingStatus) XXX_Unmarshal(b []byte) error
type ResourceClaim ¶
type ResourceClaim struct { metav1.TypeMeta `json:",inline"` // Standard object metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec describes the desired attributes of a resource that then needs // to be allocated. It can only be set once when creating the // ResourceClaim. Spec ResourceClaimSpec `json:"spec" protobuf:"bytes,2,name=spec"` // Status describes whether the resource is available and with which // attributes. // +optional Status ResourceClaimStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
ResourceClaim describes which resources are needed by a resource consumer. Its status tracks whether the resource has been allocated and what the resulting attributes are.
This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.
func (*ResourceClaim) DeepCopy ¶
func (in *ResourceClaim) DeepCopy() *ResourceClaim
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaim.
func (*ResourceClaim) DeepCopyInto ¶
func (in *ResourceClaim) DeepCopyInto(out *ResourceClaim)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceClaim) DeepCopyObject ¶
func (in *ResourceClaim) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ResourceClaim) Descriptor ¶
func (*ResourceClaim) Descriptor() ([]byte, []int)
func (*ResourceClaim) Marshal ¶
func (m *ResourceClaim) Marshal() (dAtA []byte, err error)
func (*ResourceClaim) MarshalToSizedBuffer ¶
func (m *ResourceClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ResourceClaim) ProtoMessage ¶
func (*ResourceClaim) ProtoMessage()
func (*ResourceClaim) Reset ¶
func (m *ResourceClaim) Reset()
func (*ResourceClaim) Size ¶
func (m *ResourceClaim) Size() (n int)
func (*ResourceClaim) String ¶
func (this *ResourceClaim) String() string
func (ResourceClaim) SwaggerDoc ¶
func (ResourceClaim) SwaggerDoc() map[string]string
func (*ResourceClaim) Unmarshal ¶
func (m *ResourceClaim) Unmarshal(dAtA []byte) error
func (*ResourceClaim) XXX_DiscardUnknown ¶
func (m *ResourceClaim) XXX_DiscardUnknown()
func (*ResourceClaim) XXX_Marshal ¶
func (m *ResourceClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResourceClaim) XXX_Merge ¶
func (m *ResourceClaim) XXX_Merge(src proto.Message)
func (*ResourceClaim) XXX_Size ¶
func (m *ResourceClaim) XXX_Size() int
func (*ResourceClaim) XXX_Unmarshal ¶
func (m *ResourceClaim) XXX_Unmarshal(b []byte) error
type ResourceClaimConsumerReference ¶
type ResourceClaimConsumerReference struct { // APIGroup is the group for the resource being referenced. It is // empty for the core API. This matches the group in the APIVersion // that is used when creating the resources. // +optional APIGroup string `json:"apiGroup,omitempty" protobuf:"bytes,1,opt,name=apiGroup"` // Resource is the type of resource being referenced, for example "pods". Resource string `json:"resource" protobuf:"bytes,3,name=resource"` // Name is the name of resource being referenced. Name string `json:"name" protobuf:"bytes,4,name=name"` // UID identifies exactly one incarnation of the resource. UID types.UID `json:"uid" protobuf:"bytes,5,name=uid"` }
ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.
func (*ResourceClaimConsumerReference) DeepCopy ¶
func (in *ResourceClaimConsumerReference) DeepCopy() *ResourceClaimConsumerReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimConsumerReference.
func (*ResourceClaimConsumerReference) DeepCopyInto ¶
func (in *ResourceClaimConsumerReference) DeepCopyInto(out *ResourceClaimConsumerReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceClaimConsumerReference) Descriptor ¶
func (*ResourceClaimConsumerReference) Descriptor() ([]byte, []int)
func (*ResourceClaimConsumerReference) Marshal ¶
func (m *ResourceClaimConsumerReference) Marshal() (dAtA []byte, err error)
func (*ResourceClaimConsumerReference) MarshalTo ¶
func (m *ResourceClaimConsumerReference) MarshalTo(dAtA []byte) (int, error)
func (*ResourceClaimConsumerReference) MarshalToSizedBuffer ¶
func (m *ResourceClaimConsumerReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ResourceClaimConsumerReference) ProtoMessage ¶
func (*ResourceClaimConsumerReference) ProtoMessage()
func (*ResourceClaimConsumerReference) Reset ¶
func (m *ResourceClaimConsumerReference) Reset()
func (*ResourceClaimConsumerReference) Size ¶
func (m *ResourceClaimConsumerReference) Size() (n int)
func (*ResourceClaimConsumerReference) String ¶
func (this *ResourceClaimConsumerReference) String() string
func (ResourceClaimConsumerReference) SwaggerDoc ¶
func (ResourceClaimConsumerReference) SwaggerDoc() map[string]string
func (*ResourceClaimConsumerReference) Unmarshal ¶
func (m *ResourceClaimConsumerReference) Unmarshal(dAtA []byte) error
func (*ResourceClaimConsumerReference) XXX_DiscardUnknown ¶
func (m *ResourceClaimConsumerReference) XXX_DiscardUnknown()
func (*ResourceClaimConsumerReference) XXX_Marshal ¶
func (m *ResourceClaimConsumerReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResourceClaimConsumerReference) XXX_Merge ¶
func (m *ResourceClaimConsumerReference) XXX_Merge(src proto.Message)
func (*ResourceClaimConsumerReference) XXX_Size ¶
func (m *ResourceClaimConsumerReference) XXX_Size() int
func (*ResourceClaimConsumerReference) XXX_Unmarshal ¶
func (m *ResourceClaimConsumerReference) XXX_Unmarshal(b []byte) error
type ResourceClaimList ¶
type ResourceClaimList struct { metav1.TypeMeta `json:",inline"` // Standard list metadata // +optional metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is the list of resource claims. Items []ResourceClaim `json:"items" protobuf:"bytes,2,rep,name=items"` }
ResourceClaimList is a collection of claims.
func (*ResourceClaimList) DeepCopy ¶
func (in *ResourceClaimList) DeepCopy() *ResourceClaimList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimList.
func (*ResourceClaimList) DeepCopyInto ¶
func (in *ResourceClaimList) DeepCopyInto(out *ResourceClaimList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceClaimList) DeepCopyObject ¶
func (in *ResourceClaimList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ResourceClaimList) Descriptor ¶
func (*ResourceClaimList) Descriptor() ([]byte, []int)
func (*ResourceClaimList) Marshal ¶
func (m *ResourceClaimList) Marshal() (dAtA []byte, err error)
func (*ResourceClaimList) MarshalTo ¶
func (m *ResourceClaimList) MarshalTo(dAtA []byte) (int, error)
func (*ResourceClaimList) MarshalToSizedBuffer ¶
func (m *ResourceClaimList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ResourceClaimList) ProtoMessage ¶
func (*ResourceClaimList) ProtoMessage()
func (*ResourceClaimList) Reset ¶
func (m *ResourceClaimList) Reset()
func (*ResourceClaimList) Size ¶
func (m *ResourceClaimList) Size() (n int)
func (*ResourceClaimList) String ¶
func (this *ResourceClaimList) String() string
func (ResourceClaimList) SwaggerDoc ¶
func (ResourceClaimList) SwaggerDoc() map[string]string
func (*ResourceClaimList) Unmarshal ¶
func (m *ResourceClaimList) Unmarshal(dAtA []byte) error
func (*ResourceClaimList) XXX_DiscardUnknown ¶
func (m *ResourceClaimList) XXX_DiscardUnknown()
func (*ResourceClaimList) XXX_Marshal ¶
func (m *ResourceClaimList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResourceClaimList) XXX_Merge ¶
func (m *ResourceClaimList) XXX_Merge(src proto.Message)
func (*ResourceClaimList) XXX_Size ¶
func (m *ResourceClaimList) XXX_Size() int
func (*ResourceClaimList) XXX_Unmarshal ¶
func (m *ResourceClaimList) XXX_Unmarshal(b []byte) error
type ResourceClaimParametersReference ¶
type ResourceClaimParametersReference struct { // APIGroup is the group for the resource being referenced. It is // empty for the core API. This matches the group in the APIVersion // that is used when creating the resources. // +optional APIGroup string `json:"apiGroup,omitempty" protobuf:"bytes,1,opt,name=apiGroup"` // Kind is the type of resource being referenced. This is the same // value as in the parameter object's metadata, for example "ConfigMap". Kind string `json:"kind" protobuf:"bytes,2,name=kind"` // Name is the name of resource being referenced. Name string `json:"name" protobuf:"bytes,3,name=name"` }
ResourceClaimParametersReference contains enough information to let you locate the parameters for a ResourceClaim. The object must be in the same namespace as the ResourceClaim.
func (*ResourceClaimParametersReference) DeepCopy ¶
func (in *ResourceClaimParametersReference) DeepCopy() *ResourceClaimParametersReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimParametersReference.
func (*ResourceClaimParametersReference) DeepCopyInto ¶
func (in *ResourceClaimParametersReference) DeepCopyInto(out *ResourceClaimParametersReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceClaimParametersReference) Descriptor ¶
func (*ResourceClaimParametersReference) Descriptor() ([]byte, []int)
func (*ResourceClaimParametersReference) Marshal ¶
func (m *ResourceClaimParametersReference) Marshal() (dAtA []byte, err error)
func (*ResourceClaimParametersReference) MarshalTo ¶
func (m *ResourceClaimParametersReference) MarshalTo(dAtA []byte) (int, error)
func (*ResourceClaimParametersReference) MarshalToSizedBuffer ¶
func (m *ResourceClaimParametersReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ResourceClaimParametersReference) ProtoMessage ¶
func (*ResourceClaimParametersReference) ProtoMessage()
func (*ResourceClaimParametersReference) Reset ¶
func (m *ResourceClaimParametersReference) Reset()
func (*ResourceClaimParametersReference) Size ¶
func (m *ResourceClaimParametersReference) Size() (n int)
func (*ResourceClaimParametersReference) String ¶
func (this *ResourceClaimParametersReference) String() string
func (ResourceClaimParametersReference) SwaggerDoc ¶
func (ResourceClaimParametersReference) SwaggerDoc() map[string]string
func (*ResourceClaimParametersReference) Unmarshal ¶
func (m *ResourceClaimParametersReference) Unmarshal(dAtA []byte) error
func (*ResourceClaimParametersReference) XXX_DiscardUnknown ¶
func (m *ResourceClaimParametersReference) XXX_DiscardUnknown()
func (*ResourceClaimParametersReference) XXX_Marshal ¶
func (m *ResourceClaimParametersReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResourceClaimParametersReference) XXX_Merge ¶
func (m *ResourceClaimParametersReference) XXX_Merge(src proto.Message)
func (*ResourceClaimParametersReference) XXX_Size ¶
func (m *ResourceClaimParametersReference) XXX_Size() int
func (*ResourceClaimParametersReference) XXX_Unmarshal ¶
func (m *ResourceClaimParametersReference) XXX_Unmarshal(b []byte) error
type ResourceClaimSchedulingStatus ¶
type ResourceClaimSchedulingStatus struct { // Name matches the pod.spec.resourceClaims[*].Name field. // +optional Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` // UnsuitableNodes lists nodes that the ResourceClaim cannot be // allocated for. // // The size of this field is limited to 128, the same as for // PodSchedulingSpec.PotentialNodes. This may get increased in the // future, but not reduced. // // +listType=set // +optional UnsuitableNodes []string `json:"unsuitableNodes,omitempty" protobuf:"bytes,2,opt,name=unsuitableNodes"` }
ResourceClaimSchedulingStatus contains information about one particular ResourceClaim with "WaitForFirstConsumer" allocation mode.
func (*ResourceClaimSchedulingStatus) DeepCopy ¶
func (in *ResourceClaimSchedulingStatus) DeepCopy() *ResourceClaimSchedulingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimSchedulingStatus.
func (*ResourceClaimSchedulingStatus) DeepCopyInto ¶
func (in *ResourceClaimSchedulingStatus) DeepCopyInto(out *ResourceClaimSchedulingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceClaimSchedulingStatus) Descriptor ¶
func (*ResourceClaimSchedulingStatus) Descriptor() ([]byte, []int)
func (*ResourceClaimSchedulingStatus) Marshal ¶
func (m *ResourceClaimSchedulingStatus) Marshal() (dAtA []byte, err error)
func (*ResourceClaimSchedulingStatus) MarshalTo ¶
func (m *ResourceClaimSchedulingStatus) MarshalTo(dAtA []byte) (int, error)
func (*ResourceClaimSchedulingStatus) MarshalToSizedBuffer ¶
func (m *ResourceClaimSchedulingStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ResourceClaimSchedulingStatus) ProtoMessage ¶
func (*ResourceClaimSchedulingStatus) ProtoMessage()
func (*ResourceClaimSchedulingStatus) Reset ¶
func (m *ResourceClaimSchedulingStatus) Reset()
func (*ResourceClaimSchedulingStatus) Size ¶
func (m *ResourceClaimSchedulingStatus) Size() (n int)
func (*ResourceClaimSchedulingStatus) String ¶
func (this *ResourceClaimSchedulingStatus) String() string
func (ResourceClaimSchedulingStatus) SwaggerDoc ¶
func (ResourceClaimSchedulingStatus) SwaggerDoc() map[string]string
func (*ResourceClaimSchedulingStatus) Unmarshal ¶
func (m *ResourceClaimSchedulingStatus) Unmarshal(dAtA []byte) error
func (*ResourceClaimSchedulingStatus) XXX_DiscardUnknown ¶
func (m *ResourceClaimSchedulingStatus) XXX_DiscardUnknown()
func (*ResourceClaimSchedulingStatus) XXX_Marshal ¶
func (m *ResourceClaimSchedulingStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResourceClaimSchedulingStatus) XXX_Merge ¶
func (m *ResourceClaimSchedulingStatus) XXX_Merge(src proto.Message)
func (*ResourceClaimSchedulingStatus) XXX_Size ¶
func (m *ResourceClaimSchedulingStatus) XXX_Size() int
func (*ResourceClaimSchedulingStatus) XXX_Unmarshal ¶
func (m *ResourceClaimSchedulingStatus) XXX_Unmarshal(b []byte) error
type ResourceClaimSpec ¶
type ResourceClaimSpec struct { // ResourceClassName references the driver and additional parameters // via the name of a ResourceClass that was created as part of the // driver deployment. ResourceClassName string `json:"resourceClassName" protobuf:"bytes,1,name=resourceClassName"` // ParametersRef references a separate object with arbitrary parameters // that will be used by the driver when allocating a resource for the // claim. // // The object must be in the same namespace as the ResourceClaim. // +optional ParametersRef *ResourceClaimParametersReference `json:"parametersRef,omitempty" protobuf:"bytes,2,opt,name=parametersRef"` // Allocation can start immediately or when a Pod wants to use the // resource. "WaitForFirstConsumer" is the default. // +optional AllocationMode AllocationMode `json:"allocationMode,omitempty" protobuf:"bytes,3,opt,name=allocationMode"` }
ResourceClaimSpec defines how a resource is to be allocated.
func (*ResourceClaimSpec) DeepCopy ¶
func (in *ResourceClaimSpec) DeepCopy() *ResourceClaimSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimSpec.
func (*ResourceClaimSpec) DeepCopyInto ¶
func (in *ResourceClaimSpec) DeepCopyInto(out *ResourceClaimSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceClaimSpec) Descriptor ¶
func (*ResourceClaimSpec) Descriptor() ([]byte, []int)
func (*ResourceClaimSpec) Marshal ¶
func (m *ResourceClaimSpec) Marshal() (dAtA []byte, err error)
func (*ResourceClaimSpec) MarshalTo ¶
func (m *ResourceClaimSpec) MarshalTo(dAtA []byte) (int, error)
func (*ResourceClaimSpec) MarshalToSizedBuffer ¶
func (m *ResourceClaimSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ResourceClaimSpec) ProtoMessage ¶
func (*ResourceClaimSpec) ProtoMessage()
func (*ResourceClaimSpec) Reset ¶
func (m *ResourceClaimSpec) Reset()
func (*ResourceClaimSpec) Size ¶
func (m *ResourceClaimSpec) Size() (n int)
func (*ResourceClaimSpec) String ¶
func (this *ResourceClaimSpec) String() string
func (ResourceClaimSpec) SwaggerDoc ¶
func (ResourceClaimSpec) SwaggerDoc() map[string]string
func (*ResourceClaimSpec) Unmarshal ¶
func (m *ResourceClaimSpec) Unmarshal(dAtA []byte) error
func (*ResourceClaimSpec) XXX_DiscardUnknown ¶
func (m *ResourceClaimSpec) XXX_DiscardUnknown()
func (*ResourceClaimSpec) XXX_Marshal ¶
func (m *ResourceClaimSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResourceClaimSpec) XXX_Merge ¶
func (m *ResourceClaimSpec) XXX_Merge(src proto.Message)
func (*ResourceClaimSpec) XXX_Size ¶
func (m *ResourceClaimSpec) XXX_Size() int
func (*ResourceClaimSpec) XXX_Unmarshal ¶
func (m *ResourceClaimSpec) XXX_Unmarshal(b []byte) error
type ResourceClaimStatus ¶
type ResourceClaimStatus struct { // DriverName is a copy of the driver name from the ResourceClass at // the time when allocation started. // +optional DriverName string `json:"driverName,omitempty" protobuf:"bytes,1,opt,name=driverName"` // Allocation is set by the resource driver once a resource has been // allocated successfully. If this is not specified, the resource is // not yet allocated. // +optional Allocation *AllocationResult `json:"allocation,omitempty" protobuf:"bytes,2,opt,name=allocation"` // ReservedFor indicates which entities are currently allowed to use // the claim. A Pod which references a ResourceClaim which is not // reserved for that Pod will not be started. // // There can be at most 32 such reservations. This may get increased in // the future, but not reduced. // // +listType=set // +optional ReservedFor []ResourceClaimConsumerReference `json:"reservedFor,omitempty" protobuf:"bytes,3,opt,name=reservedFor"` // DeallocationRequested indicates that a ResourceClaim is to be // deallocated. // // The driver then must deallocate this claim and reset the field // together with clearing the Allocation field. // // While DeallocationRequested is set, no new consumers may be added to // ReservedFor. // +optional DeallocationRequested bool `json:"deallocationRequested,omitempty" protobuf:"varint,4,opt,name=deallocationRequested"` }
ResourceClaimStatus tracks whether the resource has been allocated and what the resulting attributes are.
func (*ResourceClaimStatus) DeepCopy ¶
func (in *ResourceClaimStatus) DeepCopy() *ResourceClaimStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimStatus.
func (*ResourceClaimStatus) DeepCopyInto ¶
func (in *ResourceClaimStatus) DeepCopyInto(out *ResourceClaimStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceClaimStatus) Descriptor ¶
func (*ResourceClaimStatus) Descriptor() ([]byte, []int)
func (*ResourceClaimStatus) Marshal ¶
func (m *ResourceClaimStatus) Marshal() (dAtA []byte, err error)
func (*ResourceClaimStatus) MarshalTo ¶
func (m *ResourceClaimStatus) MarshalTo(dAtA []byte) (int, error)
func (*ResourceClaimStatus) MarshalToSizedBuffer ¶
func (m *ResourceClaimStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ResourceClaimStatus) ProtoMessage ¶
func (*ResourceClaimStatus) ProtoMessage()
func (*ResourceClaimStatus) Reset ¶
func (m *ResourceClaimStatus) Reset()
func (*ResourceClaimStatus) Size ¶
func (m *ResourceClaimStatus) Size() (n int)
func (*ResourceClaimStatus) String ¶
func (this *ResourceClaimStatus) String() string
func (ResourceClaimStatus) SwaggerDoc ¶
func (ResourceClaimStatus) SwaggerDoc() map[string]string
func (*ResourceClaimStatus) Unmarshal ¶
func (m *ResourceClaimStatus) Unmarshal(dAtA []byte) error
func (*ResourceClaimStatus) XXX_DiscardUnknown ¶
func (m *ResourceClaimStatus) XXX_DiscardUnknown()
func (*ResourceClaimStatus) XXX_Marshal ¶
func (m *ResourceClaimStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResourceClaimStatus) XXX_Merge ¶
func (m *ResourceClaimStatus) XXX_Merge(src proto.Message)
func (*ResourceClaimStatus) XXX_Size ¶
func (m *ResourceClaimStatus) XXX_Size() int
func (*ResourceClaimStatus) XXX_Unmarshal ¶
func (m *ResourceClaimStatus) XXX_Unmarshal(b []byte) error
type ResourceClaimTemplate ¶
type ResourceClaimTemplate struct { metav1.TypeMeta `json:",inline"` // Standard object metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Describes the ResourceClaim that is to be generated. // // This field is immutable. A ResourceClaim will get created by the // control plane for a Pod when needed and then not get updated // anymore. Spec ResourceClaimTemplateSpec `json:"spec" protobuf:"bytes,2,name=spec"` }
ResourceClaimTemplate is used to produce ResourceClaim objects.
func (*ResourceClaimTemplate) DeepCopy ¶
func (in *ResourceClaimTemplate) DeepCopy() *ResourceClaimTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimTemplate.
func (*ResourceClaimTemplate) DeepCopyInto ¶
func (in *ResourceClaimTemplate) DeepCopyInto(out *ResourceClaimTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceClaimTemplate) DeepCopyObject ¶
func (in *ResourceClaimTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ResourceClaimTemplate) Descriptor ¶
func (*ResourceClaimTemplate) Descriptor() ([]byte, []int)
func (*ResourceClaimTemplate) Marshal ¶
func (m *ResourceClaimTemplate) Marshal() (dAtA []byte, err error)
func (*ResourceClaimTemplate) MarshalTo ¶
func (m *ResourceClaimTemplate) MarshalTo(dAtA []byte) (int, error)
func (*ResourceClaimTemplate) MarshalToSizedBuffer ¶
func (m *ResourceClaimTemplate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ResourceClaimTemplate) ProtoMessage ¶
func (*ResourceClaimTemplate) ProtoMessage()
func (*ResourceClaimTemplate) Reset ¶
func (m *ResourceClaimTemplate) Reset()
func (*ResourceClaimTemplate) Size ¶
func (m *ResourceClaimTemplate) Size() (n int)
func (*ResourceClaimTemplate) String ¶
func (this *ResourceClaimTemplate) String() string
func (ResourceClaimTemplate) SwaggerDoc ¶
func (ResourceClaimTemplate) SwaggerDoc() map[string]string
func (*ResourceClaimTemplate) Unmarshal ¶
func (m *ResourceClaimTemplate) Unmarshal(dAtA []byte) error
func (*ResourceClaimTemplate) XXX_DiscardUnknown ¶
func (m *ResourceClaimTemplate) XXX_DiscardUnknown()
func (*ResourceClaimTemplate) XXX_Marshal ¶
func (m *ResourceClaimTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResourceClaimTemplate) XXX_Merge ¶
func (m *ResourceClaimTemplate) XXX_Merge(src proto.Message)
func (*ResourceClaimTemplate) XXX_Size ¶
func (m *ResourceClaimTemplate) XXX_Size() int
func (*ResourceClaimTemplate) XXX_Unmarshal ¶
func (m *ResourceClaimTemplate) XXX_Unmarshal(b []byte) error
type ResourceClaimTemplateList ¶
type ResourceClaimTemplateList struct { metav1.TypeMeta `json:",inline"` // Standard list metadata // +optional metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is the list of resource claim templates. Items []ResourceClaimTemplate `json:"items" protobuf:"bytes,2,rep,name=items"` }
ResourceClaimTemplateList is a collection of claim templates.
func (*ResourceClaimTemplateList) DeepCopy ¶
func (in *ResourceClaimTemplateList) DeepCopy() *ResourceClaimTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimTemplateList.
func (*ResourceClaimTemplateList) DeepCopyInto ¶
func (in *ResourceClaimTemplateList) DeepCopyInto(out *ResourceClaimTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceClaimTemplateList) DeepCopyObject ¶
func (in *ResourceClaimTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ResourceClaimTemplateList) Descriptor ¶
func (*ResourceClaimTemplateList) Descriptor() ([]byte, []int)
func (*ResourceClaimTemplateList) Marshal ¶
func (m *ResourceClaimTemplateList) Marshal() (dAtA []byte, err error)
func (*ResourceClaimTemplateList) MarshalTo ¶
func (m *ResourceClaimTemplateList) MarshalTo(dAtA []byte) (int, error)
func (*ResourceClaimTemplateList) MarshalToSizedBuffer ¶
func (m *ResourceClaimTemplateList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ResourceClaimTemplateList) ProtoMessage ¶
func (*ResourceClaimTemplateList) ProtoMessage()
func (*ResourceClaimTemplateList) Reset ¶
func (m *ResourceClaimTemplateList) Reset()
func (*ResourceClaimTemplateList) Size ¶
func (m *ResourceClaimTemplateList) Size() (n int)
func (*ResourceClaimTemplateList) String ¶
func (this *ResourceClaimTemplateList) String() string
func (ResourceClaimTemplateList) SwaggerDoc ¶
func (ResourceClaimTemplateList) SwaggerDoc() map[string]string
func (*ResourceClaimTemplateList) Unmarshal ¶
func (m *ResourceClaimTemplateList) Unmarshal(dAtA []byte) error
func (*ResourceClaimTemplateList) XXX_DiscardUnknown ¶
func (m *ResourceClaimTemplateList) XXX_DiscardUnknown()
func (*ResourceClaimTemplateList) XXX_Marshal ¶
func (m *ResourceClaimTemplateList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResourceClaimTemplateList) XXX_Merge ¶
func (m *ResourceClaimTemplateList) XXX_Merge(src proto.Message)
func (*ResourceClaimTemplateList) XXX_Size ¶
func (m *ResourceClaimTemplateList) XXX_Size() int
func (*ResourceClaimTemplateList) XXX_Unmarshal ¶
func (m *ResourceClaimTemplateList) XXX_Unmarshal(b []byte) error
type ResourceClaimTemplateSpec ¶
type ResourceClaimTemplateSpec struct { // ObjectMeta may contain labels and annotations that will be copied into the PVC // when creating it. No other fields are allowed and will be rejected during // validation. // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec for the ResourceClaim. The entire content is copied unchanged // into the ResourceClaim that gets created from this template. The // same fields as in a ResourceClaim are also valid here. Spec ResourceClaimSpec `json:"spec" protobuf:"bytes,2,name=spec"` }
ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.
func (*ResourceClaimTemplateSpec) DeepCopy ¶
func (in *ResourceClaimTemplateSpec) DeepCopy() *ResourceClaimTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimTemplateSpec.
func (*ResourceClaimTemplateSpec) DeepCopyInto ¶
func (in *ResourceClaimTemplateSpec) DeepCopyInto(out *ResourceClaimTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceClaimTemplateSpec) Descriptor ¶
func (*ResourceClaimTemplateSpec) Descriptor() ([]byte, []int)
func (*ResourceClaimTemplateSpec) Marshal ¶
func (m *ResourceClaimTemplateSpec) Marshal() (dAtA []byte, err error)
func (*ResourceClaimTemplateSpec) MarshalTo ¶
func (m *ResourceClaimTemplateSpec) MarshalTo(dAtA []byte) (int, error)
func (*ResourceClaimTemplateSpec) MarshalToSizedBuffer ¶
func (m *ResourceClaimTemplateSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ResourceClaimTemplateSpec) ProtoMessage ¶
func (*ResourceClaimTemplateSpec) ProtoMessage()
func (*ResourceClaimTemplateSpec) Reset ¶
func (m *ResourceClaimTemplateSpec) Reset()
func (*ResourceClaimTemplateSpec) Size ¶
func (m *ResourceClaimTemplateSpec) Size() (n int)
func (*ResourceClaimTemplateSpec) String ¶
func (this *ResourceClaimTemplateSpec) String() string
func (ResourceClaimTemplateSpec) SwaggerDoc ¶
func (ResourceClaimTemplateSpec) SwaggerDoc() map[string]string
func (*ResourceClaimTemplateSpec) Unmarshal ¶
func (m *ResourceClaimTemplateSpec) Unmarshal(dAtA []byte) error
func (*ResourceClaimTemplateSpec) XXX_DiscardUnknown ¶
func (m *ResourceClaimTemplateSpec) XXX_DiscardUnknown()
func (*ResourceClaimTemplateSpec) XXX_Marshal ¶
func (m *ResourceClaimTemplateSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResourceClaimTemplateSpec) XXX_Merge ¶
func (m *ResourceClaimTemplateSpec) XXX_Merge(src proto.Message)
func (*ResourceClaimTemplateSpec) XXX_Size ¶
func (m *ResourceClaimTemplateSpec) XXX_Size() int
func (*ResourceClaimTemplateSpec) XXX_Unmarshal ¶
func (m *ResourceClaimTemplateSpec) XXX_Unmarshal(b []byte) error
type ResourceClass ¶
type ResourceClass struct { metav1.TypeMeta `json:",inline"` // Standard object metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // DriverName defines the name of the dynamic resource driver that is // used for allocation of a ResourceClaim that uses this class. // // Resource drivers have a unique name in forward domain order // (acme.example.com). DriverName string `json:"driverName" protobuf:"bytes,2,name=driverName"` // ParametersRef references an arbitrary separate object that may hold // parameters that will be used by the driver when allocating a // resource that uses this class. A dynamic resource driver can // distinguish between parameters stored here and and those stored in // ResourceClaimSpec. // +optional ParametersRef *ResourceClassParametersReference `json:"parametersRef,omitempty" protobuf:"bytes,3,opt,name=parametersRef"` // Only nodes matching the selector will be considered by the scheduler // when trying to find a Node that fits a Pod when that Pod uses // a ResourceClaim that has not been allocated yet. // // Setting this field is optional. If null, all nodes are candidates. // +optional SuitableNodes *v1.NodeSelector `json:"suitableNodes,omitempty" protobuf:"bytes,4,opt,name=suitableNodes"` }
ResourceClass is used by administrators to influence how resources are allocated.
This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.
func (*ResourceClass) DeepCopy ¶
func (in *ResourceClass) DeepCopy() *ResourceClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClass.
func (*ResourceClass) DeepCopyInto ¶
func (in *ResourceClass) DeepCopyInto(out *ResourceClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceClass) DeepCopyObject ¶
func (in *ResourceClass) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ResourceClass) Descriptor ¶
func (*ResourceClass) Descriptor() ([]byte, []int)
func (*ResourceClass) Marshal ¶
func (m *ResourceClass) Marshal() (dAtA []byte, err error)
func (*ResourceClass) MarshalToSizedBuffer ¶
func (m *ResourceClass) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ResourceClass) ProtoMessage ¶
func (*ResourceClass) ProtoMessage()
func (*ResourceClass) Reset ¶
func (m *ResourceClass) Reset()
func (*ResourceClass) Size ¶
func (m *ResourceClass) Size() (n int)
func (*ResourceClass) String ¶
func (this *ResourceClass) String() string
func (ResourceClass) SwaggerDoc ¶
func (ResourceClass) SwaggerDoc() map[string]string
func (*ResourceClass) Unmarshal ¶
func (m *ResourceClass) Unmarshal(dAtA []byte) error
func (*ResourceClass) XXX_DiscardUnknown ¶
func (m *ResourceClass) XXX_DiscardUnknown()
func (*ResourceClass) XXX_Marshal ¶
func (m *ResourceClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResourceClass) XXX_Merge ¶
func (m *ResourceClass) XXX_Merge(src proto.Message)
func (*ResourceClass) XXX_Size ¶
func (m *ResourceClass) XXX_Size() int
func (*ResourceClass) XXX_Unmarshal ¶
func (m *ResourceClass) XXX_Unmarshal(b []byte) error
type ResourceClassList ¶
type ResourceClassList struct { metav1.TypeMeta `json:",inline"` // Standard list metadata // +optional metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is the list of resource classes. Items []ResourceClass `json:"items" protobuf:"bytes,2,rep,name=items"` }
ResourceClassList is a collection of classes.
func (*ResourceClassList) DeepCopy ¶
func (in *ResourceClassList) DeepCopy() *ResourceClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClassList.
func (*ResourceClassList) DeepCopyInto ¶
func (in *ResourceClassList) DeepCopyInto(out *ResourceClassList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceClassList) DeepCopyObject ¶
func (in *ResourceClassList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ResourceClassList) Descriptor ¶
func (*ResourceClassList) Descriptor() ([]byte, []int)
func (*ResourceClassList) Marshal ¶
func (m *ResourceClassList) Marshal() (dAtA []byte, err error)
func (*ResourceClassList) MarshalTo ¶
func (m *ResourceClassList) MarshalTo(dAtA []byte) (int, error)
func (*ResourceClassList) MarshalToSizedBuffer ¶
func (m *ResourceClassList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ResourceClassList) ProtoMessage ¶
func (*ResourceClassList) ProtoMessage()
func (*ResourceClassList) Reset ¶
func (m *ResourceClassList) Reset()
func (*ResourceClassList) Size ¶
func (m *ResourceClassList) Size() (n int)
func (*ResourceClassList) String ¶
func (this *ResourceClassList) String() string
func (ResourceClassList) SwaggerDoc ¶
func (ResourceClassList) SwaggerDoc() map[string]string
func (*ResourceClassList) Unmarshal ¶
func (m *ResourceClassList) Unmarshal(dAtA []byte) error
func (*ResourceClassList) XXX_DiscardUnknown ¶
func (m *ResourceClassList) XXX_DiscardUnknown()
func (*ResourceClassList) XXX_Marshal ¶
func (m *ResourceClassList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResourceClassList) XXX_Merge ¶
func (m *ResourceClassList) XXX_Merge(src proto.Message)
func (*ResourceClassList) XXX_Size ¶
func (m *ResourceClassList) XXX_Size() int
func (*ResourceClassList) XXX_Unmarshal ¶
func (m *ResourceClassList) XXX_Unmarshal(b []byte) error
type ResourceClassParametersReference ¶
type ResourceClassParametersReference struct { // APIGroup is the group for the resource being referenced. It is // empty for the core API. This matches the group in the APIVersion // that is used when creating the resources. // +optional APIGroup string `json:"apiGroup,omitempty" protobuf:"bytes,1,opt,name=apiGroup"` // Kind is the type of resource being referenced. This is the same // value as in the parameter object's metadata. Kind string `json:"kind" protobuf:"bytes,2,name=kind"` // Name is the name of resource being referenced. Name string `json:"name" protobuf:"bytes,3,name=name"` // Namespace that contains the referenced resource. Must be empty // for cluster-scoped resources and non-empty for namespaced // resources. // +optional Namespace string `json:"namespace,omitempty" protobuf:"bytes,4,opt,name=namespace"` }
ResourceClassParametersReference contains enough information to let you locate the parameters for a ResourceClass.
func (*ResourceClassParametersReference) DeepCopy ¶
func (in *ResourceClassParametersReference) DeepCopy() *ResourceClassParametersReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClassParametersReference.
func (*ResourceClassParametersReference) DeepCopyInto ¶
func (in *ResourceClassParametersReference) DeepCopyInto(out *ResourceClassParametersReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceClassParametersReference) Descriptor ¶
func (*ResourceClassParametersReference) Descriptor() ([]byte, []int)
func (*ResourceClassParametersReference) Marshal ¶
func (m *ResourceClassParametersReference) Marshal() (dAtA []byte, err error)
func (*ResourceClassParametersReference) MarshalTo ¶
func (m *ResourceClassParametersReference) MarshalTo(dAtA []byte) (int, error)
func (*ResourceClassParametersReference) MarshalToSizedBuffer ¶
func (m *ResourceClassParametersReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ResourceClassParametersReference) ProtoMessage ¶
func (*ResourceClassParametersReference) ProtoMessage()
func (*ResourceClassParametersReference) Reset ¶
func (m *ResourceClassParametersReference) Reset()
func (*ResourceClassParametersReference) Size ¶
func (m *ResourceClassParametersReference) Size() (n int)
func (*ResourceClassParametersReference) String ¶
func (this *ResourceClassParametersReference) String() string
func (ResourceClassParametersReference) SwaggerDoc ¶
func (ResourceClassParametersReference) SwaggerDoc() map[string]string
func (*ResourceClassParametersReference) Unmarshal ¶
func (m *ResourceClassParametersReference) Unmarshal(dAtA []byte) error
func (*ResourceClassParametersReference) XXX_DiscardUnknown ¶
func (m *ResourceClassParametersReference) XXX_DiscardUnknown()
func (*ResourceClassParametersReference) XXX_Marshal ¶
func (m *ResourceClassParametersReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResourceClassParametersReference) XXX_Merge ¶
func (m *ResourceClassParametersReference) XXX_Merge(src proto.Message)
func (*ResourceClassParametersReference) XXX_Size ¶
func (m *ResourceClassParametersReference) XXX_Size() int
func (*ResourceClassParametersReference) XXX_Unmarshal ¶
func (m *ResourceClassParametersReference) XXX_Unmarshal(b []byte) error