Skip to main content

OperatorService

Trait OperatorService 

Source
pub trait OperatorService:
    Send
    + Sync
    + DynClone {
    // Provided methods
    fn add_search_attributes(
        &mut self,
        _request: Request<AddSearchAttributesRequest>,
    ) -> BoxFuture<'_, Result<Response<AddSearchAttributesResponse>, Status>> { ... }
    fn remove_search_attributes(
        &mut self,
        _request: Request<RemoveSearchAttributesRequest>,
    ) -> BoxFuture<'_, Result<Response<RemoveSearchAttributesResponse>, Status>> { ... }
    fn list_search_attributes(
        &mut self,
        _request: Request<ListSearchAttributesRequest>,
    ) -> BoxFuture<'_, Result<Response<ListSearchAttributesResponse>, Status>> { ... }
    fn delete_namespace(
        &mut self,
        _request: Request<DeleteNamespaceRequest>,
    ) -> BoxFuture<'_, Result<Response<DeleteNamespaceResponse>, Status>> { ... }
    fn add_or_update_remote_cluster(
        &mut self,
        _request: Request<AddOrUpdateRemoteClusterRequest>,
    ) -> BoxFuture<'_, Result<Response<AddOrUpdateRemoteClusterResponse>, Status>> { ... }
    fn remove_remote_cluster(
        &mut self,
        _request: Request<RemoveRemoteClusterRequest>,
    ) -> BoxFuture<'_, Result<Response<RemoveRemoteClusterResponse>, Status>> { ... }
    fn list_clusters(
        &mut self,
        _request: Request<ListClustersRequest>,
    ) -> BoxFuture<'_, Result<Response<ListClustersResponse>, Status>> { ... }
    fn get_nexus_endpoint(
        &mut self,
        _request: Request<GetNexusEndpointRequest>,
    ) -> BoxFuture<'_, Result<Response<GetNexusEndpointResponse>, Status>> { ... }
    fn create_nexus_endpoint(
        &mut self,
        _request: Request<CreateNexusEndpointRequest>,
    ) -> BoxFuture<'_, Result<Response<CreateNexusEndpointResponse>, Status>> { ... }
    fn update_nexus_endpoint(
        &mut self,
        _request: Request<UpdateNexusEndpointRequest>,
    ) -> BoxFuture<'_, Result<Response<UpdateNexusEndpointResponse>, Status>> { ... }
    fn delete_nexus_endpoint(
        &mut self,
        _request: Request<DeleteNexusEndpointRequest>,
    ) -> BoxFuture<'_, Result<Response<DeleteNexusEndpointResponse>, Status>> { ... }
    fn list_nexus_endpoints(
        &mut self,
        _request: Request<ListNexusEndpointsRequest>,
    ) -> BoxFuture<'_, Result<Response<ListNexusEndpointsResponse>, Status>> { ... }
}
Expand description

Trait version of OperatorServiceClient

Provided Methods§

Source

fn add_search_attributes( &mut self, _request: Request<AddSearchAttributesRequest>, ) -> BoxFuture<'_, Result<Response<AddSearchAttributesResponse>, Status>>

Source

fn remove_search_attributes( &mut self, _request: Request<RemoveSearchAttributesRequest>, ) -> BoxFuture<'_, Result<Response<RemoveSearchAttributesResponse>, Status>>

Source

fn list_search_attributes( &mut self, _request: Request<ListSearchAttributesRequest>, ) -> BoxFuture<'_, Result<Response<ListSearchAttributesResponse>, Status>>

Source

fn delete_namespace( &mut self, _request: Request<DeleteNamespaceRequest>, ) -> BoxFuture<'_, Result<Response<DeleteNamespaceResponse>, Status>>

Source

fn add_or_update_remote_cluster( &mut self, _request: Request<AddOrUpdateRemoteClusterRequest>, ) -> BoxFuture<'_, Result<Response<AddOrUpdateRemoteClusterResponse>, Status>>

Source

fn remove_remote_cluster( &mut self, _request: Request<RemoveRemoteClusterRequest>, ) -> BoxFuture<'_, Result<Response<RemoveRemoteClusterResponse>, Status>>

Source

