Skip to main content
Schemaobject

io.k8s.api.resource.v1beta2.DeviceAttribute

DeviceAttribute must have exactly one field set.

Source
specs/apis__resource.k8s.io__v1beta2_openapi.json
Revision
9a79c3bd90f7
Active snapshot
2a9112600697
bool boolean
optional

BoolValue is a true/false value.

bools array
optional

BoolValues is a non-empty list of true/false values.

int integer (int64)
optional

IntValue is a number.

ints array
optional

IntValues is a non-empty list of numbers. This is an alpha field and requires enabling the DRAListTypeAttributes feature gate.

string string
optional

StringValue is a string. Must not be longer than 64 characters.

strings array
optional

StringValues is a non-empty list of strings. Each string must not be longer than 64 characters. This is an alpha field and requires enabling the DRAListTypeAttributes feature gate.

version string
optional

VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.

versions array
optional

VersionValues is a non-empty list of semantic versions according to semver.org spec 2.0.0. Each version string must not be longer than 64 characters. This is an alpha field and requires enabling the DRAListTypeAttributes feature gate.