pub struct IngressClient { /* private fields */ }
Implementations§
Source§impl IngressClient
impl IngressClient
pub fn with_api_key(host: &str, api_key: &str, api_secret: &str) -> Self
pub fn new(host: &str) -> ServiceResult<Self>
pub async fn create_ingress( &self, input_type: IngressInput, options: CreateIngressOptions, ) -> ServiceResult<IngressInfo>
pub async fn update_ingress( &self, ingress_id: &str, options: UpdateIngressOptions, ) -> ServiceResult<IngressInfo>
pub async fn list_ingress( &self, filter: IngressListFilter, ) -> ServiceResult<Vec<IngressInfo>>
pub async fn delete_ingress( &self, ingress_id: &str, ) -> ServiceResult<IngressInfo>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IngressClient
impl !RefUnwindSafe for IngressClient
impl Send for IngressClient
impl Sync for IngressClient
impl Unpin for IngressClient
impl !UnwindSafe for IngressClient
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