civo 1.5.22 → 1.5.24

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6fde2c135ecbca5d89f3e68811ce03c7c08f0661a625062f6a1f7f5396adda41
4
- data.tar.gz: 56b55931d4d7455ac144dbc400d5ef27d950765787e2b3368331da5e6b90b133
3
+ metadata.gz: c49d0c775ed4986524af257bba9180c644f73c928f5c45abcf45e1cce14d3b4a
4
+ data.tar.gz: 973310c4e8624838ea4b15b9707b0ad06a59ce51320d4a91216ddd0a854449da
5
5
  SHA512:
6
- metadata.gz: 610cc2f4aee86e6a0a7091d1c53b6a46c44e2a6d5a156aed0039d071becab5bae23e1d975c91968edffa1a13af50bb102072403996fbfd6ec73b312baf6a5ae4
7
- data.tar.gz: 333285f3c35d3d2596a8aaf4d964a18aba6382584d2cf0cf51f2f3b86b7fb43640fc183eea8be758ce7f3c1dea047c561aee7a93e21fbbc6e9bd9c62ffd2e38d
6
+ metadata.gz: de451e2702fa335722b13bd03e174adebfcaa40436a18c30c7011247b4932c1a4a738c282de86122c634a1c4fbf5ab3a245652aa38ae3b3b2df7cbb4a357884a
7
+ data.tar.gz: a670ad206e5c748974c487c1cfabf507d2e7c4588a66d3f158923a1e888a2d369ca393153aaf28e0fe153f0d97cd09037caf495eb19d723ed6c10cf68a6e332d
@@ -2,11 +2,14 @@ module Civo
2
2
  class Kubernetes < Base
3
3
  get :all, "/v#{ENV["CIVO_API_VERSION"] || "2"}/kubernetes/clusters"
4
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]
5
+ post :create, "/v#{ENV["CIVO_API_VERSION"] || "2"}/kubernetes/clusters", requires: [:name], request_body_type: :json
6
6
  post :recycle, "/v#{ENV["CIVO_API_VERSION"] || "2"}/kubernetes/clusters/:id/recycle", requires: [:id, :hostname]
7
7
  put :update, "/v#{ENV["CIVO_API_VERSION"] || "2"}/kubernetes/clusters/:id", request_body_type: :json
8
8
  delete :remove, "/v#{ENV["CIVO_API_VERSION"] || "2"}/kubernetes/clusters/:id", requires: [:id]
9
9
 
10
+ post :create_pool, "/v#{ENV["CIVO_API_VERSION"] || "2"}/kubernetes/clusters/:cluster_id/pools", requires: [:cluster_id, :id], request_body_type: :json
11
+ put :update_pool, "/v#{ENV["CIVO_API_VERSION"] || "2"}/kubernetes/clusters/:cluster_id/pools/:id", requires: [:cluster_id, :id], request_body_type: :json
12
+
10
13
  get :applications, "/v#{ENV["CIVO_API_VERSION"] || "2"}/kubernetes/applications"
11
14
  get :application, "/v#{ENV["CIVO_API_VERSION"] || "2"}/kubernetes/applications/:name", requires: [:name]
12
15
 
data/lib/civo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "1.5.22"
2
+ VERSION = "1.5.24"
3
3
  end
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.5.22
4
+ version: 1.5.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Jeffries
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-17 00:00:00.000000000 Z
11
+ date: 2023-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flexirest
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
141
141
  - !ruby/object:Gem::Version
142
142
  version: '0'
143
143
  requirements: []
144
- rubygems_version: 3.0.8
144
+ rubygems_version: 3.3.11
145
145
  signing_key:
146
146
  specification_version: 4
147
147
  summary: Civo CLI AND API