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.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -4
  3. data/VERSION +1 -1
  4. data/docs/Cluster.md +3 -3
  5. data/docs/ClustersApi.md +6 -8
  6. data/docs/NodePool.md +2 -2
  7. data/docs/RancherClusterConfig.md +1 -1
  8. data/lib/pnap_rancher_api/api/clusters_api.rb +11 -7
  9. data/lib/pnap_rancher_api/api_client.rb +24 -21
  10. data/lib/pnap_rancher_api/api_error.rb +2 -1
  11. data/lib/pnap_rancher_api/configuration.rb +28 -9
  12. data/lib/pnap_rancher_api/models/cluster.rb +25 -24
  13. data/lib/pnap_rancher_api/models/delete_result.rb +18 -19
  14. data/lib/pnap_rancher_api/models/error.rb +16 -19
  15. data/lib/pnap_rancher_api/models/node.rb +14 -19
  16. data/lib/pnap_rancher_api/models/node_pool.rb +54 -20
  17. data/lib/pnap_rancher_api/models/rancher_cluster_certificates.rb +14 -19
  18. data/lib/pnap_rancher_api/models/rancher_cluster_config.rb +15 -20
  19. data/lib/pnap_rancher_api/models/rancher_server_metadata.rb +14 -19
  20. data/lib/pnap_rancher_api/models/ssh_config.rb +14 -19
  21. data/lib/pnap_rancher_api/models/workload_cluster_config.rb +16 -19
  22. data/lib/pnap_rancher_api/version.rb +1 -1
  23. data/lib/pnap_rancher_api.rb +1 -5
  24. data/pnap_rancher_api.gemspec +2 -2
  25. data/spec/api/clusters_api_spec.rb +7 -7
  26. data/spec/models/cluster_spec.rb +14 -12
  27. data/spec/models/delete_result_spec.rb +6 -4
  28. data/spec/models/error_spec.rb +6 -4
  29. data/spec/models/node_pool_spec.rb +9 -7
  30. data/spec/models/node_spec.rb +5 -3
  31. data/spec/models/rancher_cluster_certificates_spec.rb +7 -5
  32. data/spec/models/rancher_cluster_config_spec.rb +11 -9
  33. data/spec/models/rancher_server_metadata_spec.rb +7 -5
  34. data/spec/models/ssh_config_spec.rb +7 -5
  35. data/spec/models/workload_cluster_config_spec.rb +8 -6
  36. data/spec/spec_helper.rb +1 -1
  37. metadata +8 -28
  38. data/docs/ClusterConfiguration.md +0 -30
  39. data/docs/ClusterWorkloadConfiguration.md +0 -24
  40. data/docs/NodePoolSshConfig.md +0 -22
  41. data/docs/RancherClusterConfigCertificates.md +0 -22
  42. data/lib/pnap_rancher_api/models/cluster_configuration.rb +0 -290
  43. data/lib/pnap_rancher_api/models/cluster_workload_configuration.rb +0 -271
  44. data/lib/pnap_rancher_api/models/node_pool_ssh_config.rb +0 -253
  45. data/lib/pnap_rancher_api/models/rancher_cluster_config_certificates.rb +0 -247
  46. data/spec/api_client_spec.rb +0 -226
  47. data/spec/configuration_spec.rb +0 -42
  48. data/spec/models/cluster_configuration_spec.rb +0 -70
  49. data/spec/models/cluster_workload_configuration_spec.rb +0 -52
  50. data/spec/models/node_pool_ssh_config_spec.rb +0 -46
  51. 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