v1alpha2

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

README

k8s.io/api/resource/v1alpha2

Copying from https://github.com/kubernetes/api/tree/release-1.30/resource/v1alpha2

Generated by ./hack/clone_old_apis.sh

Documentation

Overview

Package v1alpha2 is the v1alpha2 version of the resource API.

Index

Constants

View Source
const AllocationResultResourceHandlesMaxSize = 32

AllocationResultResourceHandlesMaxSize represents the maximum number of entries in allocation.resourceHandles.

View Source
const (
	// Finalizer is the finalizer that gets set for claims
	// which were allocated through a builtin controller.
	Finalizer = "dra.k8s.io/delete-protection"
)
View Source
const GroupName = "resource.k8s.io"

GroupName is the group name use in this package

View Source
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.

View Source
const ResourceClaimReservedForMaxSize = 32

ReservedForMaxSize is the maximum number of entries in claim.status.reservedFor.

View Source
const ResourceHandleDataMaxSize = 16 * 1024

ResourceHandleDataMaxSize represents the maximum size of resourceHandle.data.

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// 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
)
View Source
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"`

	// Shareable determines whether the resource supports more
	// 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) MarshalTo

func (m *AllocationResult) MarshalTo(dAtA []byte) (int, 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 AllocationResultModel

type AllocationResultModel struct {
	// NamedResources describes the allocation result when using the named resources model.
	//
	// +optional
	NamedResources *NamedResourcesAllocationResult `json:"namedResources,omitempty" protobuf:"bytes,1,opt,name=namedResources"`
}

AllocationResultModel must have one and only one field set.

func (*AllocationResultModel) DeepCopy

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

func (*AllocationResultModel) DeepCopyInto

func (in *AllocationResultModel) DeepCopyInto(out *AllocationResultModel)

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

func (*AllocationResultModel) Descriptor

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

func (*AllocationResultModel) Marshal

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

func (*AllocationResultModel) MarshalTo

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

func (*AllocationResultModel) MarshalToSizedBuffer

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

func (*AllocationResultModel) ProtoMessage

func (*AllocationResultModel) ProtoMessage()

func (*AllocationResultModel) Reset

func (m *AllocationResultModel) Reset()

func (*AllocationResultModel) Size

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

func (*AllocationResultModel) String

func (this *AllocationResultModel) String() string

func (AllocationResultModel) SwaggerDoc

func (AllocationResultModel) SwaggerDoc() map[string]string

func (*AllocationResultModel) Unmarshal

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

func (*AllocationResultModel) XXX_DiscardUnknown

func (m *AllocationResultModel) XXX_DiscardUnknown()

func (*AllocationResultModel) XXX_Marshal

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

func (*AllocationResultModel) XXX_Merge

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

func (*AllocationResultModel) XXX_Size

func (m *AllocationResultModel) XXX_Size() int

func (*AllocationResultModel) XXX_Unmarshal

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

type DriverAllocationResult

type DriverAllocationResult struct {
	// VendorRequestParameters are the per-request configuration parameters
	// from the time that the claim was allocated.
	//
	// +optional
	VendorRequestParameters runtime.RawExtension `json:"vendorRequestParameters,omitempty" protobuf:"bytes,1,opt,name=vendorRequestParameters"`

	AllocationResultModel `json:",inline" protobuf:"bytes,2,name=allocationResultModel"`
}

DriverAllocationResult contains vendor parameters and the allocation result for one request.

func (*DriverAllocationResult) DeepCopy

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

func (*DriverAllocationResult) DeepCopyInto

func (in *DriverAllocationResult) DeepCopyInto(out *DriverAllocationResult)

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

func (*DriverAllocationResult) Descriptor

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

func (*DriverAllocationResult) Marshal

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

func (*DriverAllocationResult) MarshalTo

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

func (*DriverAllocationResult) MarshalToSizedBuffer

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

func (*DriverAllocationResult) ProtoMessage

func (*DriverAllocationResult) ProtoMessage()

func (*DriverAllocationResult) Reset

func (m *DriverAllocationResult) Reset()

func (*DriverAllocationResult) Size

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

func (*DriverAllocationResult) String

func (this *DriverAllocationResult) String() string

func (DriverAllocationResult) SwaggerDoc

func (DriverAllocationResult) SwaggerDoc() map[string]string

func (*DriverAllocationResult) Unmarshal

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

func (*DriverAllocationResult) XXX_DiscardUnknown

func (m *DriverAllocationResult) XXX_DiscardUnknown()

func (*DriverAllocationResult) XXX_Marshal

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

func (*DriverAllocationResult) XXX_Merge

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

func (*DriverAllocationResult) XXX_Size

func (m *DriverAllocationResult) XXX_Size() int

func (*DriverAllocationResult) XXX_Unmarshal

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

type DriverRequests

type DriverRequests struct {
	// DriverName is the name used by the DRA driver kubelet plugin.
	DriverName string `json:"driverName,omitempty" protobuf:"bytes,1,opt,name=driverName"`

	// VendorParameters are arbitrary setup parameters for all requests of the
	// claim. They are ignored while allocating the claim.
	//
	// +optional
	VendorParameters runtime.RawExtension `json:"vendorParameters,omitempty" protobuf:"bytes,2,opt,name=vendorParameters"`

	// Requests describes all resources that are needed from the driver.
	// +listType=atomic
	Requests []ResourceRequest `json:"requests,omitempty" protobuf:"bytes,3,opt,name=requests"`
}

DriverRequests describes all resources that are needed from one particular driver.

func (*DriverRequests) DeepCopy

func (in *DriverRequests) DeepCopy() *DriverRequests

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

func (*DriverRequests) DeepCopyInto

func (in *DriverRequests) DeepCopyInto(out *DriverRequests)

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

func (*DriverRequests) Descriptor

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

func (*DriverRequests) Marshal

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

func (*DriverRequests) MarshalTo

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

func (*DriverRequests) MarshalToSizedBuffer

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

func (*DriverRequests) ProtoMessage

func (*DriverRequests) ProtoMessage()

func (*DriverRequests) Reset

func (m *DriverRequests) Reset()

func (*DriverRequests) Size

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

func (*DriverRequests) String

func (this *DriverRequests) String() string

func (DriverRequests) SwaggerDoc

func (DriverRequests) SwaggerDoc() map[string]string

func (*DriverRequests) Unmarshal

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

func (*DriverRequests) XXX_DiscardUnknown

func (m *DriverRequests) XXX_DiscardUnknown()

func (*DriverRequests) XXX_Marshal

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

func (*DriverRequests) XXX_Merge

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

func (*DriverRequests) XXX_Size

func (m *DriverRequests) XXX_Size() int

func (*DriverRequests) XXX_Unmarshal

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

type NamedResourcesAllocationResult

type NamedResourcesAllocationResult struct {
	// Name is the name of the selected resource instance.
	Name string `json:"name" protobuf:"bytes,1,name=name"`
}

NamedResourcesAllocationResult is used in AllocationResultModel.

func (*NamedResourcesAllocationResult) DeepCopy

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

func (*NamedResourcesAllocationResult) DeepCopyInto

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

func (*NamedResourcesAllocationResult) Descriptor

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

func (*NamedResourcesAllocationResult) Marshal

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

func (*NamedResourcesAllocationResult) MarshalTo

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

func (*NamedResourcesAllocationResult) MarshalToSizedBuffer

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

func (*NamedResourcesAllocationResult) ProtoMessage

func (*NamedResourcesAllocationResult) ProtoMessage()

func (*NamedResourcesAllocationResult) Reset

func (m *NamedResourcesAllocationResult) Reset()

func (*NamedResourcesAllocationResult) Size

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

func (*NamedResourcesAllocationResult) String

func (this *NamedResourcesAllocationResult) String() string

func (*NamedResourcesAllocationResult) Unmarshal

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

func (*NamedResourcesAllocationResult) XXX_DiscardUnknown

func (m *NamedResourcesAllocationResult) XXX_DiscardUnknown()

func (*NamedResourcesAllocationResult) XXX_Marshal

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

func (*NamedResourcesAllocationResult) XXX_Merge

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

func (*NamedResourcesAllocationResult) XXX_Size

func (m *NamedResourcesAllocationResult) XXX_Size() int

func (*NamedResourcesAllocationResult) XXX_Unmarshal

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

type NamedResourcesAttribute

type NamedResourcesAttribute struct {
	// Name is unique identifier among all resource instances managed by
	// the driver on the node. It must be a DNS subdomain.
	Name string `json:"name" protobuf:"bytes,1,name=name"`

	NamedResourcesAttributeValue `json:",inline" protobuf:"bytes,2,opt,name=attributeValue"`
}

NamedResourcesAttribute is a combination of an attribute name and its value.

func (*NamedResourcesAttribute) DeepCopy

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

func (*NamedResourcesAttribute) DeepCopyInto

func (in *NamedResourcesAttribute) DeepCopyInto(out *NamedResourcesAttribute)

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

func (*NamedResourcesAttribute) Descriptor

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

func (*NamedResourcesAttribute) Marshal

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

func (*NamedResourcesAttribute) MarshalTo

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

func (*NamedResourcesAttribute) MarshalToSizedBuffer

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

func (*NamedResourcesAttribute) ProtoMessage

func (*NamedResourcesAttribute) ProtoMessage()

func (*NamedResourcesAttribute) Reset

func (m *NamedResourcesAttribute) Reset()

func (*NamedResourcesAttribute) Size

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

func (*NamedResourcesAttribute) String

func (this *NamedResourcesAttribute) String() string

func (*NamedResourcesAttribute) Unmarshal

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

func (*NamedResourcesAttribute) XXX_DiscardUnknown

func (m *NamedResourcesAttribute) XXX_DiscardUnknown()

func (*NamedResourcesAttribute) XXX_Marshal

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

func (*NamedResourcesAttribute) XXX_Merge

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

func (*NamedResourcesAttribute) XXX_Size

func (m *NamedResourcesAttribute) XXX_Size() int

func (*NamedResourcesAttribute) XXX_Unmarshal

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

type NamedResourcesAttributeValue

type NamedResourcesAttributeValue struct {
	// QuantityValue is a quantity.
	QuantityValue *resource.Quantity `json:"quantity,omitempty" protobuf:"bytes,6,opt,name=quantity"`
	// BoolValue is a true/false value.
	BoolValue *bool `json:"bool,omitempty" protobuf:"bytes,2,opt,name=bool"`
	// IntValue is a 64-bit integer.
	IntValue *int64 `json:"int,omitempty" protobuf:"varint,7,opt,name=int"`
	// IntSliceValue is an array of 64-bit integers.
	IntSliceValue *NamedResourcesIntSlice `json:"intSlice,omitempty" protobuf:"varint,8,rep,name=intSlice"`
	// StringValue is a string.
	StringValue *string `json:"string,omitempty" protobuf:"bytes,5,opt,name=string"`
	// StringSliceValue is an array of strings.
	StringSliceValue *NamedResourcesStringSlice `json:"stringSlice,omitempty" protobuf:"bytes,9,rep,name=stringSlice"`
	// VersionValue is a semantic version according to semver.org spec 2.0.0.
	VersionValue *string `json:"version,omitempty" protobuf:"bytes,10,opt,name=version"`
}

NamedResourcesAttributeValue must have one and only one field set.

func (*NamedResourcesAttributeValue) DeepCopy

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

func (*NamedResourcesAttributeValue) DeepCopyInto

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

func (*NamedResourcesAttributeValue) Descriptor

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

func (*NamedResourcesAttributeValue) Marshal

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

func (*NamedResourcesAttributeValue) MarshalTo

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

func (*NamedResourcesAttributeValue) MarshalToSizedBuffer

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

func (*NamedResourcesAttributeValue) ProtoMessage

func (*NamedResourcesAttributeValue) ProtoMessage()

func (*NamedResourcesAttributeValue) Reset

func (m *NamedResourcesAttributeValue) Reset()

func (*NamedResourcesAttributeValue) Size

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

func (*NamedResourcesAttributeValue) String

func (this *NamedResourcesAttributeValue) String() string

func (*NamedResourcesAttributeValue) Unmarshal

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

func (*NamedResourcesAttributeValue) XXX_DiscardUnknown

func (m *NamedResourcesAttributeValue) XXX_DiscardUnknown()

func (*NamedResourcesAttributeValue) XXX_Marshal

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

func (*NamedResourcesAttributeValue) XXX_Merge

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

func (*NamedResourcesAttributeValue) XXX_Size

func (m *NamedResourcesAttributeValue) XXX_Size() int

func (*NamedResourcesAttributeValue) XXX_Unmarshal

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

type NamedResourcesFilter

type NamedResourcesFilter struct {
	// Selector is a CEL expression which must evaluate to true if a
	// resource instance is suitable. The language is as defined in
	// https://kubernetes.io/docs/reference/using-api/cel/
	//
	// In addition, for each type NamedResourcesin AttributeValue there is a map that
	// resolves to the corresponding value of the instance under evaluation.
	// For example:
	//
	//    attributes.quantity["a"].isGreaterThan(quantity("0")) &&
	//    attributes.stringslice["b"].isSorted()
	Selector string `json:"selector" protobuf:"bytes,1,name=selector"`
}

NamedResourcesFilter is used in ResourceFilterModel.

func (*NamedResourcesFilter) DeepCopy

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

func (*NamedResourcesFilter) DeepCopyInto

func (in *NamedResourcesFilter) DeepCopyInto(out *NamedResourcesFilter)

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

func (*NamedResourcesFilter) Descriptor

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

func (*NamedResourcesFilter) Marshal

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

func (*NamedResourcesFilter) MarshalTo

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

func (*NamedResourcesFilter) MarshalToSizedBuffer

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

func (*NamedResourcesFilter) ProtoMessage

func (*NamedResourcesFilter) ProtoMessage()

func (*NamedResourcesFilter) Reset

func (m *NamedResourcesFilter) Reset()

func (*NamedResourcesFilter) Size

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

func (*NamedResourcesFilter) String

func (this *NamedResourcesFilter) String() string

func (*NamedResourcesFilter) Unmarshal

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

func (*NamedResourcesFilter) XXX_DiscardUnknown

func (m *NamedResourcesFilter) XXX_DiscardUnknown()

func (*NamedResourcesFilter) XXX_Marshal

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

func (*NamedResourcesFilter) XXX_Merge

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

func (*NamedResourcesFilter) XXX_Size

func (m *NamedResourcesFilter) XXX_Size() int

func (*NamedResourcesFilter) XXX_Unmarshal

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

type NamedResourcesInstance

type NamedResourcesInstance struct {
	// Name is unique identifier among all resource instances managed by
	// the driver on the node. It must be a DNS subdomain.
	Name string `json:"name" protobuf:"bytes,1,name=name"`

	// Attributes defines the attributes of this resource instance.
	// The name of each attribute must be unique.
	//
	// +listType=atomic
	// +optional
	Attributes []NamedResourcesAttribute `json:"attributes,omitempty" protobuf:"bytes,2,opt,name=attributes"`
}

NamedResourcesInstance represents one individual hardware instance that can be selected based on its attributes.

func (*NamedResourcesInstance) DeepCopy

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

func (*NamedResourcesInstance) DeepCopyInto

func (in *NamedResourcesInstance) DeepCopyInto(out *NamedResourcesInstance)

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

func (*NamedResourcesInstance) Descriptor

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

func (*NamedResourcesInstance) Marshal

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

func (*NamedResourcesInstance) MarshalTo

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

func (*NamedResourcesInstance) MarshalToSizedBuffer

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

func (*NamedResourcesInstance) ProtoMessage

func (*NamedResourcesInstance) ProtoMessage()

func (*NamedResourcesInstance) Reset

func (m *NamedResourcesInstance) Reset()

func (*NamedResourcesInstance) Size

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

func (*NamedResourcesInstance) String

func (this *NamedResourcesInstance) String() string

func (*NamedResourcesInstance) Unmarshal

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

func (*NamedResourcesInstance) XXX_DiscardUnknown

func (m *NamedResourcesInstance) XXX_DiscardUnknown()

func (*NamedResourcesInstance) XXX_Marshal

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

func (*NamedResourcesInstance) XXX_Merge

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

func (*NamedResourcesInstance) XXX_Size

func (m *NamedResourcesInstance) XXX_Size() int

func (*NamedResourcesInstance) XXX_Unmarshal

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

type NamedResourcesIntSlice

type NamedResourcesIntSlice struct {
	// Ints is the slice of 64-bit integers.
	//
	// +listType=atomic
	Ints []int64 `json:"ints" protobuf:"bytes,1,opt,name=ints"`
}

NamedResourcesIntSlice contains a slice of 64-bit integers.

func (*NamedResourcesIntSlice) DeepCopy

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

func (*NamedResourcesIntSlice) DeepCopyInto

func (in *NamedResourcesIntSlice) DeepCopyInto(out *NamedResourcesIntSlice)

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

func (*NamedResourcesIntSlice) Descriptor

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

func (*NamedResourcesIntSlice) Marshal

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

func (*NamedResourcesIntSlice) MarshalTo

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

func (*NamedResourcesIntSlice) MarshalToSizedBuffer

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

func (*NamedResourcesIntSlice) ProtoMessage

func (*NamedResourcesIntSlice) ProtoMessage()

func (*NamedResourcesIntSlice) Reset

func (m *NamedResourcesIntSlice) Reset()

func (*NamedResourcesIntSlice) Size

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

func (*NamedResourcesIntSlice) String

func (this *NamedResourcesIntSlice) String() string

func (*NamedResourcesIntSlice) Unmarshal

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

func (*NamedResourcesIntSlice) XXX_DiscardUnknown

func (m *NamedResourcesIntSlice) XXX_DiscardUnknown()

func (*NamedResourcesIntSlice) XXX_Marshal

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

func (*NamedResourcesIntSlice) XXX_Merge

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

func (*NamedResourcesIntSlice) XXX_Size

func (m *NamedResourcesIntSlice) XXX_Size() int

func (*NamedResourcesIntSlice) XXX_Unmarshal

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

type NamedResourcesRequest

type NamedResourcesRequest struct {
	// Selector is a CEL expression which must evaluate to true if a
	// resource instance is suitable. The language is as defined in
	// https://kubernetes.io/docs/reference/using-api/cel/
	//
	// In addition, for each type NamedResourcesin AttributeValue there is a map that
	// resolves to the corresponding value of the instance under evaluation.
	// For example:
	//
	//    attributes.quantity["a"].isGreaterThan(quantity("0")) &&
	//    attributes.stringslice["b"].isSorted()
	Selector string `json:"selector" protobuf:"bytes,1,name=selector"`
}

NamedResourcesRequest is used in ResourceRequestModel.

func (*NamedResourcesRequest) DeepCopy

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

func (*NamedResourcesRequest) DeepCopyInto

func (in *NamedResourcesRequest) DeepCopyInto(out *NamedResourcesRequest)

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

func (*NamedResourcesRequest) Descriptor

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

func (*NamedResourcesRequest) Marshal

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

func (*NamedResourcesRequest) MarshalTo

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

func (*NamedResourcesRequest) MarshalToSizedBuffer

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

func (*NamedResourcesRequest) ProtoMessage

func (*NamedResourcesRequest) ProtoMessage()

func (*NamedResourcesRequest) Reset

func (m *NamedResourcesRequest) Reset()

func (*NamedResourcesRequest) Size

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

func (*NamedResourcesRequest) String

func (this *NamedResourcesRequest) String() string

func (*NamedResourcesRequest) Unmarshal

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

func (*NamedResourcesRequest) XXX_DiscardUnknown

func (m *NamedResourcesRequest) XXX_DiscardUnknown()

func (*NamedResourcesRequest) XXX_Marshal

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

func (*NamedResourcesRequest) XXX_Merge

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

func (*NamedResourcesRequest) XXX_Size

func (m *NamedResourcesRequest) XXX_Size() int

func (*NamedResourcesRequest) XXX_Unmarshal

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

type NamedResourcesResources

type NamedResourcesResources struct {
	// The list of all individual resources instances currently available.
	//
	// +listType=atomic
	Instances []NamedResourcesInstance `json:"instances" protobuf:"bytes,1,name=instances"`
}

NamedResourcesResources is used in ResourceModel.

func (*NamedResourcesResources) DeepCopy

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

func (*NamedResourcesResources) DeepCopyInto

func (in *NamedResourcesResources) DeepCopyInto(out *NamedResourcesResources)

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

func (*NamedResourcesResources) Descriptor

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

func (*NamedResourcesResources) Marshal

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

func (*NamedResourcesResources) MarshalTo

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

func (*NamedResourcesResources) MarshalToSizedBuffer

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

func (*NamedResourcesResources) ProtoMessage

func (*NamedResourcesResources) ProtoMessage()

func (*NamedResourcesResources) Reset

func (m *NamedResourcesResources) Reset()

func (*NamedResourcesResources) Size

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

func (*NamedResourcesResources) String

func (this *NamedResourcesResources) String() string

func (*NamedResourcesResources) Unmarshal

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

func (*NamedResourcesResources) XXX_DiscardUnknown

func (m *NamedResourcesResources) XXX_DiscardUnknown()

func (*NamedResourcesResources) XXX_Marshal

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

func (*NamedResourcesResources) XXX_Merge

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

func (*NamedResourcesResources) XXX_Size

func (m *NamedResourcesResources) XXX_Size() int

func (*NamedResourcesResources) XXX_Unmarshal

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

type NamedResourcesStringSlice

type NamedResourcesStringSlice struct {
	// Strings is the slice of strings.
	//
	// +listType=atomic
	Strings []string `json:"strings" protobuf:"bytes,1,opt,name=strings"`
}

NamedResourcesStringSlice contains a slice of strings.

func (*NamedResourcesStringSlice) DeepCopy

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

func (*NamedResourcesStringSlice) DeepCopyInto

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

func (*NamedResourcesStringSlice) Descriptor

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

func (*NamedResourcesStringSlice) Marshal

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

func (*NamedResourcesStringSlice) MarshalTo

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

func (*NamedResourcesStringSlice) MarshalToSizedBuffer

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

func (*NamedResourcesStringSlice) ProtoMessage

func (*NamedResourcesStringSlice) ProtoMessage()

func (*NamedResourcesStringSlice) Reset

func (m *NamedResourcesStringSlice) Reset()

func (*NamedResourcesStringSlice) Size

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

func (*NamedResourcesStringSlice) String

func (this *NamedResourcesStringSlice) String() string

func (*NamedResourcesStringSlice) Unmarshal

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

func (*NamedResourcesStringSlice) XXX_DiscardUnknown

func (m *NamedResourcesStringSlice) XXX_DiscardUnknown()

func (*NamedResourcesStringSlice) XXX_Marshal

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

func (*NamedResourcesStringSlice) XXX_Merge

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

func (*NamedResourcesStringSlice) XXX_Size

func (m *NamedResourcesStringSlice) XXX_Size() int

func (*NamedResourcesStringSlice) XXX_Unmarshal

func (m *NamedResourcesStringSlice) 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

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

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=atomic
	// +optional
	PotentialNodes []string `json:"potentialNodes,omitempty" protobuf:"bytes,2,opt,name=potentialNodes"`
}

PodSchedulingContextSpec describes where resources for the Pod are needed.

func (*PodSchedulingContextSpec) DeepCopy

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

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

func (*PodSchedulingContextStatus) DeepCopyInto

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) MarshalTo

func (m *ResourceClaim) MarshalTo(dAtA []byte) (int, 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

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

func (*ResourceClaimConsumerReference) DeepCopyInto

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 ResourceClaimParameters

type ResourceClaimParameters struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object metadata
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// If this object was created from some other resource, then this links
	// back to that resource. This field is used to find the in-tree representation
	// of the claim parameters when the parameter reference of the claim refers
	// to some unknown type.
	// +optional
	GeneratedFrom *ResourceClaimParametersReference `json:"generatedFrom,omitempty" protobuf:"bytes,2,opt,name=generatedFrom"`

	// Shareable indicates whether the allocated claim is meant to be shareable
	// by multiple consumers at the same time.
	// +optional
	Shareable bool `json:"shareable,omitempty" protobuf:"bytes,3,opt,name=shareable"`

	// DriverRequests describes all resources that are needed for the
	// allocated claim. A single claim may use resources coming from
	// different drivers. For each driver, this array has at most one
	// entry which then may have one or more per-driver requests.
	//
	// May be empty, in which case the claim can always be allocated.
	//
	// +listType=atomic
	DriverRequests []DriverRequests `json:"driverRequests,omitempty" protobuf:"bytes,4,opt,name=driverRequests"`
}

