chalk_ruby 0.1.4 → 0.2.1

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.
Files changed (99) hide show
  1. checksums.yaml +4 -4
  2. data/README.dev.md +8 -0
  3. data/chalk_ruby.gemspec +1 -0
  4. data/lib/chalk_ruby/config.rb +5 -0
  5. data/lib/chalk_ruby/defaults.rb +1 -0
  6. data/lib/chalk_ruby/grpc/auth_interceptor.rb +62 -0
  7. data/lib/chalk_ruby/grpc_client.rb +340 -0
  8. data/lib/chalk_ruby/http/http_requester.rb +2 -1
  9. data/lib/chalk_ruby/protos/chalk/aggregate/v1/backfill_pb.rb +28 -0
  10. data/lib/chalk_ruby/protos/chalk/aggregate/v1/service_pb.rb +36 -0
  11. data/lib/chalk_ruby/protos/chalk/aggregate/v1/service_services_pb.rb +42 -0
  12. data/lib/chalk_ruby/protos/chalk/aggregate/v1/timeseries_pb.rb +22 -0
  13. data/lib/chalk_ruby/protos/chalk/arrow/v1/arrow_pb.rb +41 -0
  14. data/lib/chalk_ruby/protos/chalk/artifacts/v1/cdc_pb.rb +20 -0
  15. data/lib/chalk_ruby/protos/chalk/artifacts/v1/chart_pb.rb +34 -0
  16. data/lib/chalk_ruby/protos/chalk/artifacts/v1/cron_query_pb.rb +22 -0
  17. data/lib/chalk_ruby/protos/chalk/artifacts/v1/deployment_pb.rb +25 -0
  18. data/lib/chalk_ruby/protos/chalk/artifacts/v1/export_pb.rb +35 -0
  19. data/lib/chalk_ruby/protos/chalk/auth/v1/agent_pb.rb +29 -0
  20. data/lib/chalk_ruby/protos/chalk/auth/v1/audit_pb.rb +22 -0
  21. data/lib/chalk_ruby/protos/chalk/auth/v1/displayagent_pb.rb +31 -0
  22. data/lib/chalk_ruby/protos/chalk/auth/v1/featurepermission_pb.rb +20 -0
  23. data/lib/chalk_ruby/protos/chalk/auth/v1/permissions_pb.rb +22 -0
  24. data/lib/chalk_ruby/protos/chalk/common/v1/chalk_error_pb.rb +22 -0
  25. data/lib/chalk_ruby/protos/chalk/common/v1/chart_pb.rb +20 -0
  26. data/lib/chalk_ruby/protos/chalk/common/v1/dataset_response_pb.rb +26 -0
  27. data/lib/chalk_ruby/protos/chalk/common/v1/feature_values_pb.rb +31 -0
  28. data/lib/chalk_ruby/protos/chalk/common/v1/offline_query_pb.rb +32 -0
  29. data/lib/chalk_ruby/protos/chalk/common/v1/online_query_pb.rb +44 -0
  30. data/lib/chalk_ruby/protos/chalk/common/v1/operation_kind_pb.rb +19 -0
  31. data/lib/chalk_ruby/protos/chalk/common/v1/query_log_pb.rb +28 -0
  32. data/lib/chalk_ruby/protos/chalk/common/v1/query_status_pb.rb +19 -0
  33. data/lib/chalk_ruby/protos/chalk/common/v1/query_values_pb.rb +26 -0
  34. data/lib/chalk_ruby/protos/chalk/common/v1/upload_features_pb.rb +22 -0
  35. data/lib/chalk_ruby/protos/chalk/engine/v1/bloom_filter_pb.rb +19 -0
  36. data/lib/chalk_ruby/protos/chalk/engine/v1/offline_store_service_pb.rb +24 -0
  37. data/lib/chalk_ruby/protos/chalk/engine/v1/offline_store_service_services_pb.rb +31 -0
  38. data/lib/chalk_ruby/protos/chalk/engine/v1/plan_pb.rb +39 -0
  39. data/lib/chalk_ruby/protos/chalk/engine/v1/plan_server_pb.rb +25 -0
  40. data/lib/chalk_ruby/protos/chalk/engine/v1/plan_server_services_pb.rb +28 -0
  41. data/lib/chalk_ruby/protos/chalk/engine/v1/query_server_pb.rb +25 -0
  42. data/lib/chalk_ruby/protos/chalk/engine/v1/query_server_services_pb.rb +44 -0
  43. data/lib/chalk_ruby/protos/chalk/engine/v2/feature_values_chart_pb.rb +29 -0
  44. data/lib/chalk_ruby/protos/chalk/engine/v2/feature_values_pb.rb +27 -0
  45. data/lib/chalk_ruby/protos/chalk/engine/v2/offline_store_service_pb.rb +25 -0
  46. data/lib/chalk_ruby/protos/chalk/engine/v2/offline_store_service_services_pb.rb +33 -0
  47. data/lib/chalk_ruby/protos/chalk/engine/v2/query_log_pb.rb +28 -0
  48. data/lib/chalk_ruby/protos/chalk/engine/v2/query_values_pb.rb +26 -0
  49. data/lib/chalk_ruby/protos/chalk/expression/v1/expression_pb.rb +76 -0
  50. data/lib/chalk_ruby/protos/chalk/graph/v1/graph_pb.rb +63 -0
  51. data/lib/chalk_ruby/protos/chalk/graph/v1/sources_pb.rb +41 -0
  52. data/lib/chalk_ruby/protos/chalk/graph/v2/sources_pb.rb +25 -0
  53. data/lib/chalk_ruby/protos/chalk/lsp/v1/lsp_pb.rb +32 -0
  54. data/lib/chalk_ruby/protos/chalk/server/v1/audit_pb.rb +27 -0
  55. data/lib/chalk_ruby/protos/chalk/server/v1/audit_services_pb.rb +26 -0
  56. data/lib/chalk_ruby/protos/chalk/server/v1/auth_pb.rb +29 -0
  57. data/lib/chalk_ruby/protos/chalk/server/v1/auth_services_pb.rb +29 -0
  58. data/lib/chalk_ruby/protos/chalk/server/v1/authtesting_pb.rb +34 -0
  59. data/lib/chalk_ruby/protos/chalk/server/v1/authtesting_services_pb.rb +32 -0
  60. data/lib/chalk_ruby/protos/chalk/server/v1/billing_pb.rb +37 -0
  61. data/lib/chalk_ruby/protos/chalk/server/v1/billing_services_pb.rb +43 -0
  62. data/lib/chalk_ruby/protos/chalk/server/v1/bootstrap_pb.rb +24 -0
  63. data/lib/chalk_ruby/protos/chalk/server/v1/builder_pb.rb +60 -0
  64. data/lib/chalk_ruby/protos/chalk/server/v1/builder_services_pb.rb +50 -0
  65. data/lib/chalk_ruby/protos/chalk/server/v1/chart_pb.rb +26 -0
  66. data/lib/chalk_ruby/protos/chalk/server/v1/cli_pb.rb +23 -0
  67. data/lib/chalk_ruby/protos/chalk/server/v1/cli_services_pb.rb +26 -0
  68. data/lib/chalk_ruby/protos/chalk/server/v1/deploy_pb.rb +36 -0
  69. data/lib/chalk_ruby/protos/chalk/server/v1/deploy_services_pb.rb +32 -0
  70. data/lib/chalk_ruby/protos/chalk/server/v1/deployment_pb.rb +23 -0
  71. data/lib/chalk_ruby/protos/chalk/server/v1/environment_pb.rb +32 -0
  72. data/lib/chalk_ruby/protos/chalk/server/v1/flag_pb.rb +26 -0
  73. data/lib/chalk_ruby/protos/chalk/server/v1/flag_services_pb.rb +27 -0
  74. data/lib/chalk_ruby/protos/chalk/server/v1/graph_pb.rb +31 -0
  75. data/lib/chalk_ruby/protos/chalk/server/v1/graph_services_pb.rb +31 -0
  76. data/lib/chalk_ruby/protos/chalk/server/v1/kube_pb.rb +22 -0
  77. data/lib/chalk_ruby/protos/chalk/server/v1/kube_services_pb.rb +28 -0
  78. data/lib/chalk_ruby/protos/chalk/server/v1/link_pb.rb +28 -0
  79. data/lib/chalk_ruby/protos/chalk/server/v1/log_pb.rb +21 -0
  80. data/lib/chalk_ruby/protos/chalk/server/v1/metrics_pb.rb +23 -0
  81. data/lib/chalk_ruby/protos/chalk/server/v1/metrics_services_pb.rb +26 -0
  82. data/lib/chalk_ruby/protos/chalk/server/v1/monitoring_pb.rb +45 -0
  83. data/lib/chalk_ruby/protos/chalk/server/v1/monitoring_services_pb.rb +32 -0
  84. data/lib/chalk_ruby/protos/chalk/server/v1/named_query_pb.rb +27 -0
  85. data/lib/chalk_ruby/protos/chalk/server/v1/named_query_services_pb.rb +28 -0
  86. data/lib/chalk_ruby/protos/chalk/server/v1/pod_request_pb.rb +26 -0
  87. data/lib/chalk_ruby/protos/chalk/server/v1/status_pb.rb +31 -0
  88. data/lib/chalk_ruby/protos/chalk/server/v1/status_services_pb.rb +31 -0
  89. data/lib/chalk_ruby/protos/chalk/server/v1/team_pb.rb +78 -0
  90. data/lib/chalk_ruby/protos/chalk/server/v1/team_services_pb.rb +49 -0
  91. data/lib/chalk_ruby/protos/chalk/server/v1/timeserieschart_pb.rb +24 -0
  92. data/lib/chalk_ruby/protos/chalk/server/v1/topic_pb.rb +21 -0
  93. data/lib/chalk_ruby/protos/chalk/server/v1/topicpush_pb.rb +32 -0
  94. data/lib/chalk_ruby/protos/chalk/server/v1/topicpush_services_pb.rb +30 -0
  95. data/lib/chalk_ruby/protos/chalk/utils/v1/encoding_pb.rb +21 -0
  96. data/lib/chalk_ruby/protos/chalk/utils/v1/sensitive_pb.rb +20 -0
  97. data/lib/chalk_ruby/version.rb +1 -1
  98. data/lib/chalk_ruby.rb +1 -0
  99. metadata +117 -6
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: chalk/server/v1/timeserieschart.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/protobuf/duration_pb'
8
+ require 'google/protobuf/timestamp_pb'
9
+
10
+
11
+ descriptor_data = "\n%chalk/server/v1/timeserieschart.proto\x12\x0f\x63halk.server.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"2\n\x07PointV2\x12\x19\n\x05value\x18\x01 \x01(\x01H\x00R\x05value\x88\x01\x01:\x02\x18\x01\x42\x08\n\x06_value\"p\n\x0cTimeSeriesV2\x12\x30\n\x06points\x18\x01 \x03(\x0b\x32\x18.chalk.server.v1.PointV2R\x06points\x12\x14\n\x05label\x18\x02 \x01(\tR\x05label\x12\x14\n\x05units\x18\x03 \x01(\tR\x05units:\x02\x18\x01\"\xdb\x01\n\x11TimeSeriesChartV2\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12\x35\n\x06series\x18\x02 \x03(\x0b\x32\x1d.chalk.server.v1.TimeSeriesV2R\x06series\x12\x35\n\x08x_series\x18\x03 \x03(\x0b\x32\x1a.google.protobuf.TimestampR\x07xSeries\x12>\n\rwindow_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0cwindowPeriod:\x02\x18\x01\x42\x9d\x01\n\x13\x63om.chalk.server.v1B\x14TimeserieschartProtoP\x01Z\x12server/v1;serverv1\xa2\x02\x03\x43SX\xaa\x02\x0f\x43halk.Server.V1\xca\x02\x0f\x43halk\\Server\\V1\xe2\x02\x1b\x43halk\\Server\\V1\\GPBMetadata\xea\x02\x11\x43halk::Server::V1b\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+ pool.add_serialized_file(descriptor_data)
15
+
16
+ module Chalk
17
+ module Server
18
+ module V1
19
+ PointV2 = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.server.v1.PointV2").msgclass
20
+ TimeSeriesV2 = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.server.v1.TimeSeriesV2").msgclass
21
+ TimeSeriesChartV2 = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.server.v1.TimeSeriesChartV2").msgclass
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: chalk/server/v1/topic.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+
8
+ descriptor_data = "\n\x1b\x63halk/server/v1/topic.proto\x12\x0f\x63halk.server.v1\"\'\n\x08SQSTopic\x12\x1b\n\tqueue_url\x18\x01 \x01(\tR\x08queueUrl\"G\n\x0bPubSubTopic\x12\x1d\n\nproject_id\x18\x01 \x01(\tR\tprojectId\x12\x19\n\x08topic_id\x18\x02 \x01(\tR\x07topicId\"\x8d\x01\n\x05Topic\x12\x38\n\tsqs_topic\x18\x01 \x01(\x0b\x32\x19.chalk.server.v1.SQSTopicH\x00R\x08sqsTopic\x12\x41\n\x0cpubsub_topic\x18\x02 \x01(\x0b\x32\x1c.chalk.server.v1.PubSubTopicH\x00R\x0bpubsubTopicB\x07\n\x05topicB\x93\x01\n\x13\x63om.chalk.server.v1B\nTopicProtoP\x01Z\x12server/v1;serverv1\xa2\x02\x03\x43SX\xaa\x02\x0f\x43halk.Server.V1\xca\x02\x0f\x43halk\\Server\\V1\xe2\x02\x1b\x43halk\\Server\\V1\\GPBMetadata\xea\x02\x11\x43halk::Server::V1b\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+ pool.add_serialized_file(descriptor_data)
12
+
13
+ module Chalk
14
+ module Server
15
+ module V1
16
+ SQSTopic = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.server.v1.SQSTopic").msgclass
17
+ PubSubTopic = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.server.v1.PubSubTopic").msgclass
18
+ Topic = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.server.v1.Topic").msgclass
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,32 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: chalk/server/v1/topicpush.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'chalk_ruby/protos/chalk/auth/v1/permissions_pb'
8
+ require 'chalk_ruby/protos/chalk/server/v1/topic_pb'
9
+
10
+
11
+ descriptor_data = "\n\x1f\x63halk/server/v1/topicpush.proto\x12\x0f\x63halk.server.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a\x1b\x63halk/server/v1/topic.proto\"\xef\x02\n\x0cScheduledJob\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x18\n\x07payload\x18\x03 \x01(\tR\x07payload\x12\x1a\n\x08schedule\x18\x04 \x01(\tR\x08schedule\x12,\n\x05topic\x18\x05 \x01(\x0b\x32\x16.chalk.server.v1.TopicR\x05topic\x12M\n\nattributes\x18\x06 \x03(\x0b\x32-.chalk.server.v1.ScheduledJob.AttributesEntryR\nattributes\x12%\n\x0b\x65nvironment\x18\x07 \x01(\tH\x00R\x0b\x65nvironment\x88\x01\x01\x12\x12\n\x04tags\x18\x08 \x03(\tR\x04tags\x1a=\n\x0f\x41ttributesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\x0e\n\x0c_environment\"\xf7\x02\n\x10UpdateJobRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x18\n\x07payload\x18\x03 \x01(\tR\x07payload\x12\x1a\n\x08schedule\x18\x04 \x01(\tR\x08schedule\x12,\n\x05topic\x18\x05 \x01(\x0b\x32\x16.chalk.server.v1.TopicR\x05topic\x12Q\n\nattributes\x18\x06 \x03(\x0b\x32\x31.chalk.server.v1.UpdateJobRequest.AttributesEntryR\nattributes\x12%\n\x0b\x65nvironment\x18\x07 \x01(\tH\x00R\x0b\x65nvironment\x88\x01\x01\x12\x12\n\x04tags\x18\x08 \x03(\tR\x04tags\x1a=\n\x0f\x41ttributesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\x0e\n\x0c_environment\"D\n\x11UpdateJobResponse\x12/\n\x03job\x18\x01 \x01(\x0b\x32\x1d.chalk.server.v1.ScheduledJobR\x03job\"\x11\n\x0fListJobsRequest\"E\n\x10ListJobsResponse\x12\x31\n\x04jobs\x18\x01 \x03(\x0b\x32\x1d.chalk.server.v1.ScheduledJobR\x04jobs\"\xe7\x02\n\x10\x43reateJobRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n\x07payload\x18\x02 \x01(\tR\x07payload\x12\x1a\n\x08schedule\x18\x03 \x01(\tR\x08schedule\x12,\n\x05topic\x18\x04 \x01(\x0b\x32\x16.chalk.server.v1.TopicR\x05topic\x12Q\n\nattributes\x18\x05 \x03(\x0b\x32\x31.chalk.server.v1.CreateJobRequest.AttributesEntryR\nattributes\x12%\n\x0b\x65nvironment\x18\x07 \x01(\tH\x00R\x0b\x65nvironment\x88\x01\x01\x12\x12\n\x04tags\x18\x08 \x03(\tR\x04tags\x1a=\n\x0f\x41ttributesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\x0e\n\x0c_environment\"D\n\x11\x43reateJobResponse\x12/\n\x03job\x18\x01 \x01(\x0b\x32\x1d.chalk.server.v1.ScheduledJobR\x03job\"\"\n\x10\x44\x65leteJobRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x13\n\x11\x44\x65leteJobResponse\")\n\x13GetJobByNameRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"G\n\x14GetJobByNameResponse\x12/\n\x03job\x18\x01 \x01(\x0b\x32\x1d.chalk.server.v1.ScheduledJobR\x03job2\xde\x03\n\x10TopicPushService\x12W\n\x08ListJobs\x12 .chalk.server.v1.ListJobsRequest\x1a!.chalk.server.v1.ListJobsResponse\"\x06\x90\x02\x01\x80}\x1b\x12W\n\tCreateJob\x12!.chalk.server.v1.CreateJobRequest\x1a\".chalk.server.v1.CreateJobResponse\"\x03\x80}\x1b\x12Z\n\tUpdateJob\x12!.chalk.server.v1.UpdateJobRequest\x1a\".chalk.server.v1.UpdateJobResponse\"\x06\x90\x02\x02\x80}\x1b\x12W\n\tDeleteJob\x12!.chalk.server.v1.DeleteJobRequest\x1a\".chalk.server.v1.DeleteJobResponse\"\x03\x80}\x1b\x12\x63\n\x0cGetJobByName\x12$.chalk.server.v1.GetJobByNameRequest\x1a%.chalk.server.v1.GetJobByNameResponse\"\x06\x90\x02\x02\x80}\x1b\x42\x97\x01\n\x13\x63om.chalk.server.v1B\x0eTopicpushProtoP\x01Z\x12server/v1;serverv1\xa2\x02\x03\x43SX\xaa\x02\x0f\x43halk.Server.V1\xca\x02\x0f\x43halk\\Server\\V1\xe2\x02\x1b\x43halk\\Server\\V1\\GPBMetadata\xea\x02\x11\x43halk::Server::V1b\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+ pool.add_serialized_file(descriptor_data)
15
+
16
+ module Chalk
17
+ module Server
18
+ module V1
19
+ ScheduledJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.server.v1.ScheduledJob").msgclass
20
+ UpdateJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.server.v1.UpdateJobRequest").msgclass
21
+ UpdateJobResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.server.v1.UpdateJobResponse").msgclass
22
+ ListJobsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.server.v1.ListJobsRequest").msgclass
23
+ ListJobsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.server.v1.ListJobsResponse").msgclass
24
+ CreateJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.server.v1.CreateJobRequest").msgclass
25
+ CreateJobResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.server.v1.CreateJobResponse").msgclass
26
+ DeleteJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.server.v1.DeleteJobRequest").msgclass
27
+ DeleteJobResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.server.v1.DeleteJobResponse").msgclass
28
+ GetJobByNameRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.server.v1.GetJobByNameRequest").msgclass
29
+ GetJobByNameResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.server.v1.GetJobByNameResponse").msgclass
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,30 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: chalk/server/v1/topicpush.proto for package 'Chalk.Server.V1'
3
+
4
+ require 'grpc'
5
+ require 'chalk_ruby/protos/chalk/server/v1/topicpush_pb'
6
+
7
+ module Chalk
8
+ module Server
9
+ module V1
10
+ module TopicPushService
11
+ class Service
12
+
13
+ include ::GRPC::GenericService
14
+
15
+ self.marshal_class_method = :encode
16
+ self.unmarshal_class_method = :decode
17
+ self.service_name = 'chalk.server.v1.TopicPushService'
18
+
19
+ rpc :ListJobs, ::Chalk::Server::V1::ListJobsRequest, ::Chalk::Server::V1::ListJobsResponse
20
+ rpc :CreateJob, ::Chalk::Server::V1::CreateJobRequest, ::Chalk::Server::V1::CreateJobResponse
21
+ rpc :UpdateJob, ::Chalk::Server::V1::UpdateJobRequest, ::Chalk::Server::V1::UpdateJobResponse
22
+ rpc :DeleteJob, ::Chalk::Server::V1::DeleteJobRequest, ::Chalk::Server::V1::DeleteJobResponse
23
+ rpc :GetJobByName, ::Chalk::Server::V1::GetJobByNameRequest, ::Chalk::Server::V1::GetJobByNameResponse
24
+ end
25
+
26
+ Stub = Service.rpc_stub_class
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: chalk/utils/v1/encoding.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/protobuf/descriptor_pb'
8
+
9
+
10
+ descriptor_data = "\n\x1d\x63halk/utils/v1/encoding.proto\x12\x0e\x63halk.utils.v1\x1a google/protobuf/descriptor.proto\"\x93\x01\n\x0eStringEncoding\x12\x45\n\x07mapping\x18\x01 \x03(\x0b\x32+.chalk.utils.v1.StringEncoding.MappingEntryR\x07mapping\x1a:\n\x0cMappingEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01:]\n\x08\x65ncoding\x12\x1c.google.protobuf.EnumOptions\x18\x9c\xf4\x04 \x01(\x0b\x32\x1e.chalk.utils.v1.StringEncodingR\x08\x65ncoding\x88\x01\x01\x42}\n\x12\x63om.chalk.utils.v1B\rEncodingProtoP\x01\xa2\x02\x03\x43UX\xaa\x02\x0e\x43halk.Utils.V1\xca\x02\x0e\x43halk\\Utils\\V1\xe2\x02\x1a\x43halk\\Utils\\V1\\GPBMetadata\xea\x02\x10\x43halk::Utils::V1b\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+ pool.add_serialized_file(descriptor_data)
14
+
15
+ module Chalk
16
+ module Utils
17
+ module V1
18
+ StringEncoding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.utils.v1.StringEncoding").msgclass
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: chalk/utils/v1/sensitive.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/protobuf/descriptor_pb'
8
+
9
+
10
+ descriptor_data = "\n\x1e\x63halk/utils/v1/sensitive.proto\x12\x0e\x63halk.utils.v1\x1a google/protobuf/descriptor.proto:@\n\tsensitive\x12\x1d.google.protobuf.FieldOptions\x18\x9b\xf4\x04 \x01(\x08R\tsensitive\x88\x01\x01\x42~\n\x12\x63om.chalk.utils.v1B\x0eSensitiveProtoP\x01\xa2\x02\x03\x43UX\xaa\x02\x0e\x43halk.Utils.V1\xca\x02\x0e\x43halk\\Utils\\V1\xe2\x02\x1a\x43halk\\Utils\\V1\\GPBMetadata\xea\x02\x10\x43halk::Utils::V1b\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+ pool.add_serialized_file(descriptor_data)
14
+
15
+ module Chalk
16
+ module Utils
17
+ module V1
18
+ end
19
+ end
20
+ end
@@ -1,3 +1,3 @@
1
1
  module ChalkRuby
2
- VERSION = '0.1.4'.freeze
2
+ VERSION = '0.2.1'.freeze
3
3
  end
data/lib/chalk_ruby.rb CHANGED
@@ -7,6 +7,7 @@ module ChalkRuby
7
7
  require 'chalk_ruby/http/response'
8
8
  require 'chalk_ruby/http/http_requester_chalk'
9
9
  require 'chalk_ruby/client'
10
+ require 'chalk_ruby/grpc_client'
10
11
  require 'chalk_ruby/error'
11
12
  require 'chalk_ruby/logger_helper'
12
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chalk_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chalk AI, Inc.
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-12-05 00:00:00.000000000 Z
11
+ date: 2025-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -92,6 +92,26 @@ dependencies:
92
92
  - - "<"
93
93
  - !ruby/object:Gem::Version
94
94
  version: '3'
95
+ - !ruby/object:Gem::Dependency
96
+ name: grpc
97
+ requirement: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ version: 1.68.1
102
+ - - "<"
103
+ - !ruby/object:Gem::Version
104
+ version: '2'
105
+ type: :runtime
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ version: 1.68.1
112
+ - - "<"
113
+ - !ruby/object:Gem::Version
114
+ version: '2'
95
115
  - !ruby/object:Gem::Dependency
96
116
  name: multi_json
97
117
  requirement: !ruby/object:Gem::Requirement
@@ -205,6 +225,7 @@ files:
205
225
  - ".rubocop_todo.yml"
206
226
  - Gemfile
207
227
  - LICENSE
228
+ - README.dev.md
208
229
  - README.md
209
230
  - Rakefile
210
231
  - SECURITY.md
@@ -217,11 +238,101 @@ files:
217
238
  - lib/chalk_ruby/config.rb
218
239
  - lib/chalk_ruby/defaults.rb
219
240
  - lib/chalk_ruby/error.rb
241
+ - lib/chalk_ruby/grpc/auth_interceptor.rb
242
+ - lib/chalk_ruby/grpc_client.rb
220
243
  - lib/chalk_ruby/helpers.rb
221
244
  - lib/chalk_ruby/http/http_requester.rb
222
245
  - lib/chalk_ruby/http/http_requester_chalk.rb
223
246
  - lib/chalk_ruby/http/response.rb
224
247
  - lib/chalk_ruby/logger_helper.rb
248
+ - lib/chalk_ruby/protos/chalk/aggregate/v1/backfill_pb.rb
249
+ - lib/chalk_ruby/protos/chalk/aggregate/v1/service_pb.rb
250
+ - lib/chalk_ruby/protos/chalk/aggregate/v1/service_services_pb.rb
251
+ - lib/chalk_ruby/protos/chalk/aggregate/v1/timeseries_pb.rb
252
+ - lib/chalk_ruby/protos/chalk/arrow/v1/arrow_pb.rb
253
+ - lib/chalk_ruby/protos/chalk/artifacts/v1/cdc_pb.rb
254
+ - lib/chalk_ruby/protos/chalk/artifacts/v1/chart_pb.rb
255
+ - lib/chalk_ruby/protos/chalk/artifacts/v1/cron_query_pb.rb
256
+ - lib/chalk_ruby/protos/chalk/artifacts/v1/deployment_pb.rb
257
+ - lib/chalk_ruby/protos/chalk/artifacts/v1/export_pb.rb
258
+ - lib/chalk_ruby/protos/chalk/auth/v1/agent_pb.rb
259
+ - lib/chalk_ruby/protos/chalk/auth/v1/audit_pb.rb
260
+ - lib/chalk_ruby/protos/chalk/auth/v1/displayagent_pb.rb
261
+ - lib/chalk_ruby/protos/chalk/auth/v1/featurepermission_pb.rb
262
+ - lib/chalk_ruby/protos/chalk/auth/v1/permissions_pb.rb
263
+ - lib/chalk_ruby/protos/chalk/common/v1/chalk_error_pb.rb
264
+ - lib/chalk_ruby/protos/chalk/common/v1/chart_pb.rb
265
+ - lib/chalk_ruby/protos/chalk/common/v1/dataset_response_pb.rb
266
+ - lib/chalk_ruby/protos/chalk/common/v1/feature_values_pb.rb
267
+ - lib/chalk_ruby/protos/chalk/common/v1/offline_query_pb.rb
268
+ - lib/chalk_ruby/protos/chalk/common/v1/online_query_pb.rb
269
+ - lib/chalk_ruby/protos/chalk/common/v1/operation_kind_pb.rb
270
+ - lib/chalk_ruby/protos/chalk/common/v1/query_log_pb.rb
271
+ - lib/chalk_ruby/protos/chalk/common/v1/query_status_pb.rb
272
+ - lib/chalk_ruby/protos/chalk/common/v1/query_values_pb.rb
273
+ - lib/chalk_ruby/protos/chalk/common/v1/upload_features_pb.rb
274
+ - lib/chalk_ruby/protos/chalk/engine/v1/bloom_filter_pb.rb
275
+ - lib/chalk_ruby/protos/chalk/engine/v1/offline_store_service_pb.rb
276
+ - lib/chalk_ruby/protos/chalk/engine/v1/offline_store_service_services_pb.rb
277
+ - lib/chalk_ruby/protos/chalk/engine/v1/plan_pb.rb
278
+ - lib/chalk_ruby/protos/chalk/engine/v1/plan_server_pb.rb
279
+ - lib/chalk_ruby/protos/chalk/engine/v1/plan_server_services_pb.rb
280
+ - lib/chalk_ruby/protos/chalk/engine/v1/query_server_pb.rb
281
+ - lib/chalk_ruby/protos/chalk/engine/v1/query_server_services_pb.rb
282
+ - lib/chalk_ruby/protos/chalk/engine/v2/feature_values_chart_pb.rb
283
+ - lib/chalk_ruby/protos/chalk/engine/v2/feature_values_pb.rb
284
+ - lib/chalk_ruby/protos/chalk/engine/v2/offline_store_service_pb.rb
285
+ - lib/chalk_ruby/protos/chalk/engine/v2/offline_store_service_services_pb.rb
286
+ - lib/chalk_ruby/protos/chalk/engine/v2/query_log_pb.rb
287
+ - lib/chalk_ruby/protos/chalk/engine/v2/query_values_pb.rb
288
+ - lib/chalk_ruby/protos/chalk/expression/v1/expression_pb.rb
289
+ - lib/chalk_ruby/protos/chalk/graph/v1/graph_pb.rb
290
+ - lib/chalk_ruby/protos/chalk/graph/v1/sources_pb.rb
291
+ - lib/chalk_ruby/protos/chalk/graph/v2/sources_pb.rb
292
+ - lib/chalk_ruby/protos/chalk/lsp/v1/lsp_pb.rb
293
+ - lib/chalk_ruby/protos/chalk/server/v1/audit_pb.rb
294
+ - lib/chalk_ruby/protos/chalk/server/v1/audit_services_pb.rb
295
+ - lib/chalk_ruby/protos/chalk/server/v1/auth_pb.rb
296
+ - lib/chalk_ruby/protos/chalk/server/v1/auth_services_pb.rb
297
+ - lib/chalk_ruby/protos/chalk/server/v1/authtesting_pb.rb
298
+ - lib/chalk_ruby/protos/chalk/server/v1/authtesting_services_pb.rb
299
+ - lib/chalk_ruby/protos/chalk/server/v1/billing_pb.rb
300
+ - lib/chalk_ruby/protos/chalk/server/v1/billing_services_pb.rb
301
+ - lib/chalk_ruby/protos/chalk/server/v1/bootstrap_pb.rb
302
+ - lib/chalk_ruby/protos/chalk/server/v1/builder_pb.rb
303
+ - lib/chalk_ruby/protos/chalk/server/v1/builder_services_pb.rb
304
+ - lib/chalk_ruby/protos/chalk/server/v1/chart_pb.rb
305
+ - lib/chalk_ruby/protos/chalk/server/v1/cli_pb.rb
306
+ - lib/chalk_ruby/protos/chalk/server/v1/cli_services_pb.rb
307
+ - lib/chalk_ruby/protos/chalk/server/v1/deploy_pb.rb
308
+ - lib/chalk_ruby/protos/chalk/server/v1/deploy_services_pb.rb
309
+ - lib/chalk_ruby/protos/chalk/server/v1/deployment_pb.rb
310
+ - lib/chalk_ruby/protos/chalk/server/v1/environment_pb.rb
311
+ - lib/chalk_ruby/protos/chalk/server/v1/flag_pb.rb
312
+ - lib/chalk_ruby/protos/chalk/server/v1/flag_services_pb.rb
313
+ - lib/chalk_ruby/protos/chalk/server/v1/graph_pb.rb
314
+ - lib/chalk_ruby/protos/chalk/server/v1/graph_services_pb.rb
315
+ - lib/chalk_ruby/protos/chalk/server/v1/kube_pb.rb
316
+ - lib/chalk_ruby/protos/chalk/server/v1/kube_services_pb.rb
317
+ - lib/chalk_ruby/protos/chalk/server/v1/link_pb.rb
318
+ - lib/chalk_ruby/protos/chalk/server/v1/log_pb.rb
319
+ - lib/chalk_ruby/protos/chalk/server/v1/metrics_pb.rb
320
+ - lib/chalk_ruby/protos/chalk/server/v1/metrics_services_pb.rb
321
+ - lib/chalk_ruby/protos/chalk/server/v1/monitoring_pb.rb
322
+ - lib/chalk_ruby/protos/chalk/server/v1/monitoring_services_pb.rb
323
+ - lib/chalk_ruby/protos/chalk/server/v1/named_query_pb.rb
324
+ - lib/chalk_ruby/protos/chalk/server/v1/named_query_services_pb.rb
325
+ - lib/chalk_ruby/protos/chalk/server/v1/pod_request_pb.rb
326
+ - lib/chalk_ruby/protos/chalk/server/v1/status_pb.rb
327
+ - lib/chalk_ruby/protos/chalk/server/v1/status_services_pb.rb
328
+ - lib/chalk_ruby/protos/chalk/server/v1/team_pb.rb
329
+ - lib/chalk_ruby/protos/chalk/server/v1/team_services_pb.rb
330
+ - lib/chalk_ruby/protos/chalk/server/v1/timeserieschart_pb.rb
331
+ - lib/chalk_ruby/protos/chalk/server/v1/topic_pb.rb
332
+ - lib/chalk_ruby/protos/chalk/server/v1/topicpush_pb.rb
333
+ - lib/chalk_ruby/protos/chalk/server/v1/topicpush_services_pb.rb
334
+ - lib/chalk_ruby/protos/chalk/utils/v1/encoding_pb.rb
335
+ - lib/chalk_ruby/protos/chalk/utils/v1/sensitive_pb.rb
225
336
  - lib/chalk_ruby/token.rb
226
337
  - lib/chalk_ruby/version.rb
227
338
  - renovate.json
@@ -245,7 +356,7 @@ metadata:
245
356
  bug_tracker_uri: https://github.com/chalk-ai/chalk-ruby/issues
246
357
  documentation_uri: https://docs.chalk.ai/docs
247
358
  source_code_uri: https://github.com/chalk-ai/chalk-ruby
248
- post_install_message:
359
+ post_install_message:
249
360
  rdoc_options: []
250
361
  require_paths:
251
362
  - lib
@@ -260,8 +371,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
260
371
  - !ruby/object:Gem::Version
261
372
  version: '0'
262
373
  requirements: []
263
- rubygems_version: 3.0.3.1
264
- signing_key:
374
+ rubygems_version: 3.5.22
375
+ signing_key:
265
376
  specification_version: 4
266
377
  summary: A simple Ruby client for Chalk
267
378
  test_files: