struct

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

container_name

The name of the container requesting resources.

Source
container_name=(container_name : String | Nil)

The name of the container requesting resources.

Source
request_name

The name of the request in the special ResourceClaim which corresponds to the extended resource.

Source
request_name=(request_name : String | Nil)

The name of the request in the special ResourceClaim which corresponds to the extended resource.

Source
resource_name

The name of the extended resource in that container which gets backed by DRA.

Source
resource_name=(resource_name : String | Nil)

The name of the extended resource in that container which gets backed by DRA.

Source

Macros

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

Helper macro for defining fields with automatic camelCase conversion

Source