ResourceClaimParameters defines resource requests for a ResourceClaim in an in-tree format understood by Kubernetes.

func (*ResourceClaimParameters) DeepCopy

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

func (*ResourceClaimParameters) DeepCopyInto

func (in *ResourceClaimParameters) DeepCopyInto(out *ResourceClaimParameters)

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

func (*ResourceClaimParameters) DeepCopyObject

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

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

func (*ResourceClaimParameters) Descriptor

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

func (*ResourceClaimParameters) Marshal

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

func (*ResourceClaimParameters) MarshalTo

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

func (*ResourceClaimParameters) MarshalToSizedBuffer

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

func (*ResourceClaimParameters) ProtoMessage

func (*ResourceClaimParameters) ProtoMessage()

func (*ResourceClaimParameters) Reset

func (m *ResourceClaimParameters) Reset()

func (*ResourceClaimParameters) Size

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

func (*ResourceClaimParameters) String

func (this *ResourceClaimParameters) String() string

func (ResourceClaimParameters) SwaggerDoc

func (ResourceClaimParameters) SwaggerDoc() map[string]string

func (*ResourceClaimParameters) Unmarshal

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

func (*ResourceClaimParameters) XXX_DiscardUnknown

func (m *ResourceClaimParameters) XXX_DiscardUnknown()

