struct

Kubernetes::DeviceAllocationConfiguration

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

DeviceAllocationConfiguration gets embedded in an AllocationResult.

Constructors

new(pull : ::JSON::PullParser)
new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Instance methods

opaque

Opaque provides driver-specific configuration parameters.

Source
opaque=(opaque : OpaqueDeviceConfiguration | Nil)

Opaque provides driver-specific configuration parameters.

Source
requests

Requests lists the names of requests where the configuration applies. If empty, its applies to all requests. References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the configuration applies to all subrequests.

Source
requests=(requests : Array(String) | Nil)

Requests lists the names of requests where the configuration applies. If empty, its applies to all requests. References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the configuration applies to all subrequests.

Source
requests=(requests : Array(String) | Nil)

Requests lists the names of requests where the configuration applies. If empty, its applies to all requests. References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the configuration applies to all subrequests.

Source
requests=(requests : Array(String) | Nil)

Requests lists the names of requests where the configuration applies. If empty, its applies to all requests. References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the configuration applies to all subrequests.

Source
source

Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.

Source
source=(source : String | Nil)

Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source