Module: RancherApi

Defined in:
lib/pnap_rancher_api/api_error.rb,
lib/pnap_rancher_api.rb,
lib/pnap_rancher_api/version.rb,
lib/pnap_rancher_api/api_client.rb,
lib/pnap_rancher_api/models/node.rb,
lib/pnap_rancher_api/models/error.rb,
lib/pnap_rancher_api/configuration.rb,
lib/pnap_rancher_api/models/cluster.rb,
lib/pnap_rancher_api/api/clusters_api.rb,
lib/pnap_rancher_api/models/node_pool.rb,
lib/pnap_rancher_api/models/ssh_config.rb,
lib/pnap_rancher_api/models/delete_result.rb,
lib/pnap_rancher_api/models/rancher_cluster_config.rb,
lib/pnap_rancher_api/models/rancher_server_metadata.rb,
lib/pnap_rancher_api/models/workload_cluster_config.rb,
lib/pnap_rancher_api/models/rancher_cluster_certificates.rb

Overview

#Rancher Solution API

#Simplify enterprise-grade Kubernetes cluster operations and management with Rancher on Bare Metal Cloud. Deploy Kubernetes clusters using a few API calls.

<span class=‘pnap-api-knowledge-base-link’> Knowledge base articles to help you can be found <a href=‘phoenixnap.com/kb/rancher-bmc-integration-kubernetes’ target=‘_blank’>here</a> </span>

All URLs are relative to (https://api.phoenixnap.com/solutions/rancher/v1beta)

The version of the OpenAPI document: 0.1 Contact: [email protected] Generated by: openapi-generator.tech OpenAPI Generator version: 7.2.0

Defined Under Namespace

Classes: ApiClient, ApiError, Cluster, ClustersApi, Configuration, DeleteResult, Error, Node, NodePool, RancherClusterCertificates, RancherClusterConfig, RancherServerMetadata, SshConfig, WorkloadClusterConfig

Constant Summary collapse

VERSION =
get_version()

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

RancherApi.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



42
43
44
45
46
47
48
# File 'lib/pnap_rancher_api.rb', line 42

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end