struct
Kubernetes::DeviceAllocationConfiguration
- Kubernetes::DeviceAllocationConfiguration
- Struct
- Value
- Object
Overview
DeviceAllocationConfiguration gets embedded in an AllocationResult.
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_resource_v1.crgenerated/models/io_k8s_api_resource_v1beta1.cr
generated/models/io_k8s_api_resource_v1beta2.cr
Constructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .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)
Macro Summary
-
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion
Instance Method Summary
-
#opaque : OpaqueDeviceConfiguration | Nil
Opaque provides driver-specific configuration parameters.
-
#opaque=(opaque : OpaqueDeviceConfiguration | Nil)
Opaque provides driver-specific configuration parameters.
-
#requests : Array(String) | Nil
Requests lists the names of requests where the configuration applies.
-
#requests=(requests : Array(String) | Nil)
Requests lists the names of requests where the configuration applies.
-
#requests=(requests : Array(String) | Nil)
Requests lists the names of requests where the configuration applies.
-
#requests=(requests : Array(String) | Nil)
Requests lists the names of requests where the configuration applies.
-
#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=(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.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
Opaque provides driver-specific configuration parameters.
Opaque provides driver-specific configuration parameters.
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
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
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
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
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 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.