civo 1.5.11 → 1.5.12
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/object_store.rb +13 -0
- data/lib/civo/version.rb +1 -1
- data/lib/civo.rb +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26dd006c0211280475f3f52d07e115c2518f621891a66b8caaa753367ded393f
|
4
|
+
data.tar.gz: f0130f7c8fb25d09f7ccf10f428e736eaabdf82a57a109222029c218dce5c3bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60325a80be0279384bd8ca7724e39d12247d34146ce3f7af8bbb443ba801832caeb945bff0c59f2bc74fbd617c7be15466e787eccadf9bb2d08322be6e9f729f
|
7
|
+
data.tar.gz: 0e373baaf98bb6dd0598930e9a8e037ca187a47c0ca0353b7743aecfc402ba904b61dd4a52f0cff938b74ac4f15cb43b9afb8bef5a71721631982ce969259c31
|
@@ -0,0 +1,13 @@
|
|
1
|
+
module Civo
|
2
|
+
class ObjectStore < Base
|
3
|
+
get :all, "/v2/objectstores", requires: [:region]
|
4
|
+
get :find, "/v2/objectstores/:id", requires: [:id, :region]
|
5
|
+
post :create, "/v2/objectstores", requires: [:name, :max_size_gb, :region], defaults: {max_size_gb: 500}
|
6
|
+
put :update, "/v2/objectstores/:id", requires: [:id, :region]
|
7
|
+
delete :remove, "/v2/objectstores/:id", requires: [:id, :region]
|
8
|
+
|
9
|
+
def to_partial_path
|
10
|
+
"civo/object_store"
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
data/lib/civo/version.rb
CHANGED
data/lib/civo.rb
CHANGED
@@ -27,6 +27,7 @@ require_relative "../app/models/civo/ip"
|
|
27
27
|
require_relative "../app/models/civo/kpi"
|
28
28
|
require_relative "../app/models/civo/load_balancer"
|
29
29
|
require_relative "../app/models/civo/network"
|
30
|
+
require_relative "../app/models/civo/object_store"
|
30
31
|
require_relative "../app/models/civo/organisation"
|
31
32
|
require_relative "../app/models/civo/quota"
|
32
33
|
require_relative "../app/models/civo/region"
|
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.
|
4
|
+
version: 1.5.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Jeffries
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flexirest
|
@@ -94,6 +94,7 @@ files:
|
|
94
94
|
- app/models/civo/kubernetes.rb
|
95
95
|
- app/models/civo/load_balancer.rb
|
96
96
|
- app/models/civo/network.rb
|
97
|
+
- app/models/civo/object_store.rb
|
97
98
|
- app/models/civo/organisation.rb
|
98
99
|
- app/models/civo/permission.rb
|
99
100
|
- app/models/civo/quota.rb
|