struct

Kubernetes::ServiceAccountSubject

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

ServiceAccountSubject holds detailed information for service-account-kind subject.

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

name

name is the name of matching ServiceAccount objects, or "*" to match regardless of name. Required.

Source
name=(name : String | Nil)

name is the name of matching ServiceAccount objects, or "*" to match regardless of name. Required.

Source
namespace

namespace is the namespace of matching ServiceAccount objects. Required.

Source
namespace=(namespace : String | Nil)

namespace is the namespace of matching ServiceAccount objects. Required.

Source

Macros

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

Helper macro for defining fields with automatic camelCase conversion

Source