streamdal-protos 0.1.51 → 0.1.52

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: 56eb2012dd071fc61255623cb40af75799830e44648536722aa2e8e5c10b854c
4
- data.tar.gz: a5d1e6bec78bd7c07aaf479155f8801d8b65a45e5ced82e772018acd6af09e08
3
+ metadata.gz: 69decd68145d38c688b95d2bfd7565e091319a0598a174dbff4e328b24a9c0fb
4
+ data.tar.gz: 732160349eea7e844ebd0cf8b211e2a7482d47afb8c51362cbcc37071e8405ad
5
5
  SHA512:
6
- metadata.gz: 8fac1b84af7dfbe0d1d933cf8f4687b28bf9ea3b846e623faae56f7d241a8d271ebabb83f1668c7cf3a5450003ca9ba40200501697b57730bbc1373bf5031cbd
7
- data.tar.gz: feae20abe435dc750f2e2ff806dd36f5b83b949f5c785361fe30bacced9c8a399cb54a396d92756c9d37f28d27c5bd7e466368a925c0c3a82b3f6b04273ed228
6
+ metadata.gz: 1b5609c13396436d3a517a87d9f10b4646b5de8b03e076ce8d4f9bfe6c188d4210e926b534b24fb60b483bc4e98ddb558e65da1cba53b9b4ecfbf8bdef6edc61
7
+ data.tar.gz: 2a16a393aa3c0e4f7f43a562a8a48f696bf3b103e9d39e77d064a5d6650f1ce47f3ece1f66b87b8e12ebf54d186cc4e9c2a6e842d1325a404ebd458802fe4bae
@@ -0,0 +1,39 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: shared/sp_shared.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("shared/sp_shared.proto", :syntax => :proto3) do
8
+ add_message "protos.shared.WasmModule" do
9
+ optional :id, :string, 1
10
+ optional :bytes, :bytes, 2
11
+ optional :function, :string, 3
12
+ optional :name, :string, 4
13
+ optional :_filename, :string, 5
14
+ optional :_bundled, :bool, 6
15
+ proto3_optional :description, :string, 101
16
+ proto3_optional :version, :string, 102
17
+ proto3_optional :url, :string, 103
18
+ proto3_optional :_created_at_unix_ts_ns_utc, :int64, 1000
19
+ proto3_optional :_updated_at_unix_ts_ns_utc, :int64, 1001
20
+ proto3_optional :_created_by, :string, 1002
21
+ end
22
+ add_enum "protos.shared.KVAction" do
23
+ value :KV_ACTION_UNSET, 0
24
+ value :KV_ACTION_GET, 1
25
+ value :KV_ACTION_CREATE, 2
26
+ value :KV_ACTION_UPDATE, 3
27
+ value :KV_ACTION_EXISTS, 4
28
+ value :KV_ACTION_DELETE, 5
29
+ value :KV_ACTION_DELETE_ALL, 6
30
+ end
31
+ end
32
+ end
33
+
34
+ module Streamdal
35
+ module Protos
36
+ WasmModule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.shared.WasmModule").msgclass
37
+ KVAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.shared.KVAction").enummodule
38
+ end
39
+ end
data/lib/sp_bus_pb.rb ADDED
@@ -0,0 +1,40 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: sp_bus.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'sp_common_pb'
7
+ require 'sp_external_pb'
8
+ require 'sp_internal_pb'
9
+ require 'sp_kv_pb'
10
+
11
+ Google::Protobuf::DescriptorPool.generated_pool.build do
12
+ add_file("sp_bus.proto", :syntax => :proto3) do
13
+ add_message "protos.BusEvent" do
14
+ optional :source, :string, 1
15
+ map :_metadata, :string, :string, 1000
16
+ oneof :event do
17
+ optional :register_request, :message, 100, "protos.RegisterRequest"
18
+ optional :deregister_request, :message, 101, "protos.DeregisterRequest"
19
+ optional :create_pipeline_request, :message, 102, "protos.CreatePipelineRequest"
20
+ optional :delete_pipeline_request, :message, 103, "protos.DeletePipelineRequest"
21
+ optional :update_pipeline_request, :message, 104, "protos.UpdatePipelineRequest"
22
+ optional :pause_pipeline_request, :message, 107, "protos.PausePipelineRequest"
23
+ optional :resume_pipeline_request, :message, 108, "protos.ResumePipelineRequest"
24
+ optional :metrics_request, :message, 109, "protos.MetricsRequest"
25
+ optional :kv_request, :message, 110, "protos.KVRequest"
26
+ optional :delete_audience_request, :message, 111, "protos.DeleteAudienceRequest"
27
+ optional :new_audience_request, :message, 112, "protos.NewAudienceRequest"
28
+ optional :tail_request, :message, 113, "protos.TailRequest"
29
+ optional :tail_response, :message, 114, "protos.TailResponse"
30
+ optional :set_pipelines_request, :message, 115, "protos.SetPipelinesRequest"
31
+ end
32
+ end
33
+ end
34
+ end
35
+
36
+ module Streamdal
37
+ module Protos
38
+ BusEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.BusEvent").msgclass
39
+ end
40
+ end
@@ -0,0 +1,46 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: sp_command.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'shared/sp_shared_pb'
7
+ require 'sp_common_pb'
8
+ require 'sp_kv_pb'
9
+ require 'sp_pipeline_pb'
10
+
11
+ Google::Protobuf::DescriptorPool.generated_pool.build do
12
+ add_file("sp_command.proto", :syntax => :proto3) do
13
+ add_message "protos.Command" do
14
+ optional :audience, :message, 1, "protos.Audience"
15
+ oneof :command do
16
+ optional :set_pipelines, :message, 100, "protos.SetPipelinesCommand"
17
+ optional :keep_alive, :message, 101, "protos.KeepAliveCommand"
18
+ optional :kv, :message, 102, "protos.KVCommand"
19
+ optional :tail, :message, 103, "protos.TailCommand"
20
+ end
21
+ end
22
+ add_message "protos.SetPipelinesCommand" do
23
+ repeated :pipelines, :message, 1, "protos.Pipeline"
24
+ map :wasm_modules, :string, :message, 2, "protos.shared.WasmModule"
25
+ end
26
+ add_message "protos.KeepAliveCommand" do
27
+ end
28
+ add_message "protos.KVCommand" do
29
+ repeated :instructions, :message, 1, "protos.KVInstruction"
30
+ optional :overwrite, :bool, 2
31
+ end
32
+ add_message "protos.TailCommand" do
33
+ optional :request, :message, 2, "protos.TailRequest"
34
+ end
35
+ end
36
+ end
37
+
38
+ module Streamdal
39
+ module Protos
40
+ Command = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.Command").msgclass
41
+ SetPipelinesCommand = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.SetPipelinesCommand").msgclass
42
+ KeepAliveCommand = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.KeepAliveCommand").msgclass
43
+ KVCommand = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.KVCommand").msgclass
44
+ TailCommand = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.TailCommand").msgclass
45
+ end
46
+ end
@@ -0,0 +1,114 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: sp_common.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'shared/sp_shared_pb'
7
+ require 'sp_notify_pb'
8
+ require 'sp_pipeline_pb'
9
+
10
+ Google::Protobuf::DescriptorPool.generated_pool.build do
11
+ add_file("sp_common.proto", :syntax => :proto3) do
12
+ add_message "protos.StandardResponse" do
13
+ optional :id, :string, 1
14
+ optional :code, :enum, 2, "protos.ResponseCode"
15
+ optional :message, :string, 3
16
+ end
17
+ add_message "protos.Audience" do
18
+ optional :service_name, :string, 1
19
+ optional :component_name, :string, 2
20
+ optional :operation_type, :enum, 3, "protos.OperationType"
21
+ optional :operation_name, :string, 4
22
+ proto3_optional :_created_by, :string, 1000
23
+ end
24
+ add_message "protos.Metric" do
25
+ optional :name, :string, 1
26
+ map :labels, :string, :string, 2
27
+ optional :value, :double, 3
28
+ optional :audience, :message, 4, "protos.Audience"
29
+ end
30
+ add_message "protos.TailRequest" do
31
+ optional :type, :enum, 1, "protos.TailRequestType"
32
+ optional :id, :string, 2
33
+ optional :audience, :message, 3, "protos.Audience"
34
+ proto3_optional :pipeline_id, :string, 4
35
+ optional :sample_options, :message, 5, "protos.SampleOptions"
36
+ map :_metadata, :string, :string, 1000
37
+ end
38
+ add_message "protos.TailResponse" do
39
+ optional :type, :enum, 1, "protos.TailResponseType"
40
+ optional :tail_request_id, :string, 2
41
+ optional :audience, :message, 3, "protos.Audience"
42
+ optional :pipeline_id, :string, 4
43
+ optional :session_id, :string, 5
44
+ optional :timestamp_ns, :int64, 6
45
+ optional :original_data, :bytes, 7
46
+ optional :new_data, :bytes, 8
47
+ map :_metadata, :string, :string, 1000
48
+ proto3_optional :_keepalive, :bool, 1001
49
+ end
50
+ add_message "protos.AudienceRate" do
51
+ optional :bytes, :double, 1
52
+ optional :processed, :double, 2
53
+ end
54
+ add_message "protos.Schema" do
55
+ optional :json_schema, :bytes, 1
56
+ optional :_version, :int32, 100
57
+ map :_metadata, :string, :string, 1000
58
+ end
59
+ add_message "protos.SampleOptions" do
60
+ optional :sample_rate, :uint32, 1
61
+ optional :sample_interval_seconds, :uint32, 2
62
+ end
63
+ add_message "protos.Config" do
64
+ repeated :audiences, :message, 1, "protos.Audience"
65
+ repeated :pipelines, :message, 2, "protos.Pipeline"
66
+ repeated :notifications, :message, 3, "protos.NotificationConfig"
67
+ repeated :wasm_modules, :message, 4, "protos.shared.WasmModule"
68
+ map :audience_mappings, :string, :message, 5, "protos.PipelineConfigs"
69
+ end
70
+ add_enum "protos.ResponseCode" do
71
+ value :RESPONSE_CODE_UNSET, 0
72
+ value :RESPONSE_CODE_OK, 1
73
+ value :RESPONSE_CODE_BAD_REQUEST, 2
74
+ value :RESPONSE_CODE_NOT_FOUND, 3
75
+ value :RESPONSE_CODE_INTERNAL_SERVER_ERROR, 4
76
+ value :RESPONSE_CODE_GENERIC_ERROR, 5
77
+ end
78
+ add_enum "protos.OperationType" do
79
+ value :OPERATION_TYPE_UNSET, 0
80
+ value :OPERATION_TYPE_CONSUMER, 1
81
+ value :OPERATION_TYPE_PRODUCER, 2
82
+ end
83
+ add_enum "protos.TailResponseType" do
84
+ value :TAIL_RESPONSE_TYPE_UNSET, 0
85
+ value :TAIL_RESPONSE_TYPE_PAYLOAD, 1
86
+ value :TAIL_RESPONSE_TYPE_ERROR, 2
87
+ end
88
+ add_enum "protos.TailRequestType" do
89
+ value :TAIL_REQUEST_TYPE_UNSET, 0
90
+ value :TAIL_REQUEST_TYPE_START, 1
91
+ value :TAIL_REQUEST_TYPE_STOP, 2
92
+ value :TAIL_REQUEST_TYPE_PAUSE, 3
93
+ value :TAIL_REQUEST_TYPE_RESUME, 4
94
+ end
95
+ end
96
+ end
97
+
98
+ module Streamdal
99
+ module Protos
100
+ StandardResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.StandardResponse").msgclass
101
+ Audience = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.Audience").msgclass
102
+ Metric = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.Metric").msgclass
103
+ TailRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.TailRequest").msgclass
104
+ TailResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.TailResponse").msgclass
105
+ AudienceRate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.AudienceRate").msgclass
106
+ Schema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.Schema").msgclass
107
+ SampleOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.SampleOptions").msgclass
108
+ Config = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.Config").msgclass
109
+ ResponseCode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.ResponseCode").enummodule
110
+ OperationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.OperationType").enummodule
111
+ TailResponseType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.TailResponseType").enummodule
112
+ TailRequestType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.TailRequestType").enummodule
113
+ end
114
+ end
@@ -0,0 +1,247 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: sp_external.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'shared/sp_shared_pb'
7
+ require 'sp_common_pb'
8
+ require 'sp_info_pb'
9
+ require 'sp_notify_pb'
10
+ require 'sp_pipeline_pb'
11
+
12
+ Google::Protobuf::DescriptorPool.generated_pool.build do
13
+ add_file("sp_external.proto", :syntax => :proto3) do
14
+ add_message "protos.GetAllRequest" do
15
+ end
16
+ add_message "protos.GetAllResponse" do
17
+ repeated :live, :message, 1, "protos.LiveInfo"
18
+ repeated :audiences, :message, 2, "protos.Audience"
19
+ map :pipelines, :string, :message, 3, "protos.PipelineInfo"
20
+ map :configs, :string, :message, 4, "protos.PipelineConfigs"
21
+ optional :generated_at_unix_ts_ns_utc, :int64, 100
22
+ proto3_optional :_keepalive, :bool, 1000
23
+ end
24
+ add_message "protos.GetPipelinesRequest" do
25
+ end
26
+ add_message "protos.GetPipelinesResponse" do
27
+ repeated :pipelines, :message, 1, "protos.Pipeline"
28
+ end
29
+ add_message "protos.GetPipelineRequest" do
30
+ optional :pipeline_id, :string, 1
31
+ end
32
+ add_message "protos.GetPipelineResponse" do
33
+ optional :pipeline, :message, 1, "protos.Pipeline"
34
+ end
35
+ add_message "protos.CreatePipelineRequest" do
36
+ optional :pipeline, :message, 1, "protos.Pipeline"
37
+ proto3_optional :pipeline_json, :bytes, 2
38
+ end
39
+ add_message "protos.CreatePipelineResponse" do
40
+ optional :message, :string, 1
41
+ optional :pipeline_id, :string, 2
42
+ end
43
+ add_message "protos.UpdatePipelineRequest" do
44
+ optional :pipeline, :message, 1, "protos.Pipeline"
45
+ proto3_optional :pipeline_json, :bytes, 2
46
+ end
47
+ add_message "protos.DeletePipelineRequest" do
48
+ optional :pipeline_id, :string, 1
49
+ repeated :_audiences, :message, 1000, "protos.Audience"
50
+ end
51
+ add_message "protos.SetPipelinesRequest" do
52
+ repeated :pipeline_ids, :string, 1
53
+ optional :audience, :message, 2, "protos.Audience"
54
+ proto3_optional :_created_by, :string, 100
55
+ end
56
+ add_message "protos.PausePipelineRequest" do
57
+ optional :pipeline_id, :string, 1
58
+ optional :audience, :message, 2, "protos.Audience"
59
+ end
60
+ add_message "protos.ResumePipelineRequest" do
61
+ optional :pipeline_id, :string, 1
62
+ optional :audience, :message, 2, "protos.Audience"
63
+ end
64
+ add_message "protos.CreateNotificationRequest" do
65
+ optional :notification, :message, 1, "protos.NotificationConfig"
66
+ end
67
+ add_message "protos.CreateNotificationResponse" do
68
+ optional :notification, :message, 1, "protos.NotificationConfig"
69
+ end
70
+ add_message "protos.UpdateNotificationRequest" do
71
+ optional :notification, :message, 1, "protos.NotificationConfig"
72
+ end
73
+ add_message "protos.DeleteNotificationRequest" do
74
+ optional :notification_id, :string, 1
75
+ end
76
+ add_message "protos.GetNotificationsRequest" do
77
+ end
78
+ add_message "protos.GetNotificationsResponse" do
79
+ map :notifications, :string, :message, 1, "protos.NotificationConfig"
80
+ end
81
+ add_message "protos.GetNotificationRequest" do
82
+ optional :notification_id, :string, 1
83
+ end
84
+ add_message "protos.GetNotificationResponse" do
85
+ optional :notification, :message, 1, "protos.NotificationConfig"
86
+ end
87
+ add_message "protos.AttachNotificationRequest" do
88
+ optional :notification_id, :string, 1
89
+ optional :pipeline_id, :string, 2
90
+ end
91
+ add_message "protos.DetachNotificationRequest" do
92
+ optional :notification_id, :string, 1
93
+ optional :pipeline_id, :string, 2
94
+ end
95
+ add_message "protos.CreateAudienceRequest" do
96
+ optional :audience, :message, 1, "protos.Audience"
97
+ end
98
+ add_message "protos.DeleteAudienceRequest" do
99
+ optional :audience, :message, 1, "protos.Audience"
100
+ proto3_optional :force, :bool, 2
101
+ end
102
+ add_message "protos.DeleteServiceRequest" do
103
+ optional :service_name, :string, 1
104
+ proto3_optional :force, :bool, 2
105
+ end
106
+ add_message "protos.GetMetricsRequest" do
107
+ end
108
+ add_message "protos.GetMetricsResponse" do
109
+ map :metrics, :string, :message, 1, "protos.Metric"
110
+ proto3_optional :_keepalive, :bool, 1000
111
+ end
112
+ add_message "protos.GetAudienceRatesRequest" do
113
+ end
114
+ add_message "protos.GetAudienceRatesResponse" do
115
+ map :rates, :string, :message, 1, "protos.AudienceRate"
116
+ proto3_optional :_keepalive, :bool, 1000
117
+ end
118
+ add_message "protos.GetSchemaRequest" do
119
+ optional :audience, :message, 1, "protos.Audience"
120
+ end
121
+ add_message "protos.GetSchemaResponse" do
122
+ optional :schema, :message, 1, "protos.Schema"
123
+ end
124
+ add_message "protos.AppRegistrationStatusRequest" do
125
+ optional :email, :string, 1
126
+ end
127
+ add_message "protos.AppRegistrationStatusResponse" do
128
+ optional :status, :enum, 1, "protos.AppRegistrationStatusResponse.Status"
129
+ end
130
+ add_enum "protos.AppRegistrationStatusResponse.Status" do
131
+ value :STATUS_UNSET, 0
132
+ value :STATUS_SUBMIT, 1
133
+ value :STATUS_VERIFY, 2
134
+ value :STATUS_DONE, 3
135
+ end
136
+ add_message "protos.AppRegistrationRequest" do
137
+ optional :email, :string, 1
138
+ optional :cluster_id, :string, 2
139
+ optional :_code, :string, 100
140
+ end
141
+ add_message "protos.AppVerifyRegistrationRequest" do
142
+ optional :email, :string, 1
143
+ optional :code, :string, 2
144
+ end
145
+ add_message "protos.AppRegisterRejectRequest" do
146
+ optional :cluster_id, :string, 1
147
+ end
148
+ add_message "protos.PauseTailRequest" do
149
+ optional :tail_id, :string, 1
150
+ end
151
+ add_message "protos.ResumeTailRequest" do
152
+ optional :tail_id, :string, 1
153
+ end
154
+ add_message "protos.GetWasmRequest" do
155
+ optional :id, :string, 1
156
+ end
157
+ add_message "protos.GetWasmResponse" do
158
+ optional :wasm, :message, 1, "protos.shared.WasmModule"
159
+ end
160
+ add_message "protos.GetAllWasmRequest" do
161
+ end
162
+ add_message "protos.GetAllWasmResponse" do
163
+ repeated :wasm, :message, 1, "protos.shared.WasmModule"
164
+ end
165
+ add_message "protos.CreateWasmRequest" do
166
+ optional :wasm, :message, 1, "protos.shared.WasmModule"
167
+ end
168
+ add_message "protos.CreateWasmResponse" do
169
+ optional :message, :string, 1
170
+ optional :id, :string, 2
171
+ end
172
+ add_message "protos.UpdateWasmRequest" do
173
+ optional :wasm, :message, 1, "protos.shared.WasmModule"
174
+ end
175
+ add_message "protos.DeleteWasmRequest" do
176
+ repeated :ids, :string, 1
177
+ end
178
+ add_message "protos.TestRequest" do
179
+ optional :input, :string, 1
180
+ end
181
+ add_message "protos.TestResponse" do
182
+ optional :output, :string, 2
183
+ end
184
+ add_message "protos.GetConfigRequest" do
185
+ end
186
+ add_message "protos.GetConfigResponse" do
187
+ optional :config, :message, 1, "protos.Config"
188
+ end
189
+ end
190
+ end
191
+
192
+ module Streamdal
193
+ module Protos
194
+ GetAllRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetAllRequest").msgclass
195
+ GetAllResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetAllResponse").msgclass
196
+ GetPipelinesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetPipelinesRequest").msgclass
197
+ GetPipelinesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetPipelinesResponse").msgclass
198
+ GetPipelineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetPipelineRequest").msgclass
199
+ GetPipelineResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetPipelineResponse").msgclass
200
+ CreatePipelineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.CreatePipelineRequest").msgclass
201
+ CreatePipelineResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.CreatePipelineResponse").msgclass
202
+ UpdatePipelineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.UpdatePipelineRequest").msgclass
203
+ DeletePipelineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.DeletePipelineRequest").msgclass
204
+ SetPipelinesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.SetPipelinesRequest").msgclass
205
+ PausePipelineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.PausePipelineRequest").msgclass
206
+ ResumePipelineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.ResumePipelineRequest").msgclass
207
+ CreateNotificationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.CreateNotificationRequest").msgclass
208
+ CreateNotificationResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.CreateNotificationResponse").msgclass
209
+ UpdateNotificationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.UpdateNotificationRequest").msgclass
210
+ DeleteNotificationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.DeleteNotificationRequest").msgclass
211
+ GetNotificationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetNotificationsRequest").msgclass
212
+ GetNotificationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetNotificationsResponse").msgclass
213
+ GetNotificationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetNotificationRequest").msgclass
214
+ GetNotificationResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetNotificationResponse").msgclass
215
+ AttachNotificationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.AttachNotificationRequest").msgclass
216
+ DetachNotificationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.DetachNotificationRequest").msgclass
217
+ CreateAudienceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.CreateAudienceRequest").msgclass
218
+ DeleteAudienceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.DeleteAudienceRequest").msgclass
219
+ DeleteServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.DeleteServiceRequest").msgclass
220
+ GetMetricsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetMetricsRequest").msgclass
221
+ GetMetricsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetMetricsResponse").msgclass
222
+ GetAudienceRatesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetAudienceRatesRequest").msgclass
223
+ GetAudienceRatesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetAudienceRatesResponse").msgclass
224
+ GetSchemaRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetSchemaRequest").msgclass
225
+ GetSchemaResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetSchemaResponse").msgclass
226
+ AppRegistrationStatusRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.AppRegistrationStatusRequest").msgclass
227
+ AppRegistrationStatusResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.AppRegistrationStatusResponse").msgclass
228
+ AppRegistrationStatusResponse::Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.AppRegistrationStatusResponse.Status").enummodule
229
+ AppRegistrationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.AppRegistrationRequest").msgclass
230
+ AppVerifyRegistrationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.AppVerifyRegistrationRequest").msgclass
231
+ AppRegisterRejectRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.AppRegisterRejectRequest").msgclass
232
+ PauseTailRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.PauseTailRequest").msgclass
233
+ ResumeTailRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.ResumeTailRequest").msgclass
234
+ GetWasmRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetWasmRequest").msgclass
235
+ GetWasmResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetWasmResponse").msgclass
236
+ GetAllWasmRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetAllWasmRequest").msgclass
237
+ GetAllWasmResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetAllWasmResponse").msgclass
238
+ CreateWasmRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.CreateWasmRequest").msgclass
239
+ CreateWasmResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.CreateWasmResponse").msgclass
240
+ UpdateWasmRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.UpdateWasmRequest").msgclass
241
+ DeleteWasmRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.DeleteWasmRequest").msgclass
242
+ TestRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.TestRequest").msgclass
243
+ TestResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.TestResponse").msgclass
244
+ GetConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetConfigRequest").msgclass
245
+ GetConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetConfigResponse").msgclass
246
+ end
247
+ end
@@ -0,0 +1,84 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: sp_external.proto for package 'Streamdal.Protos'
3
+
4
+ require 'grpc'
5
+ require 'sp_external_pb'
6
+
7
+ module Streamdal
8
+ module Protos
9
+ module External
10
+ class Service
11
+
12
+ include ::GRPC::GenericService
13
+
14
+ self.marshal_class_method = :encode
15
+ self.unmarshal_class_method = :decode
16
+ self.service_name = 'protos.External'
17
+
18
+ # Returns all data needed for UI; called on initial console load
19
+ rpc :GetAll, ::Streamdal::Protos::GetAllRequest, ::Streamdal::Protos::GetAllResponse
20
+ # Returns the current _full_ configuration of the server
21
+ rpc :GetConfig, ::Streamdal::Protos::GetConfigRequest, ::Streamdal::Protos::GetConfigResponse
22
+ # Used by console to stream updates to UI; called after initial GetAll()
23
+ rpc :GetAllStream, ::Streamdal::Protos::GetAllRequest, stream(::Streamdal::Protos::GetAllResponse)
24
+ # Returns pipelines (_wasm_bytes field is stripped)
25
+ rpc :GetPipelines, ::Streamdal::Protos::GetPipelinesRequest, ::Streamdal::Protos::GetPipelinesResponse
26
+ # Returns a single pipeline (_wasm_bytes field is stripped)
27
+ rpc :GetPipeline, ::Streamdal::Protos::GetPipelineRequest, ::Streamdal::Protos::GetPipelineResponse
28
+ # Create a new pipeline; id must be left empty on create
29
+ rpc :CreatePipeline, ::Streamdal::Protos::CreatePipelineRequest, ::Streamdal::Protos::CreatePipelineResponse
30
+ # Update an existing pipeline; id must be set
31
+ rpc :UpdatePipeline, ::Streamdal::Protos::UpdatePipelineRequest, ::Streamdal::Protos::StandardResponse
32
+ # Delete a pipeline
33
+ rpc :DeletePipeline, ::Streamdal::Protos::DeletePipelineRequest, ::Streamdal::Protos::StandardResponse
34
+ rpc :SetPipelines, ::Streamdal::Protos::SetPipelinesRequest, ::Streamdal::Protos::StandardResponse
35
+ # Pause a pipeline; noop if pipeline is already paused
36
+ rpc :PausePipeline, ::Streamdal::Protos::PausePipelineRequest, ::Streamdal::Protos::StandardResponse
37
+ # Resume a pipeline; noop if pipeline is not paused
38
+ rpc :ResumePipeline, ::Streamdal::Protos::ResumePipelineRequest, ::Streamdal::Protos::StandardResponse
39
+ # Create a new notification config
40
+ rpc :CreateNotification, ::Streamdal::Protos::CreateNotificationRequest, ::Streamdal::Protos::CreateNotificationResponse
41
+ # Update an existing notification config
42
+ rpc :UpdateNotification, ::Streamdal::Protos::UpdateNotificationRequest, ::Streamdal::Protos::StandardResponse
43
+ # Delete a notification config
44
+ rpc :DeleteNotification, ::Streamdal::Protos::DeleteNotificationRequest, ::Streamdal::Protos::StandardResponse
45
+ # Returns all notification configs
46
+ rpc :GetNotifications, ::Streamdal::Protos::GetNotificationsRequest, ::Streamdal::Protos::GetNotificationsResponse
47
+ # Returns a single notification config
48
+ rpc :GetNotification, ::Streamdal::Protos::GetNotificationRequest, ::Streamdal::Protos::GetNotificationResponse
49
+ # Attach a notification config to a pipeline
50
+ rpc :AttachNotification, ::Streamdal::Protos::AttachNotificationRequest, ::Streamdal::Protos::StandardResponse
51
+ # Detach a notification config from a pipeline
52
+ rpc :DetachNotification, ::Streamdal::Protos::DetachNotificationRequest, ::Streamdal::Protos::StandardResponse
53
+ # Create an audience. Used for automation tooling (terraform, k8s cr's)
54
+ rpc :CreateAudience, ::Streamdal::Protos::CreateAudienceRequest, ::Streamdal::Protos::StandardResponse
55
+ # Delete an audience
56
+ rpc :DeleteAudience, ::Streamdal::Protos::DeleteAudienceRequest, ::Streamdal::Protos::StandardResponse
57
+ # Delete a service and all associated audiences
58
+ rpc :DeleteService, ::Streamdal::Protos::DeleteServiceRequest, ::Streamdal::Protos::StandardResponse
59
+ # Returns all metric counters
60
+ rpc :GetMetrics, ::Streamdal::Protos::GetMetricsRequest, stream(::Streamdal::Protos::GetMetricsResponse)
61
+ rpc :Tail, ::Streamdal::Protos::TailRequest, stream(::Streamdal::Protos::TailResponse)
62
+ rpc :PauseTail, ::Streamdal::Protos::PauseTailRequest, ::Streamdal::Protos::StandardResponse
63
+ rpc :ResumeTail, ::Streamdal::Protos::ResumeTailRequest, ::Streamdal::Protos::StandardResponse
64
+ rpc :GetAudienceRates, ::Streamdal::Protos::GetAudienceRatesRequest, stream(::Streamdal::Protos::GetAudienceRatesResponse)
65
+ rpc :GetSchema, ::Streamdal::Protos::GetSchemaRequest, ::Streamdal::Protos::GetSchemaResponse
66
+ rpc :AppRegistrationStatus, ::Streamdal::Protos::AppRegistrationStatusRequest, ::Streamdal::Protos::AppRegistrationStatusResponse
67
+ rpc :AppRegister, ::Streamdal::Protos::AppRegistrationRequest, ::Streamdal::Protos::StandardResponse
68
+ rpc :AppVerifyRegistration, ::Streamdal::Protos::AppVerifyRegistrationRequest, ::Streamdal::Protos::StandardResponse
69
+ rpc :AppRegisterReject, ::Streamdal::Protos::AppRegisterRejectRequest, ::Streamdal::Protos::StandardResponse
70
+ # BEGIN Wasm methods
71
+ rpc :GetWasm, ::Streamdal::Protos::GetWasmRequest, ::Streamdal::Protos::GetWasmResponse
72
+ rpc :GetAllWasm, ::Streamdal::Protos::GetAllWasmRequest, ::Streamdal::Protos::GetAllWasmResponse
73
+ rpc :CreateWasm, ::Streamdal::Protos::CreateWasmRequest, ::Streamdal::Protos::CreateWasmResponse
74
+ rpc :UpdateWasm, ::Streamdal::Protos::UpdateWasmRequest, ::Streamdal::Protos::StandardResponse
75
+ rpc :DeleteWasm, ::Streamdal::Protos::DeleteWasmRequest, ::Streamdal::Protos::StandardResponse
76
+ # END Wasm methods
77
+ # Test method
78
+ rpc :Test, ::Streamdal::Protos::TestRequest, ::Streamdal::Protos::TestResponse
79
+ end
80
+
81
+ Stub = Service.rpc_stub_class
82
+ end
83
+ end
84
+ end
data/lib/sp_info_pb.rb ADDED
@@ -0,0 +1,45 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: sp_info.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'sp_common_pb'
7
+ require 'sp_pipeline_pb'
8
+
9
+ Google::Protobuf::DescriptorPool.generated_pool.build do
10
+ add_file("sp_info.proto", :syntax => :proto3) do
11
+ add_message "protos.LiveInfo" do
12
+ repeated :audiences, :message, 1, "protos.Audience"
13
+ optional :client, :message, 2, "protos.ClientInfo"
14
+ end
15
+ add_message "protos.PipelineInfo" do
16
+ repeated :audiences, :message, 1, "protos.Audience"
17
+ optional :pipeline, :message, 2, "protos.Pipeline"
18
+ end
19
+ add_message "protos.ClientInfo" do
20
+ optional :client_type, :enum, 1, "protos.ClientType"
21
+ optional :library_name, :string, 2
22
+ optional :library_version, :string, 3
23
+ optional :language, :string, 4
24
+ optional :arch, :string, 5
25
+ optional :os, :string, 6
26
+ proto3_optional :_session_id, :string, 7
27
+ proto3_optional :_service_name, :string, 8
28
+ proto3_optional :_node_name, :string, 9
29
+ end
30
+ add_enum "protos.ClientType" do
31
+ value :CLIENT_TYPE_UNSET, 0
32
+ value :CLIENT_TYPE_SDK, 1
33
+ value :CLIENT_TYPE_SHIM, 2
34
+ end
35
+ end
36
+ end
37
+
38
+ module Streamdal
39
+ module Protos
40
+ LiveInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.LiveInfo").msgclass
41
+ PipelineInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.PipelineInfo").msgclass
42
+ ClientInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.ClientInfo").msgclass
43
+ ClientType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.ClientType").enummodule
44
+ end
45
+ end