func (*ResourceClaimParameters) XXX_Marshal

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

func (*ResourceClaimParameters) XXX_Merge

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

func (*ResourceClaimParameters) XXX_Size

func (m *ResourceClaimParameters) XXX_Size() int

func (*ResourceClaimParameters) XXX_Unmarshal

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

type ResourceClaimParametersList

type ResourceClaimParametersList 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 node resource capacity objects.
	Items []ResourceClaimParameters `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ResourceClaimParametersList is a collection of ResourceClaimParameters.

func (*ResourceClaimParametersList) DeepCopy

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

func (*ResourceClaimParametersList) DeepCopyInto

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

func (*ResourceClaimParametersList) DeepCopyObject

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

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

func (*ResourceClaimParametersList) Descriptor

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

func (*ResourceClaimParametersList) Marshal

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

func (*ResourceClaimParametersList) MarshalTo

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

func (*ResourceClaimParametersList) MarshalToSizedBuffer

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

func (*ResourceClaimParametersList) ProtoMessage

func (*ResourceClaimParametersList) ProtoMessage()

func (*ResourceClaimParametersList) Reset

func (m *ResourceClaimParametersList) Reset()

func (*ResourceClaimParametersList) Size

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

func (*ResourceClaimParametersList) String

func (this *ResourceClaimParametersList) String() string

func (ResourceClaimParametersList) SwaggerDoc

func (ResourceClaimParametersList) SwaggerDoc() map[string]string

func (*ResourceClaimParametersList) Unmarshal

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

func (*ResourceClaimParametersList) XXX_DiscardUnknown

func (m *ResourceClaimParametersList) XXX_DiscardUnknown()

func (*ResourceClaimParametersList) XXX_Marshal

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

func (*ResourceClaimParametersList) XXX_Merge

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

func (*ResourceClaimParametersList) XXX_Size

func (m *ResourceClaimParametersList) XXX_Size() int

func (*ResourceClaimParametersList) XXX_Unmarshal

func (m *ResourceClaimParametersList) 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

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

func (*ResourceClaimParametersReference) DeepCopyInto

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 (*ResourceClaimParametersReference) Size

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

func (*ResourceClaimParametersReference) String

func (ResourceClaimParametersReference) SwaggerDoc

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 (*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=atomic
	// +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

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

func (*ResourceClaimSchedulingStatus) DeepCopyInto

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
	// +patchStrategy=merge
	// +patchMergeKey=uid
	// +optional
	ReservedFor []ResourceClaimConsumerReference `json:"reservedFor,omitempty" protobuf:"bytes,3,opt,name=reservedFor" patchStrategy:"merge" patchMergeKey:"uid"`

	// 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

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

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

func (*ResourceClaimTemplateList) DeepCopyInto

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

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

func (*ResourceClaimTemplateSpec) DeepCopyInto

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"`

	// If and only if allocation of claims using this class is handled
	// via structured parameters, then StructuredParameters must be set to true.
	// +optional
	StructuredParameters *bool `json:"structuredParameters,omitempty" protobuf:"bytes,5,opt,name=structuredParameters"`
}

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) MarshalTo

