pub struct AgentOsConfigBuilder { /* private fields */ }Expand description
Builder for AgentOsConfig.
Implementations§
Source§impl AgentOsConfigBuilder
impl AgentOsConfigBuilder
pub fn new() -> Self
pub fn packages(self, packages: Vec<PackageRef>) -> Self
pub fn packages_mount_at(self, mount_at: impl Into<String>) -> Self
pub fn loopback_exempt_ports(self, ports: Vec<u16>) -> Self
pub fn allowed_node_builtins(self, builtins: Vec<String>) -> Self
pub fn module_access_cwd(self, cwd: impl Into<String>) -> Self
pub fn root_filesystem(self, root: RootFilesystemConfig) -> Self
pub fn mounts(self, mounts: Vec<MountConfig>) -> Self
pub fn additional_instructions(self, instructions: impl Into<String>) -> Self
pub fn schedule_driver(self, driver: Arc<dyn ScheduleDriver>) -> Self
pub fn tool_kits(self, tool_kits: Vec<ToolKit>) -> Self
pub fn sidecar_js_bridge_callback( self, callback: SidecarJsBridgeCallback, ) -> Self
pub fn permissions(self, permissions: Permissions) -> Self
pub fn limits(self, limits: AgentOsLimits) -> Self
pub fn sidecar(self, sidecar: AgentOsSidecarConfig) -> Self
pub fn sidecar_binary_path(self, path: impl Into<String>) -> Self
pub fn build(self) -> AgentOsConfig
Trait Implementations§
Source§impl Default for AgentOsConfigBuilder
impl Default for AgentOsConfigBuilder
Source§fn default() -> AgentOsConfigBuilder
fn default() -> AgentOsConfigBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for AgentOsConfigBuilder
impl !UnwindSafe for AgentOsConfigBuilder
impl Freeze for AgentOsConfigBuilder
impl Send for AgentOsConfigBuilder
impl Sync for AgentOsConfigBuilder
impl Unpin for AgentOsConfigBuilder
impl UnsafeUnpin for AgentOsConfigBuilder
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