pub struct CloudNetworkSpec {
pub enabled: bool,
pub policy: Option<NetworkPolicy>,
pub secrets: Option<CloudSecretsConfig>,
pub strict: bool,
pub max_tcp_connections: Option<usize>,
pub max_udp_connections: Option<usize>,
}Expand description
Cloud network specification: a subset of the domain crate::domain::NetworkSpec.
Interface overrides, host port mapping, DNS, TLS interception, rate limits,
and host-CA trust are not part of this type. Unknown fields are ignored for
compatibility with newer clients; accepting them does not enable their behavior.
Fields§
§enabled: boolWhether networking is enabled for this sandbox.
policy: Option<NetworkPolicy>Egress/ingress policy.
secrets: Option<CloudSecretsConfig>Secret-substitution config.
strict: boolRequire hostname-based policy allows to use inspectable application authority.
max_tcp_connections: Option<usize>Max concurrent TCP connections.
max_udp_connections: Option<usize>Max concurrent UDP relay sessions. Omitted is unlimited for single-tenant and 1024 for multi-tenant; zero means unlimited.
Trait Implementations§
Source§impl Clone for CloudNetworkSpec
impl Clone for CloudNetworkSpec
Source§fn clone(&self) -> CloudNetworkSpec
fn clone(&self) -> CloudNetworkSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CloudNetworkSpec
impl Debug for CloudNetworkSpec
Source§impl Default for CloudNetworkSpec
impl Default for CloudNetworkSpec
Source§impl<'de> Deserialize<'de> for CloudNetworkSpecwhere
CloudNetworkSpec: Default,
impl<'de> Deserialize<'de> for CloudNetworkSpecwhere
CloudNetworkSpec: Default,
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CloudNetworkSpec
impl RefUnwindSafe for CloudNetworkSpec
impl Send for CloudNetworkSpec
impl Sync for CloudNetworkSpec
impl Unpin for CloudNetworkSpec
impl UnsafeUnpin for CloudNetworkSpec
impl UnwindSafe for CloudNetworkSpec
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