func (m *ResourceClass) MarshalTo(dAtA []byte) (int, 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 ResourceClassParameters

type ResourceClassParameters struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object metadata
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// If this object was created from some other resource, then this links
	// back to that resource. This field is used to find the in-tree representation
	// of the class parameters when the parameter reference of the class refers
	// to some unknown type.
	// +optional
	GeneratedFrom *ResourceClassParametersReference `json:"generatedFrom,omitempty" protobuf:"bytes,2,opt,name=generatedFrom"`

	// VendorParameters are arbitrary setup parameters for all claims using
	// this class. They are ignored while allocating the claim. There must
	// not be more than one entry per driver.
	//
	// +listType=atomic
	// +optional
	VendorParameters []VendorParameters `json:"vendorParameters,omitempty" protobuf:"bytes,3,opt,name=vendorParameters"`

	// Filters describes additional contraints that must be met when using the class.
	//
	// +listType=atomic
	Filters []ResourceFilter `json:"filters,omitempty" protobuf:"bytes,4,opt,name=filters"`
}

ResourceClassParameters defines resource requests for a ResourceClass in an in-tree format understood by Kubernetes.

func (*ResourceClassParameters) DeepCopy

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

func (*ResourceClassParameters) DeepCopyInto

func (in *ResourceClassParameters) DeepCopyInto(out *ResourceClassParameters)

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

func (*ResourceClassParameters) DeepCopyObject

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

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

func (*ResourceClassParameters) Descriptor

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

func (*ResourceClassParameters) Marshal

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

func (*ResourceClassParameters) MarshalTo

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

func (*ResourceClassParameters) MarshalToSizedBuffer

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

func (*ResourceClassParameters) ProtoMessage

func (*ResourceClassParameters) ProtoMessage()

func (*ResourceClassParameters) Reset

func (m *ResourceClassParameters) Reset()

func (*ResourceClassParameters) Size

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

func (*ResourceClassParameters) String

func (this *ResourceClassParameters) String() string

func (ResourceClassParameters) SwaggerDoc

func (ResourceClassParameters) SwaggerDoc() map[string]string

func (*ResourceClassParameters) Unmarshal

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

func (*ResourceClassParameters) XXX_DiscardUnknown

func (m *ResourceClassParameters) XXX_DiscardUnknown()

