struct

Kubernetes::ResourceClaimConsumerReference

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

ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.

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. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.

Source
api_group=(api_group : String | Nil)

APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.

Source
name

Name is the name of resource being referenced.

Source
name=(name : String | Nil)

Name is the name of resource being referenced.

Source
resource

Resource is the type of resource being referenced, for example "pods".

Source
resource=(resource : String | Nil)

Resource is the type of resource being referenced, for example "pods".

Source
uid

UID identifies exactly one incarnation of the resource.

Source
uid=(uid : String | Nil)

UID identifies exactly one incarnation of the resource.

Source

Macros

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

Helper macro for defining fields with automatic camelCase conversion

Source