pub struct PipelineConfig {
pub global: RuntimeConfig,
pub name: Option<String>,
pub storage_config: Option<StorageConfig>,
pub inputs: BTreeMap<Cow<'static, str>, InputEndpointConfig>,
pub outputs: BTreeMap<Cow<'static, str>, OutputEndpointConfig>,
}Expand description
Pipeline deployment configuration. It represents configuration entries directly provided by the user (e.g., runtime configuration) and entries derived from the schema of the compiled program (e.g., connectors). Storage configuration, if applicable, is set by the runner.
Fields§
§global: RuntimeConfigGlobal controller configuration.
name: Option<String>Pipeline name.
storage_config: Option<StorageConfig>Configuration for persistent storage
If global.storage is Some(_), this field must be set to some
StorageConfig. If global.storage is `None``, the pipeline ignores
this field.
inputs: BTreeMap<Cow<'static, str>, InputEndpointConfig>Input endpoint configuration.
outputs: BTreeMap<Cow<'static, str>, OutputEndpointConfig>Output endpoint configuration.
Implementations§
Source§impl PipelineConfig
impl PipelineConfig
pub fn max_parallel_connector_init(&self) -> u64
pub fn with_storage( self, storage: Option<(StorageConfig, StorageOptions)>, ) -> Self
pub fn storage(&self) -> Option<(&StorageConfig, &StorageOptions)>
Trait Implementations§
Source§impl Clone for PipelineConfig
impl Clone for PipelineConfig
Source§fn clone(&self) -> PipelineConfig
fn clone(&self) -> PipelineConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PipelineConfig
impl Debug for PipelineConfig
Source§impl<'de> Deserialize<'de> for PipelineConfig
impl<'de> Deserialize<'de> for PipelineConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PipelineConfig
impl PartialEq for PipelineConfig
Source§impl Serialize for PipelineConfig
impl Serialize for PipelineConfig
Source§impl<'__s> ToSchema<'__s> for PipelineConfig
impl<'__s> ToSchema<'__s> for PipelineConfig
impl Eq for PipelineConfig
impl StructuralPartialEq for PipelineConfig
Auto Trait Implementations§
impl Freeze for PipelineConfig
impl RefUnwindSafe for PipelineConfig
impl Send for PipelineConfig
impl Sync for PipelineConfig
impl Unpin for PipelineConfig
impl UnwindSafe for PipelineConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.