func (*ResourceClassParameters) XXX_Marshal

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

func (*ResourceClassParameters) XXX_Merge

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

func (*ResourceClassParameters) XXX_Size

func (m *ResourceClassParameters) XXX_Size() int

func (*ResourceClassParameters) XXX_Unmarshal

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

type ResourceClassParametersList

type ResourceClassParametersList 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 node resource capacity objects.
	Items []ResourceClassParameters `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ResourceClassParametersList is a collection of ResourceClassParameters.

func (*ResourceClassParametersList) DeepCopy

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

func (*ResourceClassParametersList) DeepCopyInto

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

func (*ResourceClassParametersList) DeepCopyObject

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

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

func (*ResourceClassParametersList) Descriptor

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

func (*ResourceClassParametersList) Marshal

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

func (*ResourceClassParametersList) MarshalTo

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

func (*ResourceClassParametersList) MarshalToSizedBuffer

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

func (*ResourceClassParametersList) ProtoMessage

func (*ResourceClassParametersList) ProtoMessage()

func (*ResourceClassParametersList) Reset

func (m *ResourceClassParametersList) Reset()

func (*ResourceClassParametersList) Size

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

func (*ResourceClassParametersList) String

func (this *ResourceClassParametersList) String() string

func (ResourceClassParametersList) SwaggerDoc

func (ResourceClassParametersList) SwaggerDoc() map[string]string

func (*ResourceClassParametersList) Unmarshal

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

func (*ResourceClassParametersList) XXX_DiscardUnknown

func (m *ResourceClassParametersList) XXX_DiscardUnknown()

func (*ResourceClassParametersList) XXX_Marshal

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

func (*ResourceClassParametersList) XXX_Merge

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

func (*ResourceClassParametersList) XXX_Size

func (m *ResourceClassParametersList) XXX_Size() int

func (*ResourceClassParametersList) XXX_Unmarshal

func (m *ResourceClassParametersList) 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

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

func (*ResourceClassParametersReference) DeepCopyInto

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 (*ResourceClassParametersReference) Size

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

func (*ResourceClassParametersReference) String

func (ResourceClassParametersReference) SwaggerDoc

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 (*ResourceClassParametersReference) XXX_Size

func (m *ResourceClassParametersReference) XXX_Size() int

func (*ResourceClassParametersReference) XXX_Unmarshal

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

type ResourceFilter

type ResourceFilter struct {
	// DriverName is the name used by the DRA driver kubelet plugin.
	DriverName string `json:"driverName,omitempty" protobuf:"bytes,1,opt,name=driverName"`

	ResourceFilterModel `json:",inline" protobuf:"bytes,2,name=resourceFilterModel"`
}

ResourceFilter is a filter for resources from one particular driver.

func (*ResourceFilter) DeepCopy

func (in *ResourceFilter) DeepCopy() *ResourceFilter

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

func (*ResourceFilter) DeepCopyInto

func (in *ResourceFilter) DeepCopyInto(out *ResourceFilter)

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

func (*ResourceFilter) Descriptor

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

func (*ResourceFilter) Marshal

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

func (*ResourceFilter) MarshalTo

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

func (*ResourceFilter) MarshalToSizedBuffer

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

func (*ResourceFilter) ProtoMessage

func (*ResourceFilter) ProtoMessage()

func (*ResourceFilter) Reset

func (m *ResourceFilter) Reset()

func (*ResourceFilter) Size

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

func (*ResourceFilter) String

func (this *ResourceFilter) String() string

func (ResourceFilter) SwaggerDoc

func (ResourceFilter) SwaggerDoc() map[string]string

func (*ResourceFilter) Unmarshal

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

func (*ResourceFilter) XXX_DiscardUnknown

func (m *ResourceFilter) XXX_DiscardUnknown()

func (*ResourceFilter) XXX_Marshal

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

func (*ResourceFilter) XXX_Merge

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

func (*ResourceFilter) XXX_Size

func (m *ResourceFilter) XXX_Size() int

func (*ResourceFilter) XXX_Unmarshal

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

type ResourceFilterModel

type ResourceFilterModel struct {
	// NamedResources describes a resource filter using the named resources model.
	//
	// +optional
	NamedResources *NamedResourcesFilter `json:"namedResources,omitempty" protobuf:"bytes,1,opt,name=namedResources"`
}

ResourceFilterModel must have one and only one field set.

func (*ResourceFilterModel) DeepCopy

func (in *ResourceFilterModel) DeepCopy() *ResourceFilterModel

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

func (*ResourceFilterModel) DeepCopyInto

func (in *ResourceFilterModel) DeepCopyInto(out *ResourceFilterModel)

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

func (*ResourceFilterModel) Descriptor

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

func (*ResourceFilterModel) Marshal

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

func (*ResourceFilterModel) MarshalTo

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

func (*ResourceFilterModel) MarshalToSizedBuffer

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

func (*ResourceFilterModel) ProtoMessage

func (*ResourceFilterModel) ProtoMessage()

func (*ResourceFilterModel) Reset

func (m *ResourceFilterModel) Reset()

func (*ResourceFilterModel) Size

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

func (*ResourceFilterModel) String

func (this *ResourceFilterModel) String() string

func (ResourceFilterModel) SwaggerDoc

func (ResourceFilterModel) SwaggerDoc() map[string]string

func (*ResourceFilterModel) Unmarshal

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

func (*ResourceFilterModel) XXX_DiscardUnknown

func (m *ResourceFilterModel) XXX_DiscardUnknown()

func (*ResourceFilterModel) XXX_Marshal

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

func (*ResourceFilterModel) XXX_Merge

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

func (*ResourceFilterModel) XXX_Size

func (m *ResourceFilterModel) XXX_Size() int

func (*ResourceFilterModel) XXX_Unmarshal

func (m *ResourceFilterModel) 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"`

	// If StructuredData is set, then it needs to be used instead of Data.
	//
	// +optional
	StructuredData *StructuredResourceHandle `json:"structuredData,omitempty" protobuf:"bytes,5,opt,name=structuredData"`
}

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) MarshalTo

