pub struct GVisorOciRunOptions {
pub network_mode: GVisorNetworkMode,
pub ignore_cgroups: bool,
pub runsc_rootless: bool,
pub require_supervisor_exec_policy: bool,
pub platform: GVisorPlatform,
}Expand description
Options for running an OCI bundle with gVisor.
Fields§
§network_mode: GVisorNetworkModegVisor networking mode passed to runsc.
ignore_cgroups: boolSkip runsc’s cgroup setup when Nucleus manages cgroups externally.
runsc_rootless: boolUse runsc’s rootless execution path for pre-created user namespaces.
require_supervisor_exec_policy: boolFail if the host-side supervisor execute allowlist cannot be installed.
platform: GVisorPlatformgVisor Sentry platform backend.
Trait Implementations§
Source§impl Clone for GVisorOciRunOptions
impl Clone for GVisorOciRunOptions
Source§fn clone(&self) -> GVisorOciRunOptions
fn clone(&self) -> GVisorOciRunOptions
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 GVisorOciRunOptions
impl Debug for GVisorOciRunOptions
Source§impl Default for GVisorOciRunOptions
impl Default for GVisorOciRunOptions
Source§impl PartialEq for GVisorOciRunOptions
impl PartialEq for GVisorOciRunOptions
Source§fn eq(&self, other: &GVisorOciRunOptions) -> bool
fn eq(&self, other: &GVisorOciRunOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for GVisorOciRunOptions
impl Eq for GVisorOciRunOptions
impl StructuralPartialEq for GVisorOciRunOptions
Auto Trait Implementations§
impl Freeze for GVisorOciRunOptions
impl RefUnwindSafe for GVisorOciRunOptions
impl Send for GVisorOciRunOptions
impl Sync for GVisorOciRunOptions
impl Unpin for GVisorOciRunOptions
impl UnsafeUnpin for GVisorOciRunOptions
impl UnwindSafe for GVisorOciRunOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
Compare self to
key and return true if they are equal.