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§
sourcefn 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 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.
sourcefn 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 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.
sourcefn 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 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.
sourcefn 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 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.
sourcefn reader(&self) -> Arc<dyn CloudResourceReader>
fn reader(&self) -> Arc<dyn CloudResourceReader>
Returns a reader for the resources managed by this controller.