pub struct ReleaseBody {
pub platform: String,
pub channel: String,
pub workloads: Vec<Workload>,
pub configurable: Configurable,
pub components: BTreeMap<String, String>,
pub setup: BTreeMap<String, SetupTemplate>,
pub stack: Option<Value>,
}Expand description
What one release lets run on one platform.
Fields§
§platform: StringPlatform the release is for, such as aws or machines.
channel: StringRelease channel, such as production. An install accepts only the
channel its setup pinned.
workloads: Vec<Workload>Every workload, by name.
configurable: ConfigurableWhat config/v1 statements may set.
components: BTreeMap<String, String>Digest of each enforcer build this release runs with, by name from
COMPONENTS.
setup: BTreeMap<String, SetupTemplate>Digests of the setup templates this release renders, by name from
SETUP_TEMPLATES, so a customer can check what they install.
stack: Option<Value>The full stack, for enforcers that deploy from it. It is signed with the rest of the body, so it is as trusted as the workloads.
Implementations§
Trait Implementations§
Source§impl Clone for ReleaseBody
impl Clone for ReleaseBody
Source§impl Debug for ReleaseBody
impl Debug for ReleaseBody
Source§impl<'de> Deserialize<'de> for ReleaseBody
impl<'de> Deserialize<'de> for ReleaseBody
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 ReleaseBody
impl PartialEq for ReleaseBody
Source§impl Serialize for ReleaseBody
impl Serialize for ReleaseBody
impl StructuralPartialEq for ReleaseBody
Auto Trait Implementations§
impl Forget for ReleaseBody
impl Freeze for ReleaseBody
impl Move for ReleaseBody
impl RefUnwindSafe for ReleaseBody
impl Send for ReleaseBody
impl Sync for ReleaseBody
impl Unpin for ReleaseBody
impl UnsafeUnpin for ReleaseBody
impl UnwindSafe for ReleaseBody
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