NamedResourcesAttribute

data class NamedResourcesAttribute(val bool: Boolean? = null, val int: Int? = null, val intSlice: NamedResourcesIntSlice? = null, val name: String, val quantity: String? = null, val string: String? = null, val stringSlice: NamedResourcesStringSlice? = null, val version: String? = null)

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

Constructors

Link copied to clipboard
constructor(bool: Boolean? = null, int: Int? = null, intSlice: NamedResourcesIntSlice? = null, name: String, quantity: String? = null, string: String? = null, stringSlice: NamedResourcesStringSlice? = null, version: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val bool: Boolean? = null

BoolValue is a true/false value.

Link copied to clipboard
val int: Int? = null

IntValue is a 64-bit integer.

Link copied to clipboard

IntSliceValue is an array of 64-bit integers.

Link copied to clipboard

Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain.

Link copied to clipboard
val quantity: String? = null

QuantityValue is a quantity.

Link copied to clipboard
val string: String? = null

StringValue is a string.

Link copied to clipboard

StringSliceValue is an array of strings.

Link copied to clipboard
val version: String? = null

VersionValue is a semantic version according to semver.org spec 2.0.0.