pub struct SourcesApi<'a> { /* private fields */ }Implementations§
Source§impl<'a> SourcesApi<'a>
impl<'a> SourcesApi<'a>
pub async fn list_sources(&self) -> Result<Vec<SourceStatus>, Error>
pub async fn create_source( &self, request: &SourceConfigInput, ) -> Result<SourceStatus, Error>
pub async fn update_source( &self, source_key: &str, request: &SourceConfigInput, ) -> Result<SourceStatus, Error>
pub async fn delete_source(&self, source_key: &str) -> Result<(), Error>
pub async fn sync_source(&self, source_key: &str) -> Result<SyncOutcome, Error>
pub async fn list_source_connections( &self, ) -> Result<Vec<SourceConnectionResponse>, Error>
pub async fn create_source_connection( &self, request: &UpsertSourceConnectionRequest, ) -> Result<SourceConnectionResponse, Error>
pub async fn update_source_connection( &self, request: &UpsertSourceConnectionRequest, ) -> Result<SourceConnectionResponse, Error>
pub async fn delete_source_connection(&self, name: &str) -> Result<(), Error>
pub async fn list_project_sources( &self, group_key: &str, project_key: &str, ) -> Result<Vec<SourceStatus>, Error>
pub async fn create_project_source( &self, group_key: &str, project_key: &str, request: &SourceConfigInput, ) -> Result<SourceStatus, Error>
pub async fn update_project_source( &self, group_key: &str, project_key: &str, source_key: &str, request: &SourceConfigInput, ) -> Result<SourceStatus, Error>
pub async fn delete_project_source( &self, group_key: &str, project_key: &str, source_key: &str, ) -> Result<(), Error>
pub async fn sync_project_source( &self, group_key: &str, project_key: &str, source_key: &str, ) -> Result<SyncOutcome, Error>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for SourcesApi<'a>
impl<'a> !UnwindSafe for SourcesApi<'a>
impl<'a> Freeze for SourcesApi<'a>
impl<'a> Send for SourcesApi<'a>
impl<'a> Sync for SourcesApi<'a>
impl<'a> Unpin for SourcesApi<'a>
impl<'a> UnsafeUnpin for SourcesApi<'a>
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