pub struct SandboxEgressReplicas {
pub dns: String,
pub addresses: Vec<String>,
pub port: u16,
pub count: u32,
pub min_protocol: u32,
pub proxy_port: u16,
}Expand description
Ready gateway replicas a policy write must reach.
Fields§
§dns: StringName that resolves, through the workload’s DNS search path, to every ready replica.
Ignored when addresses is set.
addresses: Vec<String>Fixed replica IPs (static NICs, as on Azure’s setup-created gateway VMs). When set, no DNS lookup happens and every listed address must acknowledge a write.
port: u16Admin port on each replica.
count: u32Replicas the gateway runs. A write refuses when fewer are resolvable.
min_protocol: u32Lowest gateway admin protocol this binding can serve (GET /v1/protocol). 0 skips the
check, for gateways that replicate behind one address and are updated with the binding.
Azure’s setup-created VMs are updated only by re-running setup, so they set it.
proxy_port: u16The port sandboxes dial on each address when it is not the gateway’s own proxy port: GCP sandboxes reach the gateway VMs on one port that crosses from Google’s sandbox tenant into the VPC, and the VM redirects it to the proxy. 0 means the gateway’s own proxy port, as every other backend uses. Setup records it once.
Trait Implementations§
Source§impl Clone for SandboxEgressReplicas
impl Clone for SandboxEgressReplicas
Source§impl Debug for SandboxEgressReplicas
impl Debug for SandboxEgressReplicas
Source§impl<'de> Deserialize<'de> for SandboxEgressReplicas
impl<'de> Deserialize<'de> for SandboxEgressReplicas
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 SandboxEgressReplicas
Source§impl PartialEq for SandboxEgressReplicas
impl PartialEq for SandboxEgressReplicas
Source§impl Serialize for SandboxEgressReplicas
impl Serialize for SandboxEgressReplicas
impl StructuralPartialEq for SandboxEgressReplicas
Auto Trait Implementations§
impl Forget for SandboxEgressReplicas
impl Freeze for SandboxEgressReplicas
impl Move for SandboxEgressReplicas
impl RefUnwindSafe for SandboxEgressReplicas
impl Send for SandboxEgressReplicas
impl Sync for SandboxEgressReplicas
impl Unpin for SandboxEgressReplicas
impl UnsafeUnpin for SandboxEgressReplicas
impl UnwindSafe for SandboxEgressReplicas
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.