volcano-sdk 0.22.0 → 0.24.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/durable_records.rbs +70 -0
- data/sig/user.rbs +30 -0
- metadata +3 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cd1e467328aba311e7c1f84c071da701f5e2d6672f9bd46d1049062cdc4b86bf
|
|
4
|
+
data.tar.gz: 0f75ab987a6a007f982c0803bf7bbfb6426d14b623e695e9f9a84d1493185324
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a0ba753793796b92395750c4a8f12011d92da451e0ea7c49a3aafac675ddf04ae20b8aafaeb3ed00cc9a551e9ae248fb9955b6c4e44f67e81898d140e7238d92
|
|
7
|
+
data.tar.gz: 964feff207356bfa3a31857d65f47f5264aba71e3ee89694346254c6d524600582c3b1f50631c6c5a41243d06e957c66eb8cc66ef4f8c03b9ccfadd7cacd3d13
|
data/lib/volcano/version.rb
CHANGED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
module Volcano
|
|
2
|
+
class DurableExecutionError < Data
|
|
3
|
+
attr_reader type: String?
|
|
4
|
+
attr_reader message: String?
|
|
5
|
+
|
|
6
|
+
def self.new: (?String? type, ?String? message) -> DurableExecutionError
|
|
7
|
+
| (?type: String?, ?message: String?) -> DurableExecutionError
|
|
8
|
+
def self.[]: (?String? type, ?String? message) -> DurableExecutionError
|
|
9
|
+
| (?type: String?, ?message: String?) -> DurableExecutionError
|
|
10
|
+
def self.members: () -> [:type, :message]
|
|
11
|
+
|
|
12
|
+
def initialize: (?type: String?, ?message: String?) -> void
|
|
13
|
+
def members: () -> [:type, :message]
|
|
14
|
+
def with: (?type: String?, ?message: String?) -> DurableExecutionError
|
|
15
|
+
def to_h: () -> { type: String?, message: String? }
|
|
16
|
+
| [K, V] () { (Symbol, String?) -> [K, V] } -> Hash[K, V]
|
|
17
|
+
def deconstruct: () -> [String?, String?]
|
|
18
|
+
def deconstruct_keys: (Array[Symbol]?) -> Hash[Symbol, String?]
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
class DurableExecution < Data
|
|
22
|
+
attr_reader id: String
|
|
23
|
+
attr_reader function_id: String
|
|
24
|
+
attr_reader name: String
|
|
25
|
+
attr_reader status: String
|
|
26
|
+
attr_reader region: String
|
|
27
|
+
attr_reader created_at: Time
|
|
28
|
+
attr_reader result: json_value
|
|
29
|
+
attr_reader result_expired: bool?
|
|
30
|
+
attr_reader error: DurableExecutionError?
|
|
31
|
+
attr_reader completed_at: Time?
|
|
32
|
+
|
|
33
|
+
def self.new: (String id, String function_id, String name, String status, String region, Time created_at, ?json_value result, ?bool? result_expired, ?DurableExecutionError? error, ?Time? completed_at) -> DurableExecution
|
|
34
|
+
| (id: String, function_id: String, name: String, status: String, region: String, created_at: Time, ?result: json_value, ?result_expired: bool?, ?error: DurableExecutionError?, ?completed_at: Time?) -> DurableExecution
|
|
35
|
+
def self.[]: (String id, String function_id, String name, String status, String region, Time created_at, ?json_value result, ?bool? result_expired, ?DurableExecutionError? error, ?Time? completed_at) -> DurableExecution
|
|
36
|
+
| (id: String, function_id: String, name: String, status: String, region: String, created_at: Time, ?result: json_value, ?result_expired: bool?, ?error: DurableExecutionError?, ?completed_at: Time?) -> DurableExecution
|
|
37
|
+
def self.members: () -> [:id, :function_id, :name, :status, :region, :created_at, :result, :result_expired, :error, :completed_at]
|
|
38
|
+
|
|
39
|
+
def initialize: (id: String, function_id: String, name: String, status: String, region: String, created_at: Time, ?result: json_value, ?result_expired: bool?, ?error: DurableExecutionError?, ?completed_at: Time?) -> void
|
|
40
|
+
def members: () -> [:id, :function_id, :name, :status, :region, :created_at, :result, :result_expired, :error, :completed_at]
|
|
41
|
+
def with: (?id: String, ?function_id: String, ?name: String, ?status: String, ?region: String, ?created_at: Time, ?result: json_value, ?result_expired: bool?, ?error: DurableExecutionError?, ?completed_at: Time?) -> DurableExecution
|
|
42
|
+
def to_h: () -> { id: String, function_id: String, name: String, status: String, region: String, created_at: Time, result: json_value, result_expired: bool?, error: DurableExecutionError?, completed_at: Time? }
|
|
43
|
+
| [K, V] () { (Symbol, String | Time | json_value | bool | DurableExecutionError | nil) -> [K, V] } -> Hash[K, V]
|
|
44
|
+
def deconstruct: () -> [String, String, String, String, String, Time, json_value, bool?, DurableExecutionError?, Time?]
|
|
45
|
+
def deconstruct_keys: (Array[Symbol]?) -> Hash[Symbol, String | Time | json_value | bool | DurableExecutionError | nil]
|
|
46
|
+
def terminal?: () -> bool
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
class DurableExecutionPage < Data
|
|
50
|
+
attr_reader executions: Array[DurableExecution]
|
|
51
|
+
attr_reader page: Integer
|
|
52
|
+
attr_reader limit: Integer
|
|
53
|
+
attr_reader total: Integer
|
|
54
|
+
attr_reader has_more: bool
|
|
55
|
+
|
|
56
|
+
def self.new: (Enumerable[DurableExecution] executions, Integer page, Integer limit, Integer total, bool has_more) -> DurableExecutionPage
|
|
57
|
+
| (executions: Enumerable[DurableExecution], page: Integer, limit: Integer, total: Integer, has_more: bool) -> DurableExecutionPage
|
|
58
|
+
def self.[]: (Enumerable[DurableExecution] executions, Integer page, Integer limit, Integer total, bool has_more) -> DurableExecutionPage
|
|
59
|
+
| (executions: Enumerable[DurableExecution], page: Integer, limit: Integer, total: Integer, has_more: bool) -> DurableExecutionPage
|
|
60
|
+
def self.members: () -> [:executions, :page, :limit, :total, :has_more]
|
|
61
|
+
|
|
62
|
+
def initialize: (executions: Enumerable[DurableExecution], page: Integer, limit: Integer, total: Integer, has_more: bool) -> void
|
|
63
|
+
def members: () -> [:executions, :page, :limit, :total, :has_more]
|
|
64
|
+
def with: (?executions: Enumerable[DurableExecution], ?page: Integer, ?limit: Integer, ?total: Integer, ?has_more: bool) -> DurableExecutionPage
|
|
65
|
+
def to_h: () -> { executions: Array[DurableExecution], page: Integer, limit: Integer, total: Integer, has_more: bool }
|
|
66
|
+
| [K, V] () { (Symbol, Array[DurableExecution] | Integer | bool) -> [K, V] } -> Hash[K, V]
|
|
67
|
+
def deconstruct: () -> [Array[DurableExecution], Integer, Integer, Integer, bool]
|
|
68
|
+
def deconstruct_keys: (Array[Symbol]?) -> Hash[Symbol, Array[DurableExecution] | Integer | bool]
|
|
69
|
+
end
|
|
70
|
+
end
|
data/sig/user.rbs
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
module Volcano
|
|
2
|
+
class User < Data
|
|
3
|
+
attr_reader id: String
|
|
4
|
+
attr_reader project_id: String?
|
|
5
|
+
attr_reader email: String
|
|
6
|
+
attr_reader email_confirmed: bool?
|
|
7
|
+
attr_reader user_metadata: Hash[String, json_value]?
|
|
8
|
+
attr_reader app_metadata: Hash[String, json_value]?
|
|
9
|
+
attr_reader avatar_url: String?
|
|
10
|
+
attr_reader status: String
|
|
11
|
+
attr_reader banned_until: Time?
|
|
12
|
+
attr_reader last_sign_in_at: Time?
|
|
13
|
+
attr_reader created_at: Time?
|
|
14
|
+
attr_reader updated_at: Time?
|
|
15
|
+
|
|
16
|
+
def self.new: (String id, String? project_id, String email, bool? email_confirmed, Hash[String, json_value]? user_metadata, Hash[String, json_value]? app_metadata, String? avatar_url, String status, ?Time? banned_until, ?Time? last_sign_in_at, ?Time? created_at, ?Time? updated_at) -> User
|
|
17
|
+
| (id: String, email: String, status: String, ?project_id: String?, ?email_confirmed: bool?, ?user_metadata: Hash[String, json_value]?, ?app_metadata: Hash[String, json_value]?, ?avatar_url: String?, ?banned_until: Time?, ?last_sign_in_at: Time?, ?created_at: Time?, ?updated_at: Time?) -> User
|
|
18
|
+
def self.[]: (String id, String? project_id, String email, bool? email_confirmed, Hash[String, json_value]? user_metadata, Hash[String, json_value]? app_metadata, String? avatar_url, String status, ?Time? banned_until, ?Time? last_sign_in_at, ?Time? created_at, ?Time? updated_at) -> User
|
|
19
|
+
| (id: String, email: String, status: String, ?project_id: String?, ?email_confirmed: bool?, ?user_metadata: Hash[String, json_value]?, ?app_metadata: Hash[String, json_value]?, ?avatar_url: String?, ?banned_until: Time?, ?last_sign_in_at: Time?, ?created_at: Time?, ?updated_at: Time?) -> User
|
|
20
|
+
def self.members: () -> [:id, :project_id, :email, :email_confirmed, :user_metadata, :app_metadata, :avatar_url, :status, :banned_until, :last_sign_in_at, :created_at, :updated_at]
|
|
21
|
+
|
|
22
|
+
def initialize: (id: String, email: String, status: String, ?project_id: String?, ?email_confirmed: bool?, ?user_metadata: Hash[String, json_value]?, ?app_metadata: Hash[String, json_value]?, ?avatar_url: String?, ?banned_until: Time?, ?last_sign_in_at: Time?, ?created_at: Time?, ?updated_at: Time?) -> void
|
|
23
|
+
def members: () -> [:id, :project_id, :email, :email_confirmed, :user_metadata, :app_metadata, :avatar_url, :status, :banned_until, :last_sign_in_at, :created_at, :updated_at]
|
|
24
|
+
def with: (?id: String, ?project_id: String?, ?email: String, ?email_confirmed: bool?, ?user_metadata: Hash[String, json_value]?, ?app_metadata: Hash[String, json_value]?, ?avatar_url: String?, ?status: String, ?banned_until: Time?, ?last_sign_in_at: Time?, ?created_at: Time?, ?updated_at: Time?) -> User
|
|
25
|
+
def to_h: () -> { id: String, project_id: String?, email: String, email_confirmed: bool?, user_metadata: Hash[String, json_value]?, app_metadata: Hash[String, json_value]?, avatar_url: String?, status: String, banned_until: Time?, last_sign_in_at: Time?, created_at: Time?, updated_at: Time? }
|
|
26
|
+
| [K, V] () { (Symbol, String | bool | Hash[String, json_value] | Time | nil) -> [K, V] } -> Hash[K, V]
|
|
27
|
+
def deconstruct: () -> [String, String?, String, bool?, Hash[String, json_value]?, Hash[String, json_value]?, String?, String, Time?, Time?, Time?, Time?]
|
|
28
|
+
def deconstruct_keys: (Array[Symbol]?) -> Hash[Symbol, String | bool | Hash[String, json_value] | Time | nil]
|
|
29
|
+
end
|
|
30
|
+
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.24.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kong
|
|
@@ -605,6 +605,7 @@ files:
|
|
|
605
605
|
- lib/volcano/version.rb
|
|
606
606
|
- sig/auth_session_records.rbs
|
|
607
607
|
- sig/connection_string.rbs
|
|
608
|
+
- sig/durable_records.rbs
|
|
608
609
|
- sig/email_change_result.rbs
|
|
609
610
|
- sig/errors.rbs
|
|
610
611
|
- sig/function_response.rbs
|
|
@@ -616,6 +617,7 @@ files:
|
|
|
616
617
|
- sig/storage_records.rbs
|
|
617
618
|
- sig/upload_records.rbs
|
|
618
619
|
- sig/upload_session_status.rbs
|
|
620
|
+
- sig/user.rbs
|
|
619
621
|
homepage: https://github.com/Kong/volcano-sdk-ruby
|
|
620
622
|
licenses:
|
|
621
623
|
- Apache-2.0
|