risingwave_pb::meta::cluster_service_server

Trait ClusterService

source
pub trait ClusterService:
    Send
    + Sync
    + 'static {
    // Required methods
    fn add_worker_node<'life0, 'async_trait>(
        &'life0 self,
        request: Request<AddWorkerNodeRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<AddWorkerNodeResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn activate_worker_node<'life0, 'async_trait>(
        &'life0 self,
        request: Request<ActivateWorkerNodeRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<ActivateWorkerNodeResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn delete_worker_node<'life0, 'async_trait>(
        &'life0 self,
        request: Request<DeleteWorkerNodeRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<DeleteWorkerNodeResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn update_worker_node_schedulability<'life0, 'async_trait>(
        &'life0 self,
        request: Request<UpdateWorkerNodeSchedulabilityRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<UpdateWorkerNodeSchedulabilityResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn list_all_nodes<'life0, 'async_trait>(
        &'life0 self,
        request: Request<ListAllNodesRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<ListAllNodesResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_cluster_recovery_status<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetClusterRecoveryStatusRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetClusterRecoveryStatusResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Generated trait containing gRPC methods that should be implemented for use with ClusterServiceServer.

Required Methods§

source

fn add_worker_node<'life0, 'async_trait>( &'life0 self, request: Request<AddWorkerNodeRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<AddWorkerNodeResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn activate_worker_node<'life0, 'async_trait>( &'life0 self, request: Request<ActivateWorkerNodeRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<ActivateWorkerNodeResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn delete_worker_node<'life0, 'async_trait>( &'life0 self, request: Request<DeleteWorkerNodeRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<DeleteWorkerNodeResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn update_worker_node_schedulability<'life0, 'async_trait>( &'life0 self, request: Request<UpdateWorkerNodeSchedulabilityRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<UpdateWorkerNodeSchedulabilityResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn list_all_nodes<'life0, 'async_trait>( &'life0 self, request: Request<ListAllNodesRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<ListAllNodesResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn get_cluster_recovery_status<'life0, 'async_trait>( &'life0 self, request: Request<GetClusterRecoveryStatusRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetClusterRecoveryStatusResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§