pub struct FunctionConfig {
pub default_timeout_ms: u64,
pub health_interval: Duration,
pub boot_timeout: Duration,
pub egress_allowlist: Vec<String>,
}Fields§
§default_timeout_ms: u64§health_interval: Duration§boot_timeout: Duration§egress_allowlist: Vec<String>Outbound network (egress) allowlist for the Deno runner, as
host[:port] entries. Empty (the default) denies all outbound
connections: the runner may only bind its HTTP server, which is the
pre-allowlist behavior.
Semantics follow Deno --allow-net exact-host matching:
hostallows any port on that hosthost:portallows only that host and port- IPv6 literals must be bracketed:
[::1]or[::1]:443
Implementations§
Source§impl FunctionConfig
impl FunctionConfig
pub fn validate(&self) -> Result<(), CamelError>
Trait Implementations§
Source§impl Clone for FunctionConfig
impl Clone for FunctionConfig
Source§impl Debug for FunctionConfig
impl Debug for FunctionConfig
Auto Trait Implementations§
impl Freeze for FunctionConfig
impl RefUnwindSafe for FunctionConfig
impl Send for FunctionConfig
impl Sync for FunctionConfig
impl Unpin for FunctionConfig
impl UnsafeUnpin for FunctionConfig
impl UnwindSafe for FunctionConfig
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