Documentation ¶
Overview ¶
Package v1alpha2 is the v1alpha2 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 PodSchedulingContext
- func (in *PodSchedulingContext) DeepCopy() *PodSchedulingContext
- func (in *PodSchedulingContext) DeepCopyInto(out *PodSchedulingContext)
- func (in *PodSchedulingContext) DeepCopyObject() runtime.Object
- func (*PodSchedulingContext) Descriptor() ([]byte, []int)
- func (m *PodSchedulingContext) Marshal() (dAtA []byte, err error)
- func (m *PodSchedulingContext) MarshalTo(dAtA []byte) (int, error)
- func (m *PodSchedulingContext) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PodSchedulingContext) ProtoMessage()
- func (m *PodSchedulingContext) Reset()
- func (m *PodSchedulingContext) Size() (n int)
- func (this *PodSchedulingContext) String() string
- func (PodSchedulingContext) SwaggerDoc() map[string]string
- func (m *PodSchedulingContext) Unmarshal(dAtA []byte) error
- func (m *PodSchedulingContext) XXX_DiscardUnknown()
- func (m *PodSchedulingContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PodSchedulingContext) XXX_Merge(src proto.Message)
- func (m *PodSchedulingContext) XXX_Size() int
- func (m *PodSchedulingContext) XXX_Unmarshal(b []byte) error
- type PodSchedulingContextList
- func (in *PodSchedulingContextList) DeepCopy() *PodSchedulingContextList
- func (in *PodSchedulingContextList) DeepCopyInto(out *PodSchedulingContextList)
- func (in *PodSchedulingContextList) DeepCopyObject() runtime.Object
- func (*PodSchedulingContextList) Descriptor() ([]byte, []int)
- func (m *PodSchedulingContextList) Marshal() (dAtA []byte, err error)
- func (m *PodSchedulingContextList) MarshalTo(dAtA []byte) (int, error)
- func (m *PodSchedulingContextList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PodSchedulingContextList) ProtoMessage()
- func (m *PodSchedulingContextList) Reset()
- func (m *PodSchedulingContextList) Size() (n int)
- func (this *PodSchedulingContextList) String() string
- func (PodSchedulingContextList) SwaggerDoc() map[string]string
- func (m *PodSchedulingContextList) Unmarshal(dAtA []byte) error
- func (m *PodSchedulingContextList) XXX_DiscardUnknown()
- func (m *PodSchedulingContextList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PodSchedulingContextList) XXX_Merge(src proto.Message)
- func (m *PodSchedulingContextList) XXX_Size() int
- func (m *PodSchedulingContextList) XXX_Unmarshal(b []byte) error
- type PodSchedulingContextSpec
- func (in *PodSchedulingContextSpec) DeepCopy() *PodSchedulingContextSpec
- func (in *PodSchedulingContextSpec) DeepCopyInto(out *PodSchedulingContextSpec)
- func (*PodSchedulingContextSpec) Descriptor() ([]byte, []int)
- func (m *PodSchedulingContextSpec) Marshal() (dAtA []byte, err error)
- func (m *PodSchedulingContextSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *PodSchedulingContextSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PodSchedulingContextSpec) ProtoMessage()
- func (m *PodSchedulingContextSpec) Reset()
- func (m *PodSchedulingContextSpec) Size() (n int)
- func (this *PodSchedulingContextSpec) String() string
- func (PodSchedulingContextSpec) SwaggerDoc() map[string]string
- func (m *PodSchedulingContextSpec) Unmarshal(dAtA []byte) error
- func (m *PodSchedulingContextSpec) XXX_DiscardUnknown()
- func (m *PodSchedulingContextSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PodSchedulingContextSpec) XXX_Merge(src proto.Message)
- func (m *PodSchedulingContextSpec) XXX_Size() int
- func (m *PodSchedulingContextSpec) XXX_Unmarshal(b []byte) error
- type PodSchedulingContextStatus
- func (in *PodSchedulingContextStatus) DeepCopy() *PodSchedulingContextStatus
- func (in *PodSchedulingContextStatus) DeepCopyInto(out *PodSchedulingContextStatus)
- func (*PodSchedulingContextStatus) Descriptor() ([]byte, []int)
- func (m *PodSchedulingContextStatus) Marshal() (dAtA []byte, err error)
- func (m *PodSchedulingContextStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *PodSchedulingContextStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PodSchedulingContextStatus) ProtoMessage()
- func (m *PodSchedulingContextStatus) Reset()
- func (m *PodSchedulingContextStatus) Size() (n int)
- func (this *PodSchedulingContextStatus) String() string
- func (PodSchedulingContextStatus) SwaggerDoc() map[string]string
- func (m *PodSchedulingContextStatus) Unmarshal(dAtA []byte) error
- func (m *PodSchedulingContextStatus) XXX_DiscardUnknown()
- func (m *PodSchedulingContextStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PodSchedulingContextStatus) XXX_Merge(src proto.Message)
- func (m *PodSchedulingContextStatus) XXX_Size() int
- func (m *PodSchedulingContextStatus) 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
- type ResourceHandle
- func (in *ResourceHandle) DeepCopy() *ResourceHandle
- func (in *ResourceHandle) DeepCopyInto(out *ResourceHandle)
- func (*ResourceHandle) Descriptor() ([]byte, []int)
- func (m *ResourceHandle) Marshal() (dAtA []byte, err error)
- func (m *ResourceHandle) MarshalTo(dAtA []byte) (int, error)
- func (m *ResourceHandle) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResourceHandle) ProtoMessage()
- func (m *ResourceHandle) Reset()
- func (m *ResourceHandle) Size() (n int)
- func (this *ResourceHandle) String() string
- func (ResourceHandle) SwaggerDoc() map[string]string
- func (m *ResourceHandle) Unmarshal(dAtA []byte) error
- func (m *ResourceHandle) XXX_DiscardUnknown()
- func (m *ResourceHandle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResourceHandle) XXX_Merge(src proto.Message)
- func (m *ResourceHandle) XXX_Size() int
- func (m *ResourceHandle) XXX_Unmarshal(b []byte) error
Constants ¶
const AllocationResultResourceHandlesMaxSize = 32
AllocationResultResourceHandlesMaxSize represents the maximum number of entries in allocation.resourceHandles.
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 PodSchedulingContext objects. This limit is part of the API.
const ResourceClaimReservedForMaxSize = 32
ReservedForMaxSize is the maximum number of entries in claim.status.reservedFor.
const ResourceHandleDataMaxSize = 16 * 1024
ResourceHandleDataMaxSize represents the maximum size of resourceHandle.data.
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: "v1alpha2"}
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 { // ResourceHandles contain the state associated with an allocation that // should be maintained throughout the lifetime of a claim. Each // ResourceHandle contains data that should be passed to a specific kubelet // plugin once it lands on a node. This data is returned by the driver // after a successful allocation and is opaque to Kubernetes. Driver // documentation may explain to users how to interpret this data if needed. // // Setting this field is optional. It has a maximum size of 32 entries. // If null (or empty), it is assumed this allocation will be processed by a // single kubelet plugin with no ResourceHandle data attached. The name of // the kubelet plugin invoked will match the DriverName set in the // ResourceClaimStatus this AllocationResult is embedded in. // // +listType=atomic // +optional ResourceHandles []ResourceHandle `json:"resourceHandles,omitempty" protobuf:"bytes,1,opt,name=resourceHandles"` // This field will get set by the resource driver after it has allocated // the resource 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 attributes 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 PodSchedulingContext ¶
type PodSchedulingContext 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 PodSchedulingContextSpec `json:"spec" protobuf:"bytes,2,name=spec"` // Status describes where resources for the Pod can be allocated. // +optional Status PodSchedulingContextStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
PodSchedulingContext 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 (*PodSchedulingContext) DeepCopy ¶
func (in *PodSchedulingContext) DeepCopy() *PodSchedulingContext
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSchedulingContext.
func (*PodSchedulingContext) DeepCopyInto ¶
func (in *PodSchedulingContext) DeepCopyInto(out *PodSchedulingContext)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodSchedulingContext) DeepCopyObject ¶
func (in *PodSchedulingContext) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PodSchedulingContext) Descriptor ¶
func (*PodSchedulingContext) Descriptor() ([]byte, []int)
func (*PodSchedulingContext) Marshal ¶
func (m *PodSchedulingContext) Marshal() (dAtA []byte, err error)
func (*PodSchedulingContext) MarshalTo ¶
func (m *PodSchedulingContext) MarshalTo(dAtA []byte) (int, error)
func (*PodSchedulingContext) MarshalToSizedBuffer ¶
func (m *PodSchedulingContext) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PodSchedulingContext) ProtoMessage ¶
func (*PodSchedulingContext) ProtoMessage()
func (*PodSchedulingContext) Reset ¶
func (m *PodSchedulingContext) Reset()
func (*PodSchedulingContext) Size ¶
func (m *PodSchedulingContext) Size() (n int)
func (*PodSchedulingContext) String ¶
func (this *PodSchedulingContext) String() string
func (PodSchedulingContext) SwaggerDoc ¶
func (PodSchedulingContext) SwaggerDoc() map[string]string
func (*PodSchedulingContext) Unmarshal ¶
func (m *PodSchedulingContext) Unmarshal(dAtA []byte) error
func (*PodSchedulingContext) XXX_DiscardUnknown ¶
func (m *PodSchedulingContext) XXX_DiscardUnknown()
func (*PodSchedulingContext) XXX_Marshal ¶
func (m *PodSchedulingContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PodSchedulingContext) XXX_Merge ¶
func (m *PodSchedulingContext) XXX_Merge(src proto.Message)
func (*PodSchedulingContext) XXX_Size ¶
func (m *PodSchedulingContext) XXX_Size() int
func (*PodSchedulingContext) XXX_Unmarshal ¶
func (m *PodSchedulingContext) XXX_Unmarshal(b []byte) error
type PodSchedulingContextList ¶
type PodSchedulingContextList 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 PodSchedulingContext objects. Items []PodSchedulingContext `json:"items" protobuf:"bytes,2,rep,name=items"` }
PodSchedulingContextList is a collection of Pod scheduling objects.
func (*PodSchedulingContextList) DeepCopy ¶
func (in *PodSchedulingContextList) DeepCopy() *PodSchedulingContextList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSchedulingContextList.
func (*PodSchedulingContextList) DeepCopyInto ¶
func (in *PodSchedulingContextList) DeepCopyInto(out *PodSchedulingContextList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodSchedulingContextList) DeepCopyObject ¶
func (in *PodSchedulingContextList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PodSchedulingContextList) Descriptor ¶
func (*PodSchedulingContextList) Descriptor() ([]byte, []int)
func (*PodSchedulingContextList) Marshal ¶
func (m *PodSchedulingContextList) Marshal() (dAtA []byte, err error)
func (*PodSchedulingContextList) MarshalTo ¶
func (m *PodSchedulingContextList) MarshalTo(dAtA []byte) (int, error)
func (*PodSchedulingContextList) MarshalToSizedBuffer ¶
func (m *PodSchedulingContextList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PodSchedulingContextList) ProtoMessage ¶
func (*PodSchedulingContextList) ProtoMessage()
func (*PodSchedulingContextList) Reset ¶
func (m *PodSchedulingContextList) Reset()
func (*PodSchedulingContextList) Size ¶
func (m *PodSchedulingContextList) Size() (n int)
func (*PodSchedulingContextList) String ¶
func (this *PodSchedulingContextList) String() string
func (PodSchedulingContextList) SwaggerDoc ¶
func (PodSchedulingContextList) SwaggerDoc() map[string]string
func (*PodSchedulingContextList) Unmarshal ¶
func (m *PodSchedulingContextList) Unmarshal(dAtA []byte) error
func (*PodSchedulingContextList) XXX_DiscardUnknown ¶
func (m *PodSchedulingContextList) XXX_DiscardUnknown()
func (*PodSchedulingContextList) XXX_Marshal ¶
func (m *PodSchedulingContextList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PodSchedulingContextList) XXX_Merge ¶
func (m *PodSchedulingContextList) XXX_Merge(src proto.Message)
func (*PodSchedulingContextList) XXX_Size ¶
func (m *PodSchedulingContextList) XXX_Size() int
func (*PodSchedulingContextList) XXX_Unmarshal ¶
func (m *PodSchedulingContextList) XXX_Unmarshal(b []byte) error
type PodSchedulingContextSpec ¶
type PodSchedulingContextSpec 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"` }
PodSchedulingContextSpec describes where resources for the Pod are needed.
func (*PodSchedulingContextSpec) DeepCopy ¶
func (in *PodSchedulingContextSpec) DeepCopy() *PodSchedulingContextSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSchedulingContextSpec.
func (*PodSchedulingContextSpec) DeepCopyInto ¶
func (in *PodSchedulingContextSpec) DeepCopyInto(out *PodSchedulingContextSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodSchedulingContextSpec) Descriptor ¶
func (*PodSchedulingContextSpec) Descriptor() ([]byte, []int)
func (*PodSchedulingContextSpec) Marshal ¶
func (m *PodSchedulingContextSpec) Marshal() (dAtA []byte, err error)
func (*PodSchedulingContextSpec) MarshalTo ¶
func (m *PodSchedulingContextSpec) MarshalTo(dAtA []byte) (int, error)
func (*PodSchedulingContextSpec) MarshalToSizedBuffer ¶
func (m *PodSchedulingContextSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PodSchedulingContextSpec) ProtoMessage ¶
func (*PodSchedulingContextSpec) ProtoMessage()
func (*PodSchedulingContextSpec) Reset ¶
func (m *PodSchedulingContextSpec) Reset()
func (*PodSchedulingContextSpec) Size ¶
func (m *PodSchedulingContextSpec) Size() (n int)
func (*PodSchedulingContextSpec) String ¶
func (this *PodSchedulingContextSpec) String() string
func (PodSchedulingContextSpec) SwaggerDoc ¶
func (PodSchedulingContextSpec) SwaggerDoc() map[string]string
func (*PodSchedulingContextSpec) Unmarshal ¶
func (m *PodSchedulingContextSpec) Unmarshal(dAtA []byte) error
func (*PodSchedulingContextSpec) XXX_DiscardUnknown ¶
func (m *PodSchedulingContextSpec) XXX_DiscardUnknown()
func (*PodSchedulingContextSpec) XXX_Marshal ¶
func (m *PodSchedulingContextSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PodSchedulingContextSpec) XXX_Merge ¶
func (m *PodSchedulingContextSpec) XXX_Merge(src proto.Message)
func (*PodSchedulingContextSpec) XXX_Size ¶
func (m *PodSchedulingContextSpec) XXX_Size() int
func (*PodSchedulingContextSpec) XXX_Unmarshal ¶
func (m *PodSchedulingContextSpec) XXX_Unmarshal(b []byte) error
type PodSchedulingContextStatus ¶
type PodSchedulingContextStatus 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"` }
PodSchedulingContextStatus describes where resources for the Pod can be allocated.
func (*PodSchedulingContextStatus) DeepCopy ¶
func (in *PodSchedulingContextStatus) DeepCopy() *PodSchedulingContextStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSchedulingContextStatus.
func (*PodSchedulingContextStatus) DeepCopyInto ¶
func (in *PodSchedulingContextStatus) DeepCopyInto(out *PodSchedulingContextStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodSchedulingContextStatus) Descriptor ¶
func (*PodSchedulingContextStatus) Descriptor() ([]byte, []int)
func (*PodSchedulingContextStatus) Marshal ¶
func (m *PodSchedulingContextStatus) Marshal() (dAtA []byte, err error)
func (*PodSchedulingContextStatus) MarshalTo ¶
func (m *PodSchedulingContextStatus) MarshalTo(dAtA []byte) (int, error)
func (*PodSchedulingContextStatus) MarshalToSizedBuffer ¶
func (m *PodSchedulingContextStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PodSchedulingContextStatus) ProtoMessage ¶
func (*PodSchedulingContextStatus) ProtoMessage()
func (*PodSchedulingContextStatus) Reset ¶
func (m *PodSchedulingContextStatus) Reset()
func (*PodSchedulingContextStatus) Size ¶
func (m *PodSchedulingContextStatus) Size() (n int)
func (*PodSchedulingContextStatus) String ¶
func (this *PodSchedulingContextStatus) String() string
func (PodSchedulingContextStatus) SwaggerDoc ¶
func (PodSchedulingContextStatus) SwaggerDoc() map[string]string
func (*PodSchedulingContextStatus) Unmarshal ¶
func (m *PodSchedulingContextStatus) Unmarshal(dAtA []byte) error
func (*PodSchedulingContextStatus) XXX_DiscardUnknown ¶
func (m *PodSchedulingContextStatus) XXX_DiscardUnknown()
func (*PodSchedulingContextStatus) XXX_Marshal ¶
func (m *PodSchedulingContextStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PodSchedulingContextStatus) XXX_Merge ¶
func (m *PodSchedulingContextStatus) XXX_Merge(src proto.Message)
func (*PodSchedulingContextStatus) XXX_Size ¶
func (m *PodSchedulingContextStatus) XXX_Size() int
func (*PodSchedulingContextStatus) XXX_Unmarshal ¶
func (m *PodSchedulingContextStatus) 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 or set of // resources has been allocated successfully. If this is not specified, the // resources have not been allocated yet. // +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=map // +listMapKey=uid // +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
type ResourceHandle ¶
type ResourceHandle struct { // DriverName specifies the name of the resource driver whose kubelet // plugin should be invoked to process this ResourceHandle's data once it // lands on a node. This may differ from the DriverName set in // ResourceClaimStatus this ResourceHandle is embedded in. DriverName string `json:"driverName,omitempty" protobuf:"bytes,1,opt,name=driverName"` // Data contains the opaque data associated with this ResourceHandle. It is // set by the controller component of the resource driver whose name // matches the DriverName set in the ResourceClaimStatus this // ResourceHandle is embedded in. It is set at allocation time and is // intended for processing by the kubelet plugin whose name matches // the DriverName set in this ResourceHandle. // // The maximum size of this field is 16KiB. This may get increased in the // future, but not reduced. // +optional Data string `json:"data,omitempty" protobuf:"bytes,2,opt,name=data"` }
ResourceHandle holds opaque resource data for processing by a specific kubelet plugin.
func (*ResourceHandle) DeepCopy ¶
func (in *ResourceHandle) DeepCopy() *ResourceHandle
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceHandle.
func (*ResourceHandle) DeepCopyInto ¶
func (in *ResourceHandle) DeepCopyInto(out *ResourceHandle)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceHandle) Descriptor ¶
func (*ResourceHandle) Descriptor() ([]byte, []int)
func (*ResourceHandle) Marshal ¶
func (m *ResourceHandle) Marshal() (dAtA []byte, err error)
func (*ResourceHandle) MarshalToSizedBuffer ¶
func (m *ResourceHandle) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ResourceHandle) ProtoMessage ¶
func (*ResourceHandle) ProtoMessage()
func (*ResourceHandle) Reset ¶
func (m *ResourceHandle) Reset()
func (*ResourceHandle) Size ¶
func (m *ResourceHandle) Size() (n int)
func (*ResourceHandle) String ¶
func (this *ResourceHandle) String() string
func (ResourceHandle) SwaggerDoc ¶
func (ResourceHandle) SwaggerDoc() map[string]string
func (*ResourceHandle) Unmarshal ¶
func (m *ResourceHandle) Unmarshal(dAtA []byte) error
func (*ResourceHandle) XXX_DiscardUnknown ¶
func (m *ResourceHandle) XXX_DiscardUnknown()
func (*ResourceHandle) XXX_Marshal ¶
func (m *ResourceHandle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResourceHandle) XXX_Merge ¶
func (m *ResourceHandle) XXX_Merge(src proto.Message)
func (*ResourceHandle) XXX_Size ¶
func (m *ResourceHandle) XXX_Size() int
func (*ResourceHandle) XXX_Unmarshal ¶
func (m *ResourceHandle) XXX_Unmarshal(b []byte) error