pub struct ContainerOutputs {
pub name: String,
pub status: ContainerStatus,
pub current_replicas: u32,
pub desired_replicas: u32,
pub internal_dns: String,
pub public_endpoints: HashMap<String, PublicEndpointOutput>,
pub internal_urls: HashMap<u16, String>,
pub link_address: Option<Ipv4Addr>,
pub replicas: Vec<ReplicaStatus>,
pub volumes: Vec<VolumeOutput>,
pub volume_backups: Option<VolumeBackupsStatus>,
}Expand description
Outputs generated by a successfully provisioned Container.
Fields§
§name: StringContainer name in the managed container backend
status: ContainerStatusCurrent container status
current_replicas: u32Number of current replicas
desired_replicas: u32Desired number of replicas
internal_dns: StringInternal DNS name of the container’s Service. On Kubernetes this is
<name>.<namespace>.svc.<cluster domain>; other platforms have no such
name. To reach another container, use the link binding
(ALIEN_<ID>_BINDING, internalUrls), not a name built from the id.
public_endpoints: HashMap<String, PublicEndpointOutput>Public endpoints resolved for this container.
internal_urls: HashMap<u16, String>Internal URLs keyed by port for cluster members and linking resources.
link_address: Option<Ipv4Addr>Private address the deployment’s sandbox egress gateway dials when a sandbox links this container and the platform puts a load balancer in front of it (on Azure, the internal load balancer’s static frontend IP). Absent when no sandbox links it, and on platforms whose gateway resolves the container by name.
replicas: Vec<ReplicaStatus>Status of each replica
volumes: Vec<VolumeOutput>Persistent volumes, one per replica ordinal, with their latest snapshot.
volume_backups: Option<VolumeBackupsStatus>Whether the persistent volumes’ snapshot schedule is in place.
Trait Implementations§
Source§impl Clone for ContainerOutputs
impl Clone for ContainerOutputs
Source§impl Debug for ContainerOutputs
impl Debug for ContainerOutputs
Source§impl<'de> Deserialize<'de> for ContainerOutputs
impl<'de> Deserialize<'de> for ContainerOutputs
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for ContainerOutputs
Source§impl PartialEq for ContainerOutputs
impl PartialEq for ContainerOutputs
Source§impl ResourceOutputsDefinition for ContainerOutputs
impl ResourceOutputsDefinition for ContainerOutputs
Source§fn get_resource_type(&self) -> ResourceType
fn get_resource_type(&self) -> ResourceType
Source§fn box_clone(&self) -> Box<dyn ResourceOutputsDefinition>
fn box_clone(&self) -> Box<dyn ResourceOutputsDefinition>
Source§fn outputs_eq(&self, other: &dyn ResourceOutputsDefinition) -> bool
fn outputs_eq(&self, other: &dyn ResourceOutputsDefinition) -> bool
Source§fn to_json_value(&self) -> Result<Value>
fn to_json_value(&self) -> Result<Value>
Source§fn is_available(&self) -> bool
fn is_available(&self) -> bool
Source§impl Serialize for ContainerOutputs
impl Serialize for ContainerOutputs
impl StructuralPartialEq for ContainerOutputs
Auto Trait Implementations§
impl Forget for ContainerOutputs
impl Freeze for ContainerOutputs
impl Move for ContainerOutputs
impl RefUnwindSafe for ContainerOutputs
impl Send for ContainerOutputs
impl Sync for ContainerOutputs
impl Unpin for ContainerOutputs
impl UnsafeUnpin for ContainerOutputs
impl UnwindSafe for ContainerOutputs
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.