Kubernetes::ContainerExtendedResourceRequest
Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object
ContainerExtendedResourceRequest has the mapping of container name, extended resource name to the device request name.
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
The name of the container requesting resources.
request_name
The name of the request in the special ResourceClaim which corresponds to the extended resource.
The name of the request in the special ResourceClaim which corresponds to the extended resource.
Macros
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion