chalk-client 0.1.0

Rust client SDK for the Chalk feature store
Documentation
// This file is @generated by prost-build.
/// Pointer to an underlying database source -- used by native sql resolvers to identify which DB they are for
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DatabaseSourceReference {
    /// The type of the database source -- e.g. postgres, bigquery
    #[prost(string, tag = "1")]
    pub source_type: ::prost::alloc::string::String,
    /// The (customer provided) name for the database source. The default source for the given type is represented by the empty string
    #[prost(string, tag = "2")]
    pub name: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DatabaseSource {
    /// The type of the database source -- e.g. postgres, bigquery
    #[prost(string, tag = "1")]
    pub source_type: ::prost::alloc::string::String,
    /// The (customer provided) name for the database source. The default source for the given type is represented by the empty string
    #[prost(string, tag = "2")]
    pub name: ::prost::alloc::string::String,
    /// Additional source-specific options. DO NOT STORE CREDENTIALS IN HERE.
    #[prost(map = "string, message", tag = "3")]
    pub options: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost_types::Value,
    >,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DatabaseSourceGroup {
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "2")]
    pub default_source: ::core::option::Option<DatabaseSourceReference>,
    #[prost(map = "string, message", tag = "3")]
    pub tagged_sources: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        DatabaseSourceReference,
    >,
}
/// Pointer to an underlying stream source -- used by stream resolvers
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StreamSourceReference {
    /// The type of the stream source -- e.g. kafka, pubsub, sqs
    #[prost(string, tag = "1")]
    pub source_type: ::prost::alloc::string::String,
    /// The (customer provided) name for the stream source. The default source for the given type is represented by the empty string
    #[prost(string, tag = "2")]
    pub name: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StreamSource {
    /// The type of the stream source -- e.g. kafka, pubsub, sqs
    #[prost(string, tag = "1")]
    pub source_type: ::prost::alloc::string::String,
    /// The (customer provided) name for the stream source. The default source for the given type is represented by the empty string
    #[prost(string, tag = "2")]
    pub name: ::prost::alloc::string::String,
    /// Additional source-specific options. DO NOT STORE CREDENTIALS IN HERE.
    #[prost(map = "string, message", tag = "3")]
    pub options: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost_types::Value,
    >,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SourceSecrets {
    /// Secrets for sql and stream sources, in the style of integration variables
    #[prost(map = "string, string", tag = "1")]
    pub secrets: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}