Skip to content

resource.v1alpha3.allocationResult

"AllocationResult contains attributes of an allocated resource."

Index

Fields

obj devices

"DeviceAllocationResult is the result of allocating devices."

fn devices.withConfig

withConfig(config)

"This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag.\n\nThis includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters."

fn devices.withConfigMixin

withConfigMixin(config)

"This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag.\n\nThis includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters."

Note: This function appends passed data to existing values

fn devices.withResults

withResults(results)

"Results lists all allocated devices."

fn devices.withResultsMixin

withResultsMixin(results)

"Results lists all allocated devices."

Note: This function appends passed data to existing values

obj nodeSelector

"A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms."

fn nodeSelector.withNodeSelectorTerms

withNodeSelectorTerms(nodeSelectorTerms)

"Required. A list of node selector terms. The terms are ORed."

fn nodeSelector.withNodeSelectorTermsMixin

withNodeSelectorTermsMixin(nodeSelectorTerms)

"Required. A list of node selector terms. The terms are ORed."

Note: This function appends passed data to existing values