Skip to content

resource.v1alpha3.resourceClaimSpec

"ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it."

Index

Fields

obj devices

"DeviceClaim defines how to request devices with a ResourceClaim."

fn devices.withConfig

withConfig(config)

"This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim."

fn devices.withConfigMixin

withConfigMixin(config)

"This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim."

Note: This function appends passed data to existing values

fn devices.withConstraints

withConstraints(constraints)

"These constraints must be satisfied by the set of devices that get allocated for the claim."

fn devices.withConstraintsMixin

withConstraintsMixin(constraints)

"These constraints must be satisfied by the set of devices that get allocated for the claim."

Note: This function appends passed data to existing values

fn devices.withRequests

withRequests(requests)

"Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated."

fn devices.withRequestsMixin

withRequestsMixin(requests)

"Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated."

Note: This function appends passed data to existing values