struct

Kubernetes::BoundObjectReference

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

BoundObjectReference is a reference to an object that a token is bound to.

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 API version of the referent.

Source
api_version=(api_version : String | Nil)

apiVersion is API version of the referent.

Source
kind

kind of the referent. Valid kinds are 'Pod' and 'Secret'.

Source
kind=(kind : String | Nil)

kind of the referent. Valid kinds are 'Pod' and 'Secret'.

Source
name

name of the referent.

Source
name=(name : String | Nil)

name of the referent.

Source
uid

uid of the referent.

Source
uid=(uid : String | Nil)

uid of the referent.

Source

Macros

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

Helper macro for defining fields with automatic camelCase conversion

Source