pub struct GrpcService {
pub store: SharedStore,
}Fields§
§store: SharedStoreTrait Implementations§
Source§impl Breathe for GrpcService
impl Breathe for GrpcService
Source§fn band_set_dry_run<'life0, 'async_trait>(
&'life0 self,
req: Request<BandSetDryRunRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Band>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn band_set_dry_run<'life0, 'async_trait>(
&'life0 self,
req: Request<BandSetDryRunRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Band>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
RETIRED for eight of the ten kinds — see [super::set_dry_run]. Only
host-param and kube-param read spec.dryRun; elsewhere this
returns FAILED_PRECONDITION rather than an OK for a write that
changes nothing.
fn band_list<'life0, 'async_trait>(
&'life0 self,
req: Request<BandListRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<BandListResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn band_get<'life0, 'async_trait>(
&'life0 self,
req: Request<BandGetRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Band>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn band_patch<'life0, 'async_trait>(
&'life0 self,
req: Request<BandPatchRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Band>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn catalog_list<'life0, 'async_trait>(
&'life0 self,
_req: Request<CatalogListRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Catalog>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn nodepool_list<'life0, 'async_trait>(
&'life0 self,
_req: Request<NodepoolListRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<NodepoolListResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn nodepool_get<'life0, 'async_trait>(
&'life0 self,
req: Request<NodepoolGetRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<NodePool>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn nodepool_set_write_enabled<'life0, 'async_trait>(
&'life0 self,
req: Request<NodepoolSetWriteEnabledRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<NodePool>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn healthz<'life0, 'async_trait>(
&'life0 self,
_req: Request<HealthzRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for GrpcService
impl !UnwindSafe for GrpcService
impl Freeze for GrpcService
impl Send for GrpcService
impl Sync for GrpcService
impl Unpin for GrpcService
impl UnsafeUnpin for GrpcService
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request