struct

Kubernetes::ObjectFieldSelector

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

ObjectFieldSelector selects an APIVersioned field of an object.

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

api_version

Version of the schema the FieldPath is written in terms of, defaults to "v1".

Source
api_version=(api_version : String | Nil)

Version of the schema the FieldPath is written in terms of, defaults to "v1".

Source
field_path

Path of the field to select in the specified API version.

Source
field_path=(field_path : String | Nil)

Path of the field to select in the specified API version.

Source

Macros

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

Helper macro for defining fields with automatic camelCase conversion

Source