struct

Kubernetes::UserInfo

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

UserInfo holds the information about the user needed to implement the user.Info interface.

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

extra

extra is any additional information provided by the authenticator.

Source
extra=(extra : Hash(String, Array(String)) | Nil)

extra is any additional information provided by the authenticator.

Source
groups

groups is the names of groups this user is a part of.

Source
groups=(groups : Array(String) | Nil)

groups is the names of groups this user is a part of.

Source
uid

uid is a unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.

Source
uid=(uid : String | Nil)

uid is a unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.

Source
username

username is the name that uniquely identifies this user among all active users.

Source
username=(username : String | Nil)

username is the name that uniquely identifies this user among all active users.

Source

Macros

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

Helper macro for defining fields with automatic camelCase conversion

Source