struct

Kubernetes::RoleRef

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

RoleRef contains information that points to the role being used

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_group

APIGroup is the group for the resource being referenced

Source
api_group=(api_group : String | Nil)

APIGroup is the group for the resource being referenced

Source
kind

Kind is the type of resource being referenced

Source
kind=(kind : String | Nil)

Kind is the type of resource being referenced

Source
name

Name is the name of resource being referenced

Source
name=(name : String | Nil)

Name is the name of resource being referenced

Source

Macros

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

Helper macro for defining fields with automatic camelCase conversion

Source