Class: Kubeclient::Config::Context
- Inherits:
-
Object
- Object
- Kubeclient::Config::Context
- Defined in:
- lib/kubeclient/config.rb
Overview
Kubernetes client configuration context class
Instance Attribute Summary collapse
-
#api_endpoint ⇒ Object
readonly
Returns the value of attribute api_endpoint.
-
#api_version ⇒ Object
readonly
Returns the value of attribute api_version.
-
#auth_options ⇒ Object
readonly
Returns the value of attribute auth_options.
-
#namespace ⇒ Object
readonly
Returns the value of attribute namespace.
-
#ssl_options ⇒ Object
readonly
Returns the value of attribute ssl_options.
Instance Method Summary collapse
-
#initialize(api_endpoint, api_version, ssl_options, auth_options, namespace) ⇒ Context
constructor
A new instance of Context.
Constructor Details
#initialize(api_endpoint, api_version, ssl_options, auth_options, namespace) ⇒ Context
Returns a new instance of Context.
12 13 14 15 16 17 18 |
# File 'lib/kubeclient/config.rb', line 12 def initialize(api_endpoint, api_version, , , namespace) @api_endpoint = api_endpoint @api_version = api_version @ssl_options = @auth_options = @namespace = namespace end |
Instance Attribute Details
#api_endpoint ⇒ Object (readonly)
Returns the value of attribute api_endpoint.
10 11 12 |
# File 'lib/kubeclient/config.rb', line 10 def api_endpoint @api_endpoint end |
#api_version ⇒ Object (readonly)
Returns the value of attribute api_version.
10 11 12 |
# File 'lib/kubeclient/config.rb', line 10 def api_version @api_version end |
#auth_options ⇒ Object (readonly)
Returns the value of attribute auth_options.
10 11 12 |
# File 'lib/kubeclient/config.rb', line 10 def @auth_options end |
#namespace ⇒ Object (readonly)
Returns the value of attribute namespace.
10 11 12 |
# File 'lib/kubeclient/config.rb', line 10 def namespace @namespace end |
#ssl_options ⇒ Object (readonly)
Returns the value of attribute ssl_options.
10 11 12 |
# File 'lib/kubeclient/config.rb', line 10 def @ssl_options end |