module Kube::Transport::ClassMethods
Included Modules
- Spoved::SystemCmd
Defined in:
kube/transport.crInstance Method Summary
-
#config(conf : Kube::Config, server : String | Nil = nil, **overrides) : Kube::Transport
ameba:disable Metrics/CyclomaticComplexity
-
#in_cluster_config(**options) : Kube::Transport
In-cluster config within a kube pod, using the kubernetes service envs and serviceaccount secrets raises [Kube::Error::MissingEnv] if the required env vars are not set
- #token_from_auth_provider(auth_provider : Kube::Config::UserDef::AuthProvider) : String
-
#token_from_exec(conf : Kube::Config::UserDef::Exec) : String
raises [Kube::Error::ExecutionError] if the request fails
Instance Method Detail
ameba:disable Metrics/CyclomaticComplexity
def in_cluster_config(**options) : Kube::Transport
#
In-cluster config within a kube pod, using the kubernetes service envs and serviceaccount secrets raises [Kube::Error::MissingEnv] if the required env vars are not set
def token_from_auth_provider(auth_provider : Kube::Config::UserDef::AuthProvider) : String
#
def token_from_exec(conf : Kube::Config::UserDef::Exec) : String
#
raises [Kube::Error::ExecutionError] if the request fails