func (m *ResourceHandle) MarshalTo(dAtA []byte) (int, 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

type ResourceModel

type ResourceModel struct {
	// NamedResources describes available resources using the named resources model.
	//
	// +optional
	NamedResources *NamedResourcesResources `json:"namedResources,omitempty" protobuf:"bytes,1,opt,name=namedResources"`
}

ResourceModel must have one and only one field set.

func (*ResourceModel) DeepCopy

func (in *ResourceModel) DeepCopy() *ResourceModel

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

func (*ResourceModel) DeepCopyInto

func (in *ResourceModel) DeepCopyInto(out *ResourceModel)

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

func (*ResourceModel) Descriptor

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

func (*ResourceModel) Marshal

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

func (*ResourceModel) MarshalTo

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

func (*ResourceModel) MarshalToSizedBuffer

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

func (*ResourceModel) ProtoMessage

func (*ResourceModel) ProtoMessage()

func (*ResourceModel) Reset

func (m *ResourceModel) Reset()

func (*ResourceModel) Size

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

func (*ResourceModel) String

func (this *ResourceModel) String() string

func (ResourceModel) SwaggerDoc

func (ResourceModel) SwaggerDoc() map[string]string

func (*ResourceModel) Unmarshal

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

func (*ResourceModel) XXX_DiscardUnknown

func (m *ResourceModel) XXX_DiscardUnknown()

func (*ResourceModel) XXX_Marshal

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

func (*ResourceModel) XXX_Merge

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

func (*ResourceModel) XXX_Size

func (m *ResourceModel) XXX_Size() int

func (*ResourceModel) XXX_Unmarshal

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

type ResourceRequest

type ResourceRequest struct {
	// VendorParameters are arbitrary setup parameters for the requested
	// resource. They are ignored while allocating a claim.
	//
	// +optional
	VendorParameters runtime.RawExtension `json:"vendorParameters,omitempty" protobuf:"bytes,1,opt,name=vendorParameters"`

	ResourceRequestModel `json:",inline" protobuf:"bytes,2,name=resourceRequestModel"`
}

ResourceRequest is a request for resources from one particular driver.

func (*ResourceRequest) DeepCopy

func (in *ResourceRequest) DeepCopy() *ResourceRequest

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

func (*ResourceRequest) DeepCopyInto

func (in *ResourceRequest) DeepCopyInto(out *ResourceRequest)

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

func (*ResourceRequest) Descriptor

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

func (*ResourceRequest) Marshal

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

func (*ResourceRequest) MarshalTo

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

func (*ResourceRequest) MarshalToSizedBuffer

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

func (*ResourceRequest) ProtoMessage

func (*ResourceRequest) ProtoMessage()

func (*ResourceRequest) Reset

func (m *ResourceRequest) Reset()

func (*ResourceRequest) Size

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

func (*ResourceRequest) String

func (this *ResourceRequest) String() string

func (ResourceRequest) SwaggerDoc

func (ResourceRequest) SwaggerDoc() map[string]string

func (*ResourceRequest) Unmarshal

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

func (*ResourceRequest) XXX_DiscardUnknown

func (m *ResourceRequest) XXX_DiscardUnknown()

func (*ResourceRequest) XXX_Marshal

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

func (*ResourceRequest) XXX_Merge

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

func (*ResourceRequest) XXX_Size

func (m *ResourceRequest) XXX_Size() int

func (*ResourceRequest) XXX_Unmarshal

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

type ResourceRequestModel

type ResourceRequestModel struct {
	// NamedResources describes a request for resources with the named resources model.
	//
	// +optional
	NamedResources *NamedResourcesRequest `json:"namedResources,omitempty" protobuf:"bytes,1,opt,name=namedResources"`
}

ResourceRequestModel must have one and only one field set.

func (*ResourceRequestModel) DeepCopy

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

func (*ResourceRequestModel) DeepCopyInto

func (in *ResourceRequestModel) DeepCopyInto(out *ResourceRequestModel)

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

func (*ResourceRequestModel) Descriptor

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

func (*ResourceRequestModel) Marshal

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

func (*ResourceRequestModel) MarshalTo

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

func (*ResourceRequestModel) MarshalToSizedBuffer

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

func (*ResourceRequestModel) ProtoMessage

func (*ResourceRequestModel) ProtoMessage()

func (*ResourceRequestModel) Reset

func (m *ResourceRequestModel) Reset()

func (*ResourceRequestModel) Size

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

func (*ResourceRequestModel) String

func (this *ResourceRequestModel) String() string

func (ResourceRequestModel) SwaggerDoc

func (ResourceRequestModel) SwaggerDoc() map[string]string

func (*ResourceRequestModel) Unmarshal

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

func (*ResourceRequestModel) XXX_DiscardUnknown

func (m *ResourceRequestModel) XXX_DiscardUnknown()

func (*ResourceRequestModel) XXX_Marshal

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

func (*ResourceRequestModel) XXX_Merge

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

func (*ResourceRequestModel) XXX_Size

func (m *ResourceRequestModel) XXX_Size() int

func (*ResourceRequestModel) XXX_Unmarshal

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

type ResourceSlice

type ResourceSlice struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// NodeName identifies the node which provides the resources
	// if they are local to a node.
	//
	// A field selector can be used to list only ResourceSlice
	// objects with a certain node name.
	//
	// +optional
	NodeName string `json:"nodeName,omitempty" protobuf:"bytes,2,opt,name=nodeName"`

	// DriverName identifies the DRA driver providing the capacity information.
	// A field selector can be used to list only ResourceSlice
	// objects with a certain driver name.
	DriverName string `json:"driverName" protobuf:"bytes,3,name=driverName"`

	ResourceModel `json:",inline" protobuf:"bytes,4,name=resourceModel"`
}

ResourceSlice provides information about available resources on individual nodes.

func (*ResourceSlice) DeepCopy

func (in *ResourceSlice) DeepCopy() *ResourceSlice

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

func (*ResourceSlice) DeepCopyInto

func (in *ResourceSlice) DeepCopyInto(out *ResourceSlice)

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

func (*ResourceSlice) DeepCopyObject

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

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

func (*ResourceSlice) Descriptor

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

func (*ResourceSlice) Marshal

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

func (*ResourceSlice) MarshalTo

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

func (*ResourceSlice) MarshalToSizedBuffer

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

func (*ResourceSlice) ProtoMessage

func (*ResourceSlice) ProtoMessage()

func (*ResourceSlice) Reset

func (m *ResourceSlice) Reset()

func (*ResourceSlice) Size

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

func (*ResourceSlice) String

func (this *ResourceSlice) String() string

func (ResourceSlice) SwaggerDoc

