pub trait CloudResourceController: CloudResourceReader {
    // Required methods
    fn ensure_vpc_endpoint<'life0, 'async_trait>(
        &'life0 self,
        id: CatalogItemId,
        vpc_endpoint: VpcEndpointConfig,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn delete_vpc_endpoint<'life0, 'async_trait>(
        &'life0 self,
        id: CatalogItemId,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn list_vpc_endpoints<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<BTreeMap<CatalogItemId, VpcEndpointStatus>, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn watch_vpc_endpoints<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = BoxStream<'static, VpcEndpointEvent>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn reader(&self) -> Arc<dyn CloudResourceReader>;
}

Required Methods§

source

fn ensure_vpc_endpoint<'life0, 'async_trait>( &'life0 self, id: CatalogItemId, vpc_endpoint: VpcEndpointConfig, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Creates or updates the specified VpcEndpoint Kubernetes object.

source

fn delete_vpc_endpoint<'life0, 'async_trait>( &'life0 self, id: CatalogItemId, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Deletes the specified VpcEndpoint Kubernetes object.

source

fn list_vpc_endpoints<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<BTreeMap<CatalogItemId, VpcEndpointStatus>, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Lists existing VpcEndpoint Kubernetes objects.

source

fn watch_vpc_endpoints<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = BoxStream<'static, VpcEndpointEvent>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Lists existing VpcEndpoint Kubernetes objects.

source

fn reader(&self) -> Arc<dyn CloudResourceReader>

Returns a reader for the resources managed by this controller.

Implementors§