Skip to main content

Module auth_basic_proto

Module auth_basic_proto 

Source
Expand description

Basic auth test for the Flight server.

Re-exportsยง

use std::pin::Pin; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’
use arrow_flight::Action; ๐Ÿ”’
use arrow_flight::ActionType; ๐Ÿ”’
use arrow_flight::BasicAuth; ๐Ÿ”’
use arrow_flight::Criteria; ๐Ÿ”’
use arrow_flight::Empty; ๐Ÿ”’
use arrow_flight::FlightData; ๐Ÿ”’
use arrow_flight::FlightDescriptor; ๐Ÿ”’
use arrow_flight::FlightInfo; ๐Ÿ”’
use arrow_flight::HandshakeRequest; ๐Ÿ”’
use arrow_flight::HandshakeResponse; ๐Ÿ”’
use arrow_flight::PollInfo; ๐Ÿ”’
use arrow_flight::PutResult; ๐Ÿ”’
use arrow_flight::SchemaResult; ๐Ÿ”’
use arrow_flight::Ticket; ๐Ÿ”’
use arrow_flight::flight_service_server::FlightService; ๐Ÿ”’
use arrow_flight::flight_service_server::FlightServiceServer; ๐Ÿ”’
use futures::Stream; ๐Ÿ”’
use futures::StreamExt; ๐Ÿ”’
use futures::channel::mpsc; ๐Ÿ”’
use futures::sink::SinkExt; ๐Ÿ”’
use tokio::sync::Mutex; ๐Ÿ”’
use tonic::Request; ๐Ÿ”’
use tonic::Response; ๐Ÿ”’
use tonic::Status; ๐Ÿ”’
use tonic::Streaming; ๐Ÿ”’
use tonic::metadata::MetadataMap; ๐Ÿ”’
use tonic::transport::Server; ๐Ÿ”’
use prost::Message; ๐Ÿ”’
use crate::AUTH_PASSWORD; ๐Ÿ”’
use crate::AUTH_USERNAME; ๐Ÿ”’

Structsยง

AuthBasicProtoScenarioImpl
Scenario for testing basic auth.
GrpcServerCallContext ๐Ÿ”’

Functionsยง

scenario_setup
Run a scenario that tests basic auth.

Type Aliasesยง

Error ๐Ÿ”’
Result ๐Ÿ”’
TonicStream ๐Ÿ”’