func (ResourceSlice) SwaggerDoc() map[string]string

func (*ResourceSlice) Unmarshal

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

func (*ResourceSlice) XXX_DiscardUnknown

func (m *ResourceSlice) XXX_DiscardUnknown()

func (*ResourceSlice) XXX_Marshal

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

func (*ResourceSlice) XXX_Merge

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

func (*ResourceSlice) XXX_Size

func (m *ResourceSlice) XXX_Size() int

func (*ResourceSlice) XXX_Unmarshal

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

type ResourceSliceList

type ResourceSliceList 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 node resource capacity objects.
	Items []ResourceSlice `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ResourceSliceList is a collection of ResourceSlices.

func (*ResourceSliceList) DeepCopy

func (in *ResourceSliceList) DeepCopy() *ResourceSliceList

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

func (*ResourceSliceList) DeepCopyInto

func (in *ResourceSliceList) DeepCopyInto(out *ResourceSliceList)

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

func (*ResourceSliceList) DeepCopyObject

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

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

func (*ResourceSliceList) Descriptor

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

func (*ResourceSliceList) Marshal

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

func (*ResourceSliceList) MarshalTo

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

func (*ResourceSliceList) MarshalToSizedBuffer

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

func (*ResourceSliceList) ProtoMessage

func (*ResourceSliceList) ProtoMessage()

func (*ResourceSliceList) Reset

func (m *ResourceSliceList) Reset()

func (*ResourceSliceList) Size

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

func (*ResourceSliceList) String

func (this *ResourceSliceList) String() string

func (ResourceSliceList) SwaggerDoc

func (ResourceSliceList) SwaggerDoc() map[string]string

func (*ResourceSliceList) Unmarshal

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

func (*ResourceSliceList) XXX_DiscardUnknown

func (m *ResourceSliceList) XXX_DiscardUnknown()

func (*ResourceSliceList) XXX_Marshal

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

func (*ResourceSliceList) XXX_Merge

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

func (*ResourceSliceList) XXX_Size

func (m *ResourceSliceList) XXX_Size() int

func (*ResourceSliceList) XXX_Unmarshal

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

type StructuredResourceHandle

type StructuredResourceHandle struct {
	// VendorClassParameters are the per-claim configuration parameters
	// from the resource class at the time that the claim was allocated.
	//
	// +optional
	VendorClassParameters runtime.RawExtension `json:"vendorClassParameters,omitempty" protobuf:"bytes,1,opt,name=vendorClassParameters"`

	// VendorClaimParameters are the per-claim configuration parameters
	// from the resource claim parameters at the time that the claim was
	// allocated.
	//
	// +optional
	VendorClaimParameters runtime.RawExtension `json:"vendorClaimParameters,omitempty" protobuf:"bytes,2,opt,name=vendorClaimParameters"`

	// NodeName is the name of the node providing the necessary resources
	// if the resources are local to a node.
	//
	// +optional
	NodeName string `json:"nodeName,omitempty" protobuf:"bytes,4,name=nodeName"`

	// Results lists all allocated driver resources.
	//
	// +listType=atomic
	Results []DriverAllocationResult `json:"results" protobuf:"bytes,5,name=results"`
}

StructuredResourceHandle is the in-tree representation of the allocation result.

func (*StructuredResourceHandle) DeepCopy

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

func (*StructuredResourceHandle) DeepCopyInto

func (in *StructuredResourceHandle) DeepCopyInto(out *StructuredResourceHandle)

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

func (*StructuredResourceHandle) Descriptor

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

func (*StructuredResourceHandle) Marshal

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

func (*StructuredResourceHandle) MarshalTo

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

func (*StructuredResourceHandle) MarshalToSizedBuffer

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

func (*StructuredResourceHandle) ProtoMessage

func (*StructuredResourceHandle) ProtoMessage()

func (*StructuredResourceHandle) Reset

func (m *StructuredResourceHandle) Reset()

func (*StructuredResourceHandle) Size

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

func (*StructuredResourceHandle) String

func (this *StructuredResourceHandle) String() string

func (StructuredResourceHandle) SwaggerDoc

func (StructuredResourceHandle) SwaggerDoc() map[string]string

func (*StructuredResourceHandle) Unmarshal

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

func (*StructuredResourceHandle) XXX_DiscardUnknown

func (m *StructuredResourceHandle) XXX_DiscardUnknown()

func (*StructuredResourceHandle) XXX_Marshal

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

func (*StructuredResourceHandle) XXX_Merge

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

func (*StructuredResourceHandle) XXX_Size

func (m *StructuredResourceHandle) XXX_Size() int

func (*StructuredResourceHandle) XXX_Unmarshal

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

type VendorParameters

type VendorParameters struct {
	// DriverName is the name used by the DRA driver kubelet plugin.
	DriverName string `json:"driverName,omitempty" protobuf:"bytes,1,opt,name=driverName"`

	// Parameters can be arbitrary setup parameters. They are ignored while
	// allocating a claim.
	//
	// +optional
	Parameters runtime.RawExtension `json:"parameters,omitempty" protobuf:"bytes,2,opt,name=parameters"`
}

VendorParameters are opaque parameters for one particular driver.

func (*VendorParameters) DeepCopy

func (in *VendorParameters) DeepCopy() *VendorParameters

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

func (*VendorParameters) DeepCopyInto

func (in *VendorParameters) DeepCopyInto(out *VendorParameters)

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

func (*VendorParameters) Descriptor

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

func (*VendorParameters) Marshal

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

func (*VendorParameters) MarshalTo

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

func (*VendorParameters) MarshalToSizedBuffer

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

func (*VendorParameters) ProtoMessage

func (*VendorParameters) ProtoMessage()

func (*VendorParameters) Reset

func (m *VendorParameters) Reset()

func (*VendorParameters) Size

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

func (*VendorParameters) String

func (this *VendorParameters) String() string

func (VendorParameters) SwaggerDoc

func (VendorParameters) SwaggerDoc() map[string]string

func (*VendorParameters) Unmarshal

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

func (*VendorParameters) XXX_DiscardUnknown

func (m *VendorParameters) XXX_DiscardUnknown()

func (*VendorParameters) XXX_Marshal

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

func (*VendorParameters) XXX_Merge

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

func (*VendorParameters) XXX_Size

func (m *VendorParameters) XXX_Size() int

func (*VendorParameters) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL