pnap_rancher_api 1.0.6 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -4
- data/VERSION +1 -1
- data/docs/Cluster.md +3 -3
- data/docs/ClustersApi.md +6 -8
- data/docs/NodePool.md +2 -2
- data/docs/RancherClusterConfig.md +1 -1
- data/lib/pnap_rancher_api/api/clusters_api.rb +11 -7
- data/lib/pnap_rancher_api/api_client.rb +24 -21
- data/lib/pnap_rancher_api/api_error.rb +2 -1
- data/lib/pnap_rancher_api/configuration.rb +28 -9
- data/lib/pnap_rancher_api/models/cluster.rb +25 -24
- data/lib/pnap_rancher_api/models/delete_result.rb +18 -19
- data/lib/pnap_rancher_api/models/error.rb +16 -19
- data/lib/pnap_rancher_api/models/node.rb +14 -19
- data/lib/pnap_rancher_api/models/node_pool.rb +54 -20
- data/lib/pnap_rancher_api/models/rancher_cluster_certificates.rb +14 -19
- data/lib/pnap_rancher_api/models/rancher_cluster_config.rb +15 -20
- data/lib/pnap_rancher_api/models/rancher_server_metadata.rb +14 -19
- data/lib/pnap_rancher_api/models/ssh_config.rb +14 -19
- data/lib/pnap_rancher_api/models/workload_cluster_config.rb +16 -19
- data/lib/pnap_rancher_api/version.rb +1 -1
- data/lib/pnap_rancher_api.rb +1 -5
- data/pnap_rancher_api.gemspec +2 -2
- data/spec/api/clusters_api_spec.rb +7 -7
- data/spec/models/cluster_spec.rb +14 -12
- data/spec/models/delete_result_spec.rb +6 -4
- data/spec/models/error_spec.rb +6 -4
- data/spec/models/node_pool_spec.rb +9 -7
- data/spec/models/node_spec.rb +5 -3
- data/spec/models/rancher_cluster_certificates_spec.rb +7 -5
- data/spec/models/rancher_cluster_config_spec.rb +11 -9
- data/spec/models/rancher_server_metadata_spec.rb +7 -5
- data/spec/models/ssh_config_spec.rb +7 -5
- data/spec/models/workload_cluster_config_spec.rb +8 -6
- data/spec/spec_helper.rb +1 -1
- metadata +8 -28
- data/docs/ClusterConfiguration.md +0 -30
- data/docs/ClusterWorkloadConfiguration.md +0 -24
- data/docs/NodePoolSshConfig.md +0 -22
- data/docs/RancherClusterConfigCertificates.md +0 -22
- data/lib/pnap_rancher_api/models/cluster_configuration.rb +0 -290
- data/lib/pnap_rancher_api/models/cluster_workload_configuration.rb +0 -271
- data/lib/pnap_rancher_api/models/node_pool_ssh_config.rb +0 -253
- data/lib/pnap_rancher_api/models/rancher_cluster_config_certificates.rb +0 -247
- data/spec/api_client_spec.rb +0 -226
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/cluster_configuration_spec.rb +0 -70
- data/spec/models/cluster_workload_configuration_spec.rb +0 -52
- data/spec/models/node_pool_ssh_config_spec.rb +0 -46
- data/spec/models/rancher_cluster_config_certificates_spec.rb +0 -46
@@ -1,46 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Rancher Solution API
|
3
|
-
|
4
|
-
#Simplify enterprise-grade Kubernetes cluster operations and management with Rancher on Bare Metal Cloud. Deploy Kubernetes clusters using a few API calls.<br> <br> <span class='pnap-api-knowledge-base-link'> Knowledge base articles to help you can be found <a href='https://phoenixnap.com/kb/rancher-bmc-integration-kubernetes' target='_blank'>here</a> </span><br> <br> <b>All URLs are relative to (https://api.phoenixnap.com/solutions/rancher/v1beta)</b>
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 0.1
|
7
|
-
Contact: support@phoenixnap.com
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.1.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for RancherApi::RancherClusterConfigCertificates
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe RancherApi::RancherClusterConfigCertificates do
|
21
|
-
let(:instance) { RancherApi::RancherClusterConfigCertificates.new }
|
22
|
-
|
23
|
-
describe 'test an instance of RancherClusterConfigCertificates' do
|
24
|
-
it 'should create an instance of RancherClusterConfigCertificates' do
|
25
|
-
expect(instance).to be_instance_of(RancherApi::RancherClusterConfigCertificates)
|
26
|
-
end
|
27
|
-
end
|
28
|
-
describe 'test attribute "ca_certificate"' do
|
29
|
-
it 'should work' do
|
30
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
-
end
|
32
|
-
end
|
33
|
-
|
34
|
-
describe 'test attribute "certificate"' do
|
35
|
-
it 'should work' do
|
36
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
-
end
|
38
|
-
end
|
39
|
-
|
40
|
-
describe 'test attribute "certificate_key"' do
|
41
|
-
it 'should work' do
|
42
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
end
|