struct

Kubernetes::ParamKind

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

ParamKind is a tuple of Group Kind and Version.

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

apiVersion is the API group version the resources belong to. In format of "group/version". Required.

Source
api_version=(api_version : String | Nil)

apiVersion is the API group version the resources belong to. In format of "group/version". Required.

Source
kind

kind is the API kind the resources belong to. Required.

Source
kind=(kind : String | Nil)

kind is the API kind the resources belong to. Required.

Source

Macros

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

Helper macro for defining fields with automatic camelCase conversion

Source