pub struct OperationsBundleDownload {
pub env: HashMap<String, String>,
pub plugin: String,
pub plugin_version: String,
pub url: String,
}Expand description
One bundle the Operator needs to download to reach targetBundleHash.
The manager mints a short-lived presigned GET URL per bundle — the
Operator never holds real cloud storage credentials, mirroring the OCI
registry proxy’s credential-injection pattern.
JSON schema
{
"description": "One bundle the Operator needs to download to reach `targetBundleHash`.\nThe manager mints a short-lived presigned GET URL per bundle — the\nOperator never holds real cloud storage credentials, mirroring the OCI\nregistry proxy's credential-injection pattern.",
"type": "object",
"required": [
"plugin",
"pluginVersion",
"url"
],
"properties": {
"env": {
"description": "Environment the plugin process runs with: its settings, which may hold\nsecrets. Store only in encrypted state, and never log the values.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"plugin": {
"description": "Plugin name this bundle provides.",
"type": "string"
},
"pluginVersion": {
"description": "Plugin version this bundle provides.",
"type": "string"
},
"url": {
"description": "Presigned URL to GET the bundle ZIP from. Short-lived.",
"type": "string"
}
}
}Fields§
§env: HashMap<String, String>Environment the plugin process runs with: its settings, which may hold secrets. Store only in encrypted state, and never log the values.
plugin: StringPlugin name this bundle provides.
plugin_version: StringPlugin version this bundle provides.
url: StringPresigned URL to GET the bundle ZIP from. Short-lived.
Implementations§
Source§impl OperationsBundleDownload
impl OperationsBundleDownload
pub fn builder() -> OperationsBundleDownload
Trait Implementations§
Source§impl Clone for OperationsBundleDownload
impl Clone for OperationsBundleDownload
Source§impl Debug for OperationsBundleDownload
impl Debug for OperationsBundleDownload
Source§impl<'de> Deserialize<'de> for OperationsBundleDownload
impl<'de> Deserialize<'de> for OperationsBundleDownload
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 From<&OperationsBundleDownload> for OperationsBundleDownload
impl From<&OperationsBundleDownload> for OperationsBundleDownload
Source§fn from(value: &OperationsBundleDownload) -> Self
fn from(value: &OperationsBundleDownload) -> Self
Converts to this type from the input type.
Source§impl From<OperationsBundleDownload> for OperationsBundleDownload
impl From<OperationsBundleDownload> for OperationsBundleDownload
Source§fn from(value: OperationsBundleDownload) -> Self
fn from(value: OperationsBundleDownload) -> Self
Converts to this type from the input type.
Source§impl Serialize for OperationsBundleDownload
impl Serialize for OperationsBundleDownload
Source§impl TryFrom<OperationsBundleDownload> for OperationsBundleDownload
impl TryFrom<OperationsBundleDownload> for OperationsBundleDownload
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: OperationsBundleDownload) -> Result<Self, ConversionError>
fn try_from(value: OperationsBundleDownload) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for OperationsBundleDownload
impl Freeze for OperationsBundleDownload
impl RefUnwindSafe for OperationsBundleDownload
impl Send for OperationsBundleDownload
impl Sync for OperationsBundleDownload
impl Unpin for OperationsBundleDownload
impl UnsafeUnpin for OperationsBundleDownload
impl UnwindSafe for OperationsBundleDownload
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