pub struct ConfigBody {
pub env: BTreeMap<String, String>,
pub inputs: BTreeMap<String, Value>,
pub bindings: BTreeMap<String, Value>,
pub telemetry_endpoint: Option<String>,
}Expand description
config/v1: developer config for one install.
Fields§
§env: BTreeMap<String, String>Environment values, by name.
inputs: BTreeMap<String, Value>Developer input values, by id.
bindings: BTreeMap<String, Value>Values of bindings to resources outside the customer’s cloud, by resource id. Used only for bindings the enforcer can neither derive nor find in its own install.
telemetry_endpoint: Option<String>Where workloads send telemetry, if anywhere. The control plane can’t point it elsewhere: it is part of the signed config.
Implementations§
Source§impl ConfigBody
impl ConfigBody
Sourcepub fn check(&self, release: &ReleaseBody) -> Result<()>
pub fn check(&self, release: &ReleaseBody) -> Result<()>
Refuse any name the release doesn’t make configurable.
Trait Implementations§
Source§impl Clone for ConfigBody
impl Clone for ConfigBody
Source§impl Debug for ConfigBody
impl Debug for ConfigBody
Source§impl Default for ConfigBody
impl Default for ConfigBody
Source§impl<'de> Deserialize<'de> for ConfigBody
impl<'de> Deserialize<'de> for ConfigBody
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
Source§impl PartialEq for ConfigBody
impl PartialEq for ConfigBody
Source§impl Serialize for ConfigBody
impl Serialize for ConfigBody
impl StructuralPartialEq for ConfigBody
Auto Trait Implementations§
impl Forget for ConfigBody
impl Freeze for ConfigBody
impl Move for ConfigBody
impl RefUnwindSafe for ConfigBody
impl Send for ConfigBody
impl Sync for ConfigBody
impl Unpin for ConfigBody
impl UnsafeUnpin for ConfigBody
impl UnwindSafe for ConfigBody
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