pub struct KubernetesSandboxBinding {
pub namespace: BindingValue<String>,
pub runtime_class: BindingValue<String>,
pub selector: BindingValue<String>,
pub broker_url: BindingValue<String>,
pub key_name: BindingValue<String>,
pub token_path: BindingValue<String>,
}Expand description
Kubernetes sandbox binding configuration.
Fields§
§namespace: BindingValue<String>Namespace sandbox pods are created in
runtime_class: BindingValue<String>Runtime class every sandbox pod must carry, such as gvisor or kata
selector: BindingValue<String>Label selector identifying this sandbox’s pods, used for enumeration and reaping
broker_url: BindingValue<String>Session broker served by the operator. Claiming a pod is a PATCH on pods, which must
not reach the application.
key_name: BindingValue<String>Secret holding the capability signing key, by name. The binding names it; only the broker can read it.
token_path: BindingValue<String>Where Kubernetes mounted the pod’s own ServiceAccount token. A path, not a secret: the
platform put the file there and the broker verifies it with a TokenReview.
Trait Implementations§
Source§impl Clone for KubernetesSandboxBinding
impl Clone for KubernetesSandboxBinding
Source§fn clone(&self) -> KubernetesSandboxBinding
fn clone(&self) -> KubernetesSandboxBinding
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 KubernetesSandboxBinding
impl Debug for KubernetesSandboxBinding
Source§impl<'de> Deserialize<'de> for KubernetesSandboxBinding
impl<'de> Deserialize<'de> for KubernetesSandboxBinding
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 KubernetesSandboxBinding
Source§impl PartialEq for KubernetesSandboxBinding
impl PartialEq for KubernetesSandboxBinding
Source§impl Serialize for KubernetesSandboxBinding
impl Serialize for KubernetesSandboxBinding
impl StructuralPartialEq for KubernetesSandboxBinding
Auto Trait Implementations§
impl Freeze for KubernetesSandboxBinding
impl RefUnwindSafe for KubernetesSandboxBinding
impl Send for KubernetesSandboxBinding
impl Sync for KubernetesSandboxBinding
impl Unpin for KubernetesSandboxBinding
impl UnsafeUnpin for KubernetesSandboxBinding
impl UnwindSafe for KubernetesSandboxBinding
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§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.