struct

Kubernetes::ShardInfo

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

ShardInfo describes the shard selector that was applied to produce a list response. Its presence on a list response indicates the list is a filtered subset.

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

selector

selector is the shard selector string from the request, echoed back so clients can verify which shard they received and merge responses from multiple shards.

Source
selector=(selector : String | Nil)

selector is the shard selector string from the request, echoed back so clients can verify which shard they received and merge responses from multiple shards.

Source

Macros

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

Helper macro for defining fields with automatic camelCase conversion

Source