volcano-sdk 0.17.0 → 0.18.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.
- checksums.yaml +4 -4
- data/lib/volcano/version.rb +1 -1
- data/sig/log_responses.rbs +44 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1af8129f2d103e685a6f1f85d7cc9579157a4f8a7f243127abcd972be3791e09
|
|
4
|
+
data.tar.gz: 9dfd51f6e9ee0ca63f32b3ac304080906be9647a2b7258640191ccfd8cbbfe16
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c635bd3ebac7a01f6b5e0c29ce1ac3dd4054a6ed71ab47611fdb04109679a0f1102792636d8dadebe422a42c19102e56873690ada82983dabcd179bb99132133
|
|
7
|
+
data.tar.gz: 3c7cdfc89d4bbb64f199b7f6d570e3a8060feac15e8614a45bbfe2f654ceccdc2b6bf334125d2b546702bc13baf902d808603c19fdaab2951a651d2db78f2977
|
data/lib/volcano/version.rb
CHANGED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
module Volcano
|
|
2
|
+
type log_value = nil | bool | Integer | Float | String | Time | Array[log_value] | Hash[String, log_value]
|
|
3
|
+
type log_row = Hash[String, log_value]
|
|
4
|
+
|
|
5
|
+
class LogSearchResponse < Data
|
|
6
|
+
attr_reader data: Array[log_row]
|
|
7
|
+
attr_reader limit: Integer
|
|
8
|
+
attr_reader has_more: bool
|
|
9
|
+
attr_reader next_cursor: String?
|
|
10
|
+
|
|
11
|
+
def self.new: (Array[log_row] data, Integer limit, bool has_more, ?String? next_cursor) -> LogSearchResponse
|
|
12
|
+
| (data: Array[log_row], limit: Integer, has_more: bool, ?next_cursor: String?) -> LogSearchResponse
|
|
13
|
+
def self.[]: (Array[log_row] data, Integer limit, bool has_more, ?String? next_cursor) -> LogSearchResponse
|
|
14
|
+
| (data: Array[log_row], limit: Integer, has_more: bool, ?next_cursor: String?) -> LogSearchResponse
|
|
15
|
+
def self.members: () -> [:data, :limit, :has_more, :next_cursor]
|
|
16
|
+
|
|
17
|
+
def initialize: (data: Array[log_row], limit: Integer, has_more: bool, ?next_cursor: String?) -> void
|
|
18
|
+
def members: () -> [:data, :limit, :has_more, :next_cursor]
|
|
19
|
+
def with: (?data: Array[log_row], ?limit: Integer, ?has_more: bool, ?next_cursor: String?) -> LogSearchResponse
|
|
20
|
+
def to_h: () -> { data: Array[log_row], limit: Integer, has_more: bool, next_cursor: String? }
|
|
21
|
+
| [K, V] () { (Symbol, Array[log_row] | Integer | bool | String?) -> [K, V] } -> Hash[K, V]
|
|
22
|
+
def deconstruct: () -> [Array[log_row], Integer, bool, String?]
|
|
23
|
+
def deconstruct_keys: (Array[Symbol]?) -> Hash[Symbol, Array[log_row] | Integer | bool | String?]
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
class LogActivityResponse < Data
|
|
27
|
+
attr_reader data: Array[log_row]
|
|
28
|
+
attr_reader total: Integer
|
|
29
|
+
|
|
30
|
+
def self.new: (Array[log_row] data, Integer total) -> LogActivityResponse
|
|
31
|
+
| (data: Array[log_row], total: Integer) -> LogActivityResponse
|
|
32
|
+
def self.[]: (Array[log_row] data, Integer total) -> LogActivityResponse
|
|
33
|
+
| (data: Array[log_row], total: Integer) -> LogActivityResponse
|
|
34
|
+
def self.members: () -> [:data, :total]
|
|
35
|
+
|
|
36
|
+
def initialize: (data: Array[log_row], total: Integer) -> void
|
|
37
|
+
def members: () -> [:data, :total]
|
|
38
|
+
def with: (?data: Array[log_row], ?total: Integer) -> LogActivityResponse
|
|
39
|
+
def to_h: () -> { data: Array[log_row], total: Integer }
|
|
40
|
+
| [K, V] () { (Symbol, Array[log_row] | Integer) -> [K, V] } -> Hash[K, V]
|
|
41
|
+
def deconstruct: () -> [Array[log_row], Integer]
|
|
42
|
+
def deconstruct_keys: (Array[Symbol]?) -> Hash[Symbol, Array[log_row] | Integer]
|
|
43
|
+
end
|
|
44
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: volcano-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.18.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kong
|
|
@@ -608,6 +608,7 @@ files:
|
|
|
608
608
|
- sig/errors.rbs
|
|
609
609
|
- sig/function_response.rbs
|
|
610
610
|
- sig/lock_records.rbs
|
|
611
|
+
- sig/log_responses.rbs
|
|
611
612
|
- sig/session.rbs
|
|
612
613
|
- sig/sign_up_result.rbs
|
|
613
614
|
homepage: https://github.com/Kong/volcano-sdk-ruby
|