pub struct AgentOsLimits {
pub resources: Option<ResourceLimits>,
pub http: Option<HttpLimits>,
pub tools: Option<ToolLimits>,
pub plugins: Option<PluginLimits>,
pub acp: Option<AcpLimits>,
pub js_runtime: Option<JsRuntimeLimits>,
pub python: Option<PythonLimits>,
pub wasm: Option<WasmLimits>,
}Expand description
Operator-tunable runtime limits for a VM. Every field is optional; unset fields fall back to the sidecar defaults.
Fields§
§resources: Option<ResourceLimits>§http: Option<HttpLimits>§tools: Option<ToolLimits>§plugins: Option<PluginLimits>§acp: Option<AcpLimits>§js_runtime: Option<JsRuntimeLimits>§python: Option<PythonLimits>§wasm: Option<WasmLimits>Trait Implementations§
Source§impl Clone for AgentOsLimits
impl Clone for AgentOsLimits
Source§fn clone(&self) -> AgentOsLimits
fn clone(&self) -> AgentOsLimits
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 AgentOsLimits
impl Debug for AgentOsLimits
Source§impl Default for AgentOsLimits
impl Default for AgentOsLimits
Source§fn default() -> AgentOsLimits
fn default() -> AgentOsLimits
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentOsLimits
impl<'de> Deserialize<'de> for AgentOsLimits
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
impl Eq for AgentOsLimits
Source§impl PartialEq for AgentOsLimits
impl PartialEq for AgentOsLimits
Source§fn eq(&self, other: &AgentOsLimits) -> bool
fn eq(&self, other: &AgentOsLimits) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AgentOsLimits
impl Serialize for AgentOsLimits
impl StructuralPartialEq for AgentOsLimits
Auto Trait Implementations§
impl Freeze for AgentOsLimits
impl RefUnwindSafe for AgentOsLimits
impl Send for AgentOsLimits
impl Sync for AgentOsLimits
impl Unpin for AgentOsLimits
impl UnsafeUnpin for AgentOsLimits
impl UnwindSafe for AgentOsLimits
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,
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self to key and returns true if they are equal.