Skip to main content

chalk_client/gen/
chalk.graph.v2.rs

1// This file is @generated by prost-build.
2/// Pointer to an underlying database source -- used by native sql resolvers to identify which DB they are for
3#[derive(Clone, PartialEq, ::prost::Message)]
4pub struct DatabaseSourceReference {
5    /// The type of the database source -- e.g. postgres, bigquery
6    #[prost(string, tag = "1")]
7    pub source_type: ::prost::alloc::string::String,
8    /// The (customer provided) name for the database source. The default source for the given type is represented by the empty string
9    #[prost(string, tag = "2")]
10    pub name: ::prost::alloc::string::String,
11}
12#[derive(Clone, PartialEq, ::prost::Message)]
13pub struct DatabaseSource {
14    /// The type of the database source -- e.g. postgres, bigquery
15    #[prost(string, tag = "1")]
16    pub source_type: ::prost::alloc::string::String,
17    /// The (customer provided) name for the database source. The default source for the given type is represented by the empty string
18    #[prost(string, tag = "2")]
19    pub name: ::prost::alloc::string::String,
20    /// Additional source-specific options. DO NOT STORE CREDENTIALS IN HERE.
21    #[prost(map = "string, message", tag = "3")]
22    pub options: ::std::collections::HashMap<
23        ::prost::alloc::string::String,
24        ::prost_types::Value,
25    >,
26}
27#[derive(Clone, PartialEq, ::prost::Message)]
28pub struct DatabaseSourceGroup {
29    #[prost(string, tag = "1")]
30    pub name: ::prost::alloc::string::String,
31    #[prost(message, optional, tag = "2")]
32    pub default_source: ::core::option::Option<DatabaseSourceReference>,
33    #[prost(map = "string, message", tag = "3")]
34    pub tagged_sources: ::std::collections::HashMap<
35        ::prost::alloc::string::String,
36        DatabaseSourceReference,
37    >,
38}
39/// Pointer to an underlying stream source -- used by stream resolvers
40#[derive(Clone, PartialEq, ::prost::Message)]
41pub struct StreamSourceReference {
42    /// The type of the stream source -- e.g. kafka, pubsub, sqs
43    #[prost(string, tag = "1")]
44    pub source_type: ::prost::alloc::string::String,
45    /// The (customer provided) name for the stream source. The default source for the given type is represented by the empty string
46    #[prost(string, tag = "2")]
47    pub name: ::prost::alloc::string::String,
48}
49#[derive(Clone, PartialEq, ::prost::Message)]
50pub struct StreamSource {
51    /// The type of the stream source -- e.g. kafka, pubsub, sqs
52    #[prost(string, tag = "1")]
53    pub source_type: ::prost::alloc::string::String,
54    /// The (customer provided) name for the stream source. The default source for the given type is represented by the empty string
55    #[prost(string, tag = "2")]
56    pub name: ::prost::alloc::string::String,
57    /// Additional source-specific options. DO NOT STORE CREDENTIALS IN HERE.
58    #[prost(map = "string, message", tag = "3")]
59    pub options: ::std::collections::HashMap<
60        ::prost::alloc::string::String,
61        ::prost_types::Value,
62    >,
63}
64#[derive(Clone, PartialEq, ::prost::Message)]
65pub struct SourceSecrets {
66    /// Secrets for sql and stream sources, in the style of integration variables
67    #[prost(map = "string, string", tag = "1")]
68    pub secrets: ::std::collections::HashMap<
69        ::prost::alloc::string::String,
70        ::prost::alloc::string::String,
71    >,
72}