Class: Kubeclient::Client
- Inherits:
-
Object
- Object
- Kubeclient::Client
- Includes:
- ClientMixin
- Defined in:
- lib/kubeclient.rb
Overview
Kubernetes Client
Constant Summary
Constants included from ClientMixin
Kubeclient::ClientMixin::DEFAULT_AUTH_OPTIONS, Kubeclient::ClientMixin::DEFAULT_HTTP_MAX_REDIRECTS, Kubeclient::ClientMixin::DEFAULT_HTTP_PROXY_URI, Kubeclient::ClientMixin::DEFAULT_SOCKET_OPTIONS, Kubeclient::ClientMixin::DEFAULT_SSL_OPTIONS, Kubeclient::ClientMixin::DEFAULT_TIMEOUTS, Kubeclient::ClientMixin::ENTITY_METHODS, Kubeclient::ClientMixin::SEARCH_ARGUMENTS, Kubeclient::ClientMixin::WATCH_ARGUMENTS
Instance Attribute Summary
Attributes included from ClientMixin
#api_endpoint, #auth_options, #discovered, #headers, #http_max_redirects, #http_proxy_uri, #ssl_options
Instance Method Summary collapse
-
#initialize(uri, version = 'v1', **options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientMixin
#all_entities, #api, #api_valid?, #apply_entity, #build_namespace_prefix, #create_entity, #create_rest_client, #define_entity_methods, #delete_entity, #discover, #discovery_needed?, #get_entities, #get_entity, #get_headers, #get_pod_log, #handle_exception, #handle_uri, #initialize_client, #method_missing, parse_definition, #patch_entity, #process_template, #proxy_url, resolve_unconventional_method_names, #respond_to_missing?, #rest_client, underscore_entity, #update_entity, #watch_entities, #watch_pod_log
Constructor Details
#initialize(uri, version = 'v1', **options) ⇒ Client
Returns a new instance of Client.
22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/kubeclient.rb', line 22 def initialize( uri, version = 'v1', ** ) initialize_client( uri, '/api', version, ** ) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Kubeclient::ClientMixin