civo 1.2.6 → 1.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/civo/kubernetes.rb +6 -6
- data/lib/civo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e634ada4c3e86b8df2c952af6432f1b63e582e81f61bab965f1df07c08fb234
|
4
|
+
data.tar.gz: d07d08b374a0ca6203c150c6ecc2650e85cd2b4c8300fd304db8fef74ad7dae0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd94d665664af6ad7104cf27bc654d721f3b2e5af37950a6dddc7b953dbb76a7d42fbd124848bc8916606c0e44e82b3be29a5094dc691247ae3317f2a4c49ab1
|
7
|
+
data.tar.gz: f8cd61724891a7f4217562dda4979c58905b9b6bd5b3cc3c37de0e95f8bb2394e2278c413edf1f87a66a07debf7217199205441116cda6b4673663c7cb449ff0
|
@@ -1,11 +1,11 @@
|
|
1
1
|
module Civo
|
2
2
|
class Kubernetes < Base
|
3
|
-
get :all, "/v#{ENV["CIVO_API_VERSION"] || "2"}/
|
4
|
-
get :find, "/v#{ENV["CIVO_API_VERSION"] || "2"}/
|
5
|
-
post :create, "/v#{ENV["CIVO_API_VERSION"] || "2"}/
|
6
|
-
post :recycle, "/v#{ENV["CIVO_API_VERSION"] || "2"}/
|
7
|
-
put :update, "/
|
8
|
-
delete :remove, "/v#{ENV["CIVO_API_VERSION"] || "2"}/
|
3
|
+
get :all, "/v#{ENV["CIVO_API_VERSION"] || "2"}/kubernetes/clusters"
|
4
|
+
get :find, "/v#{ENV["CIVO_API_VERSION"] || "2"}/kubernetes/clusters/:id", requires: [:id]
|
5
|
+
post :create, "/v#{ENV["CIVO_API_VERSION"] || "2"}/kubernetes/clusters", requires: [:name]
|
6
|
+
post :recycle, "/v#{ENV["CIVO_API_VERSION"] || "2"}/kubernetes/clusters/:id/recycle", requires: [:id, :hostname]
|
7
|
+
put :update, "/v#{ENV["CIVO_API_VERSION"] || "2"}/kubernetes/clusters/:id"
|
8
|
+
delete :remove, "/v#{ENV["CIVO_API_VERSION"] || "2"}/kubernetes/clusters/:id", requires: [:id], send_delete_body: true
|
9
9
|
|
10
10
|
def to_partial_path
|
11
11
|
"civo/kubernetes"
|
data/lib/civo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: civo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Jeffries
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flexirest
|