pnap_rancher_api 1.0.0 → 1.0.1
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/VERSION +1 -1
- data/docs/ClustersApi.md +1 -1
- data/docs/DeleteResult.md +1 -1
- data/lib/pnap_rancher_api/api/clusters_api.rb +2 -2
- data/lib/pnap_rancher_api/models/delete_result.rb +5 -0
- data/pnap_rancher_api.gemspec +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33c39184b45f3b00cb80f238f3062f2fad028924c97ccd6db253ea0ebf86765e
|
4
|
+
data.tar.gz: 475ccb89896670885812334d7cf42a33d8bce60c8422cece8e455bf64aeab946
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6a0299d21415ebf224b59d7899d41e4b8db704b166c7f4998c369af090d4f7f9de0f6abf539e999d39fc6b9a776b1a4383793b6d7873a33ab23177f731b6f94
|
7
|
+
data.tar.gz: 71bbec0456a90ba8c3413e05ca495e5ac7d1b0baea75730ce24c8c1951d6c0025551d6a121c0871d6b73b7ef11ebb074cbeeeb48a643486ed43c551a242896e6
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
data/docs/ClustersApi.md
CHANGED
@@ -220,7 +220,7 @@ end
|
|
220
220
|
|
221
221
|
Create a Rancher Server Deployment.
|
222
222
|
|
223
|
-
Create a Rancher Server Deployment as described in <a href='https://rancher.com/docs/rancher/v2.5/en/overview/architecture/#rancher-server-architecture' target='_blank'>Rancher Docs Architecture</a>. Rancher Server allows the creation, import and management of multiple Downstream User Kubernetes Clusters. <b>This is not a Downstream User Cluster</b>.
|
223
|
+
Create a Rancher Server Deployment as described in <a href='https://rancher.com/docs/rancher/v2.5/en/overview/architecture/#rancher-server-architecture' target='_blank'>Rancher Docs Architecture</a>. Rancher Server allows the creation, import and management of multiple Downstream User Kubernetes Clusters. <b>This is not a Downstream User Cluster</b>. Knowledge base article to help you can be found <a href='https://phoenixnap.com/kb/bmc-rancher-workload-cluster#ftoc-heading-5' target='_blank'>here</a>.
|
224
224
|
|
225
225
|
### Examples
|
226
226
|
|
data/docs/DeleteResult.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **result** | **String** | Solution cluster has been deleted. | |
|
8
|
-
| **cluster_id** | **String** | The unique identifier of the solution cluster. |
|
8
|
+
| **cluster_id** | **String** | The unique identifier of the solution cluster. | |
|
9
9
|
|
10
10
|
## Example
|
11
11
|
|
@@ -203,7 +203,7 @@ module RancherApi
|
|
203
203
|
end
|
204
204
|
|
205
205
|
# Create a Rancher Server Deployment.
|
206
|
-
# Create a Rancher Server Deployment as described in <a href='https://rancher.com/docs/rancher/v2.5/en/overview/architecture/#rancher-server-architecture' target='_blank'>Rancher Docs Architecture</a>. Rancher Server allows the creation, import and management of multiple Downstream User Kubernetes Clusters. <b>This is not a Downstream User Cluster</b>.
|
206
|
+
# Create a Rancher Server Deployment as described in <a href='https://rancher.com/docs/rancher/v2.5/en/overview/architecture/#rancher-server-architecture' target='_blank'>Rancher Docs Architecture</a>. Rancher Server allows the creation, import and management of multiple Downstream User Kubernetes Clusters. <b>This is not a Downstream User Cluster</b>. Knowledge base article to help you can be found <a href='https://phoenixnap.com/kb/bmc-rancher-workload-cluster#ftoc-heading-5' target='_blank'>here</a>.
|
207
207
|
# @param [Hash] opts the optional parameters
|
208
208
|
# @option opts [Cluster] :cluster
|
209
209
|
# @return [Cluster]
|
@@ -213,7 +213,7 @@ module RancherApi
|
|
213
213
|
end
|
214
214
|
|
215
215
|
# Create a Rancher Server Deployment.
|
216
|
-
# Create a Rancher Server Deployment as described in <a href='https://rancher.com/docs/rancher/v2.5/en/overview/architecture/#rancher-server-architecture' target='_blank'>Rancher Docs Architecture</a>. Rancher Server allows the creation, import and management of multiple Downstream User Kubernetes Clusters. <b>This is not a Downstream User Cluster</b>.
|
216
|
+
# Create a Rancher Server Deployment as described in <a href='https://rancher.com/docs/rancher/v2.5/en/overview/architecture/#rancher-server-architecture' target='_blank'>Rancher Docs Architecture</a>. Rancher Server allows the creation, import and management of multiple Downstream User Kubernetes Clusters. <b>This is not a Downstream User Cluster</b>. Knowledge base article to help you can be found <a href='https://phoenixnap.com/kb/bmc-rancher-workload-cluster#ftoc-heading-5' target='_blank'>here</a>.
|
217
217
|
# @param [Hash] opts the optional parameters
|
218
218
|
# @option opts [Cluster] :cluster
|
219
219
|
# @return [Array<(Cluster, Integer, Hash)>] Cluster data, response status code and response headers
|
@@ -81,6 +81,10 @@ module RancherApi
|
|
81
81
|
invalid_properties.push('invalid value for "result", result cannot be nil.')
|
82
82
|
end
|
83
83
|
|
84
|
+
if @cluster_id.nil?
|
85
|
+
invalid_properties.push('invalid value for "cluster_id", cluster_id cannot be nil.')
|
86
|
+
end
|
87
|
+
|
84
88
|
invalid_properties
|
85
89
|
end
|
86
90
|
|
@@ -88,6 +92,7 @@ module RancherApi
|
|
88
92
|
# @return true if the model is valid
|
89
93
|
def valid?
|
90
94
|
return false if @result.nil?
|
95
|
+
return false if @cluster_id.nil?
|
91
96
|
true
|
92
97
|
end
|
93
98
|
|
data/pnap_rancher_api.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |s|
|
|
26
26
|
s.description = "Rancher Solution API Ruby Gem"
|
27
27
|
s.license = "MPL-2.0"
|
28
28
|
s.required_ruby_version = ">= 2.4"
|
29
|
-
s.metadata = { "source_code_uri" => "https://github.com/phoenixnap/ruby-sdk-bmc
|
29
|
+
s.metadata = { "source_code_uri" => "https://github.com/phoenixnap/ruby-sdk-bmc" }
|
30
30
|
|
31
31
|
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
32
32
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pnap_rancher_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PhoenixNAP
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -107,7 +107,7 @@ homepage: https://phoenixnap.com/bare-metal-cloud
|
|
107
107
|
licenses:
|
108
108
|
- MPL-2.0
|
109
109
|
metadata:
|
110
|
-
source_code_uri: https://github.com/phoenixnap/ruby-sdk-bmc
|
110
|
+
source_code_uri: https://github.com/phoenixnap/ruby-sdk-bmc
|
111
111
|
post_install_message:
|
112
112
|
rdoc_options: []
|
113
113
|
require_paths:
|
@@ -131,14 +131,14 @@ test_files:
|
|
131
131
|
- spec/api/clusters_api_spec.rb
|
132
132
|
- spec/api_client_spec.rb
|
133
133
|
- spec/configuration_spec.rb
|
134
|
-
- spec/models/
|
135
|
-
- spec/models/
|
134
|
+
- spec/models/node_spec.rb
|
135
|
+
- spec/models/rancher_cluster_config_spec.rb
|
136
|
+
- spec/models/cluster_spec.rb
|
137
|
+
- spec/models/rancher_server_metadata_spec.rb
|
136
138
|
- spec/models/error_spec.rb
|
137
139
|
- spec/models/delete_result_spec.rb
|
138
|
-
- spec/models/rancher_server_metadata_spec.rb
|
139
|
-
- spec/models/cluster_spec.rb
|
140
|
-
- spec/models/node_spec.rb
|
141
|
-
- spec/models/node_pool_spec.rb
|
142
140
|
- spec/models/rancher_cluster_certificates_spec.rb
|
143
|
-
- spec/models/
|
141
|
+
- spec/models/workload_cluster_config_spec.rb
|
142
|
+
- spec/models/node_pool_spec.rb
|
143
|
+
- spec/models/ssh_config_spec.rb
|
144
144
|
- spec/spec_helper.rb
|