Class: Kubeclient::Config::Context

Inherits:
Object
  • Object
show all
Defined in:
lib/kubeclient/config.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

Method: Kubeclient::Config::Context#initialize

Defined in:
lib/kubeclient/config.rb

- (Context) initialize(api_endpoint, api_version, ssl_options)

Returns a new instance of Context



12
13
14
15
16
# File 'lib/kubeclient/config.rb', line 12

def initialize(api_endpoint, api_version, ssl_options)
  @api_endpoint = api_endpoint
  @api_version = api_version
  @ssl_options = ssl_options
end

Instance Attribute Details

Method: Kubeclient::Config::Context#api_endpoint

Defined in:
lib/kubeclient/config.rb

- (Object) api_endpoint (readonly)

Returns the value of attribute api_endpoint



10
11
12
# File 'lib/kubeclient/config.rb', line 10

def api_endpoint
  @api_endpoint
end

Method: Kubeclient::Config::Context#api_version

Defined in:
lib/kubeclient/config.rb

- (Object) api_version (readonly)

Returns the value of attribute api_version



10
11
12
# File 'lib/kubeclient/config.rb', line 10

def api_version
  @api_version
end

Method: Kubeclient::Config::Context#ssl_options

Defined in:
lib/kubeclient/config.rb

- (Object) ssl_options (readonly)

Returns the value of attribute ssl_options



10
11
12
# File 'lib/kubeclient/config.rb', line 10

def ssl_options
  @ssl_options
end