pub struct BundleSpec {
pub bundle_id: BundleId,
pub tenant: TenantCtx,
pub environment_ref: EnvironmentRef,
pub desired_state_version: u64,
pub artifact_refs: Vec<ArtifactRef>,
pub metadata_refs: Vec<MetadataRecordRef>,
pub additional_metadata: BTreeMap<String, Value>,
}Expand description
Bundle specification for offline or air-gapped deployments.
Fields§
§bundle_id: BundleIdIdentifier of the distribution-bundle .gtpack (pack id).
tenant: TenantCtxTenant context for the bundle.
environment_ref: EnvironmentRefTarget environment.
desired_state_version: u64Version of the desired state used to construct the bundle.
artifact_refs: Vec<ArtifactRef>Artifact references included in the bundle.
metadata_refs: Vec<MetadataRecordRef>Metadata record references (SBOMs, attestations, signatures).
additional_metadata: BTreeMap<String, Value>Additional metadata.
Trait Implementations§
Source§impl Clone for BundleSpec
impl Clone for BundleSpec
Source§fn clone(&self) -> BundleSpec
fn clone(&self) -> BundleSpec
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BundleSpec
impl Debug for BundleSpec
Source§impl<'de> Deserialize<'de> for BundleSpec
impl<'de> Deserialize<'de> for BundleSpec
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 BundleSpec
impl PartialEq for BundleSpec
Source§impl Serialize for BundleSpec
impl Serialize for BundleSpec
impl StructuralPartialEq for BundleSpec
Auto Trait Implementations§
impl Freeze for BundleSpec
impl RefUnwindSafe for BundleSpec
impl Send for BundleSpec
impl Sync for BundleSpec
impl Unpin for BundleSpec
impl UnwindSafe for BundleSpec
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)