fn list_clusters( &mut self, _request: Request<ListClustersRequest>, ) -> BoxFuture<'_, Result<Response<ListClustersResponse>, Status>>

Source

fn get_nexus_endpoint( &mut self, _request: Request<GetNexusEndpointRequest>, ) -> BoxFuture<'_, Result<Response<GetNexusEndpointResponse>, Status>>

Source

fn create_nexus_endpoint( &mut self, _request: Request<CreateNexusEndpointRequest>, ) -> BoxFuture<'_, Result<Response<CreateNexusEndpointResponse>, Status>>

Source

fn update_nexus_endpoint( &mut self, _request: Request<UpdateNexusEndpointRequest>, ) -> BoxFuture<'_, Result<Response<UpdateNexusEndpointResponse>, Status>>

Source

fn delete_nexus_endpoint( &mut self, _request: Request<DeleteNexusEndpointRequest>, ) -> BoxFuture<'_, Result<Response<DeleteNexusEndpointResponse>, Status>>

Source

fn list_nexus_endpoints( &mut self, _request: Request<ListNexusEndpointsRequest>, ) -> BoxFuture<'_, Result<Response<ListNexusEndpointsResponse>, Status>>

Implementations on Foreign Types§

Source§

impl<T> OperatorService for OperatorServiceClient<T>
where T: GrpcService<Body> + Clone + Send + Sync + 'static, T::ResponseBody: Body<Data = Bytes> + Send + 'static, T::Error: Into<StdError>, <T::ResponseBody as Body>::Error: Into<StdError> + Send, <T as GrpcService<Body>>::Future: Send,

Source§

fn add_search_attributes( &mut self, request: Request<AddSearchAttributesRequest>, ) -> BoxFuture<'_, Result<Response<AddSearchAttributesResponse>, Status>>

Source§

fn remove_search_attributes( &mut self, request: Request<RemoveSearchAttributesRequest>, ) -> BoxFuture<'_, Result<Response<RemoveSearchAttributesResponse>, Status>>

Source§

fn list_search_attributes( &mut self, request: Request<ListSearchAttributesRequest>, ) -> BoxFuture<'_, Result<Response<ListSearchAttributesResponse>, Status>>

Source§

fn delete_namespace( &mut self, request: Request<DeleteNamespaceRequest>, ) -> BoxFuture<'_, Result<Response<DeleteNamespaceResponse>, Status>>

Source§

fn add_or_update_remote_cluster( &mut self, request: Request<AddOrUpdateRemoteClusterRequest>, ) -> BoxFuture<'_, Result<Response<AddOrUpdateRemoteClusterResponse>, Status>>

Source§

fn remove_remote_cluster( &mut self, request: Request<RemoveRemoteClusterRequest>, ) -> BoxFuture<'_, Result<Response<RemoveRemoteClusterResponse>, Status>>

Source§

fn list_clusters( &mut self, request: Request<ListClustersRequest>, ) -> BoxFuture<'_, Result<Response<ListClustersResponse>, Status>>

Source§

fn get_nexus_endpoint( &mut self, request: Request<GetNexusEndpointRequest>, ) -> BoxFuture<'_, Result<Response<GetNexusEndpointResponse>, Status>>

Source§

fn create_nexus_endpoint( &mut self, request: Request<CreateNexusEndpointRequest>, ) -> BoxFuture<'_, Result<Response<CreateNexusEndpointResponse>, Status>>

Source§

fn update_nexus_endpoint( &mut self, request: Request<UpdateNexusEndpointRequest>, ) -> BoxFuture<'_, Result<Response<UpdateNexusEndpointResponse>, Status>>

Source§

fn delete_nexus_endpoint( &mut self, request: Request<DeleteNexusEndpointRequest>, ) -> BoxFuture<'_, Result<Response<DeleteNexusEndpointResponse>, Status>>

Source§

fn list_nexus_endpoints( &mut self, request: Request<ListNexusEndpointsRequest>, ) -> BoxFuture<'_, Result<Response<ListNexusEndpointsResponse>, Status>>

Implementors§

Source§

impl<RC> OperatorService for RC
where RC: RawGrpcCaller + RawClientProducer + Clone + Unpin,