struct

Kubernetes::ParentReference

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

ParentReference describes a reference to a parent 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

group

Group is the group of the object being referenced.

Source
group=(group : String | Nil)

Group is the group of the object being referenced.

Source
name

Name is the name of the object being referenced.

Source
name=(name : String | Nil)

Name is the name of the object being referenced.

Source
namespace

Namespace is the namespace of the object being referenced.

Source
namespace=(namespace : String | Nil)

Namespace is the namespace of the object being referenced.

Source
resource

Resource is the resource of the object being referenced.

Source
resource=(resource : String | Nil)

Resource is the resource of the object being referenced.

Source

Macros

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

Helper macro for defining fields with automatic camelCase conversion

Source