pub struct CloudApiClient { /* private fields */ }Implementations§
Source§impl CloudApiClient
impl CloudApiClient
pub async fn get_user(&self) -> CloudResult<UserMeResponse>
pub async fn list_tenants(&self) -> CloudResult<Vec<Tenant>>
Source§impl CloudApiClient
impl CloudApiClient
pub async fn get_tenant_status( &self, tenant_id: &TenantId, ) -> CloudResult<TenantStatus>
pub async fn get_registry_token( &self, tenant_id: &TenantId, ) -> CloudResult<RegistryToken>
pub async fn deploy( &self, tenant_id: &TenantId, image: &str, ) -> CloudResult<DeployResponse>
pub async fn fetch_secrets( &self, secrets_url: &str, ) -> CloudResult<TenantSecrets>
pub async fn delete_tenant(&self, tenant_id: &TenantId) -> CloudResult<()>
pub async fn set_secrets( &self, tenant_id: &TenantId, secrets: HashMap<String, String>, ) -> CloudResult<Vec<String>>
pub async fn rotate_credentials( &self, tenant_id: &TenantId, ) -> CloudResult<RotateCredentialsResponse>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for CloudApiClient
impl !UnwindSafe for CloudApiClient
impl Freeze for CloudApiClient
impl Send for CloudApiClient
impl Sync for CloudApiClient
impl Unpin for CloudApiClient
impl UnsafeUnpin for CloudApiClient
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<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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 more