Kubernetes::Auth
Inherits JSON::Serializable < Reference < Object
Authentication credentials for Kubernetes API
Constructors
from_user(user : Config::UserEntry::User, log : Log = Log.for("k8s.auth"), cache : CredentialCache | Nil = nil) : Auth
ameba:disable Metrics/CyclomaticComplexity
new(pull : ::JSON::PullParser)
Sourcenew(token : String | Nil = nil, username : String | Nil = nil, password : String | Nil = nil, client_cert_file : String | Nil = nil, client_key_file : String | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : ::JSON::PullParser)
SourceInstance methods
apply_headers(headers : HTTP::Headers)
Sourceclient_cert_file
Sourceclient_key_file
Sourcepassword
Sourcetoken
Sourceusername
Source