volcano-sdk 0.16.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fbcad5adcb6e4e3367b5401dc7e77f06d23d1a92e96fa9ba00f2d971efd72aa8
4
- data.tar.gz: 5976dd6a36333e57a92811d12d5e719a9f85eac063bd62d1ed24c87f5d3afe38
3
+ metadata.gz: 1af8129f2d103e685a6f1f85d7cc9579157a4f8a7f243127abcd972be3791e09
4
+ data.tar.gz: 9dfd51f6e9ee0ca63f32b3ac304080906be9647a2b7258640191ccfd8cbbfe16
5
5
  SHA512:
6
- metadata.gz: 53cf3504e31c2d32dce16dc937659f2b37b96b233149dfaa800a46f45af13d37dd523c85375f1a94524f7355402b7c5bbb958be8388abc47345f4522367a9b77
7
- data.tar.gz: f06fb38ea3cc632189f3307466ed061646e24849ac8163cf37bc163aa33bc4ae9890d2a42a3a55d100e9755132f757cccb231950177bca512daadcdaaf868fc1
6
+ metadata.gz: c635bd3ebac7a01f6b5e0c29ce1ac3dd4054a6ed71ab47611fdb04109679a0f1102792636d8dadebe422a42c19102e56873690ada82983dabcd179bb99132133
7
+ data.tar.gz: 3c7cdfc89d4bbb64f199b7f6d570e3a8060feac15e8614a45bbfe2f654ceccdc2b6bf334125d2b546702bc13baf902d808603c19fdaab2951a651d2db78f2977
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Volcano
4
- VERSION = '0.16.0'
4
+ VERSION = '0.18.0'
5
5
  end
@@ -0,0 +1,22 @@
1
+ module Volcano
2
+ class FunctionResponse < Data
3
+ attr_reader data: json_value
4
+ attr_reader status: Integer
5
+ attr_reader headers: Hash[String, String]
6
+ attr_reader version: String?
7
+
8
+ def self.new: (json_value data, Integer status, Hash[String, String] headers, String? version) -> FunctionResponse
9
+ | (data: json_value, status: Integer, headers: Hash[String, String], version: String?) -> FunctionResponse
10
+ def self.[]: (json_value data, Integer status, Hash[String, String] headers, String? version) -> FunctionResponse
11
+ | (data: json_value, status: Integer, headers: Hash[String, String], version: String?) -> FunctionResponse
12
+ def self.members: () -> [:data, :status, :headers, :version]
13
+
14
+ def initialize: (data: json_value, status: Integer, headers: Hash[String, String], version: String?) -> void
15
+ def members: () -> [:data, :status, :headers, :version]
16
+ def with: (?data: json_value, ?status: Integer, ?headers: Hash[String, String], ?version: String?) -> FunctionResponse
17
+ def to_h: () -> { data: json_value, status: Integer, headers: Hash[String, String], version: String? }
18
+ | [K, V] () { (Symbol, json_value | Integer | Hash[String, String] | nil) -> [K, V] } -> Hash[K, V]
19
+ def deconstruct: () -> [json_value, Integer, Hash[String, String], String?]
20
+ def deconstruct_keys: (Array[Symbol]?) -> Hash[Symbol, json_value | Integer | Hash[String, String] | nil]
21
+ end
22
+ end
@@ -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.16.0
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kong
@@ -606,7 +606,9 @@ files:
606
606
  - sig/connection_string.rbs
607
607
  - sig/email_change_result.rbs
608
608
  - sig/errors.rbs
609
+ - sig/function_response.rbs
609
610
  - sig/lock_records.rbs
611
+ - sig/log_responses.rbs
610
612
  - sig/session.rbs
611
613
  - sig/sign_up_result.rbs
612
614
  homepage: https://github.com/Kong/volcano-sdk-ruby