Skip to main content

DynamicProcessGroupsApi

Struct DynamicProcessGroupsApi 

Source
pub struct DynamicProcessGroupsApi<'a> { /* private fields */ }
Expand description

Dynamic dispatch wrapper for the ProcessGroups API.

Implementations§

Source§

impl<'a> DynamicProcessGroupsApi<'a>

Source

pub async fn copy( &self, id: &str, body: &Value, ) -> Result<CopyResponseEntity, NifiError>

Generates a copy response for the given copy request

Source

pub async fn copy_snippet( &self, id: &str, body: &Value, ) -> Result<FlowDto, NifiError>

Copies a snippet and discards it.

Source

pub async fn create_connection( &self, id: &str, body: &Value, ) -> Result<ConnectionEntity, NifiError>

Creates a connection

Source

pub async fn create_controller_service_1( &self, id: &str, body: &Value, ) -> Result<ControllerServiceEntity, NifiError>

Creates a new controller service

Source

pub async fn create_empty_all_connections_request( &self, id: &str, ) -> Result<DropRequestDto, NifiError>

Creates a request to drop all flowfiles of all connection queues in this process group.

Source

pub async fn create_funnel( &self, id: &str, body: &Value, ) -> Result<FunnelEntity, NifiError>

Creates a funnel

Source

pub async fn create_input_port( &self, id: &str, body: &Value, ) -> Result<PortEntity, NifiError>

Creates an input port

Source

pub async fn create_label( &self, id: &str, body: &Value, ) -> Result<LabelEntity, NifiError>

Creates a label

Source

pub async fn create_output_port( &self, id: &str, body: &Value, ) -> Result<PortEntity, NifiError>

Creates an output port

Source

pub async fn create_process_group( &self, id: &str, parameter_context_handling_strategy: Option<&str>, body: &Value, ) -> Result<ProcessGroupEntity, NifiError>

Creates a process group

Source

pub async fn create_processor( &self, id: &str, body: &Value, ) -> Result<ProcessorEntity, NifiError>

Creates a new processor

Source

pub async fn create_remote_process_group( &self, id: &str, body: &Value, ) -> Result<RemoteProcessGroupEntity, NifiError>

Creates a new process group

Source

pub async fn delete_replace_process_group_request( &self, id: &str, disconnected_node_acknowledged: Option<bool>, ) -> Result<ProcessGroupReplaceRequestEntity, NifiError>

Deletes the Replace Request with the given ID

Source

pub async fn export_process_group( &self, id: &str, include_referenced_services: Option<bool>, ) -> Result<(), NifiError>

Gets a process group for download

Source

pub async fn get_connections( &self, id: &str, ) -> Result<ConnectionsEntity, NifiError>

Gets all connections

Source

pub async fn get_drop_all_flowfiles_request( &self, id: &str, drop_request_id: &str, ) -> Result<DropRequestDto, NifiError>

Gets the current status of a drop all flowfiles request.

Source

pub async fn get_funnels(&self, id: &str) -> Result<FunnelsEntity, NifiError>

Gets all funnels

Source

pub async fn get_input_ports( &self, id: &str, ) -> Result<InputPortsEntity, NifiError>

Gets all input ports

Source

pub async fn get_labels(&self, id: &str) -> Result<LabelsEntity, NifiError>

Gets all labels

Source

pub async fn get_local_modifications( &self, id: &str, ) -> Result<FlowComparisonEntity, NifiError>

Gets a list of local modifications to the Process Group since it was last synchronized with the Flow Registry

Source

pub async fn get_output_ports( &self, id: &str, ) -> Result<OutputPortsEntity, NifiError>

Gets all output ports

Source

pub async fn get_process_group( &self, id: &str, ) -> Result<ProcessGroupEntity, NifiError>

Gets a process group

Source

pub async fn get_process_groups( &self, id: &str, ) -> Result<ProcessGroupsEntity, NifiError>

Gets all process groups

Source

pub async fn get_processors( &self, id: &str, include_descendant_groups: Option<bool>, ) -> Result<ProcessorsEntity, NifiError>

Gets all processors

Source

pub async fn get_remote_process_groups( &self, id: &str, ) -> Result<RemoteProcessGroupsEntity, NifiError>

Gets all remote process groups

Source

pub async fn get_replace_process_group_request( &self, id: &str, ) -> Result<ProcessGroupReplaceRequestEntity, NifiError>

Returns the Replace Request with the given ID

Source

pub async fn import_process_group( &self, id: &str, body: &Value, ) -> Result<ProcessGroupEntity, NifiError>

Imports a specified process group

Source

pub async fn initiate_replace_process_group( &self, id: &str, body: &Value, ) -> Result<ProcessGroupReplaceRequestEntity, NifiError>

Initiate the Replace Request of a Process Group with the given ID

Source

pub async fn paste( &self, id: &str, body: &Value, ) -> Result<PasteResponseEntity, NifiError>

Pastes into the specified process group

Source

pub async fn remove_drop_request_1( &self, id: &str, drop_request_id: &str, ) -> Result<DropRequestDto, NifiError>

Cancels and/or removes a request to drop all flowfiles.

Source

pub async fn remove_process_group( &self, id: &str, version: Option<&str>, client_id: Option<&str>, disconnected_node_acknowledged: Option<bool>, ) -> Result<ProcessGroupEntity, NifiError>

Deletes a process group

Source

pub async fn replace_process_group( &self, id: &str, body: &Value, ) -> Result<ProcessGroupImportEntity, NifiError>

Replace Process Group contents with the given ID with the specified Process Group contents

Source

pub async fn update_process_group( &self, id: &str, body: &Value, ) -> Result<ProcessGroupEntity, NifiError>

Updates a process group

Source

pub async fn upload_process_group( &self, id: &str, ) -> Result<ProcessGroupEntity, NifiError>

Uploads a versioned flow definition and creates a process group

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more