pub enum ActionKindV1 {
Show 24 variants
CreateManagedFile {
destination: PathBuf,
desired_hash: u64,
requires_admin: bool,
},
CreateManagedFileWithBackup {
destination: PathBuf,
backup: PathBuf,
original_hash: u64,
desired_hash: u64,
requires_admin: bool,
},
UpdateManagedFile {
destination: PathBuf,
rollback: PathBuf,
previous_backup: Option<PathBuf>,
original_mode: Option<u32>,
original_hash: u64,
desired_hash: u64,
requires_admin: bool,
},
RelocateManagedFile {
previous_destination: PathBuf,
previous_backup: Option<ManagedFileRelocationBackupV1>,
previous_rollback: PathBuf,
desired_destination: PathBuf,
previous_present: bool,
previous_mode: Option<u32>,
previous_hash: u64,
desired_hash: u64,
previous_uses_env: bool,
desired_uses_env: bool,
previous_requires_admin: bool,
desired_requires_admin: bool,
},
RemoveManagedFile {
destination: PathBuf,
rollback: PathBuf,
original_mode: Option<u32>,
original_hash: u64,
uses_env: bool,
requires_admin: bool,
},
RemoveManagedFileWithBackup {
destination: PathBuf,
backup: PathBuf,
rollback: PathBuf,
managed_mode: Option<u32>,
managed_hash: u64,
backup_mode: Option<u32>,
backup_hash: u64,
uses_env: bool,
requires_admin: bool,
},
ForceRemoveManagedFile {
destination: PathBuf,
persistent_backup: Option<ForcedManagedFileBackupV1>,
rollback: PathBuf,
receipt_hash: u64,
current_mode: Option<u32>,
current_hash: u64,
uses_env: bool,
requires_admin: bool,
},
MergeManagedJson {
destination: PathBuf,
rollback: PathBuf,
original_mode: Option<u32>,
original_hash: Option<u64>,
previous_receipt_hash: Option<u64>,
desired_managed_hash: u64,
managed_keys: Vec<String>,
},
RelocateManagedJson {
previous_destination: PathBuf,
previous_rollback: PathBuf,
desired_destination: PathBuf,
previous_present: bool,
previous_mode: Option<u32>,
previous_original_hash: Option<u64>,
previous_receipt_hash: u64,
previous_managed_keys: Vec<String>,
desired_managed_hash: u64,
desired_managed_keys: Vec<String>,
previous_uses_env: bool,
desired_uses_env: bool,
},
RemoveManagedJson {
destination: PathBuf,
rollback: PathBuf,
original_mode: Option<u32>,
original_hash: u64,
receipt_managed_hash: u64,
current_managed_hash: u64,
managed_keys: Vec<String>,
uses_env: bool,
},
CreateShellLauncher {
receipt: ShellLauncherReceiptV1,
resources: Vec<ShellLauncherResourceV1>,
},
UpdateShellLauncher {
previous_receipt: Box<ShellLauncherReceiptV1>,
desired_receipt: Box<ShellLauncherReceiptV1>,
resources: Vec<ShellLauncherUpdateResourceV1>,
},
RemoveShellLauncher {
previous_receipt: Box<ShellLauncherReceiptV1>,
resources: Vec<ShellLauncherRemovalResourceV1>,
},
RemoveLegacyShellLauncher {
resources: Vec<ShellLauncherRemovalResourceV1>,
},
ReplaceShellSnapshot {
destination: PathBuf,
stage: PathBuf,
rollback: PathBuf,
previous_present: bool,
previous_files: Vec<ShellTreeFileV1>,
desired_files: Vec<ShellTreeFileV1>,
receipts: Vec<ShellReceiptTransitionV1>,
},
ReplaceShellCache {
files: Vec<ShellCacheFileReplacementV1>,
receipts: Vec<ShellReceiptTransitionV1>,
},
RemoveShellCache {
files: Vec<ShellCacheFileRemovalV1>,
receipts: Vec<ShellReceiptRemovalV1>,
},
RemoveShellSnapshot {
destination: PathBuf,
rollback: PathBuf,
previous_files: Vec<ShellTreeFileV1>,
receipts: Vec<ShellReceiptRemovalV1>,
},
ReconcileShellProfile {
files: Vec<ShellProfileFileV1>,
receipt_transitions: Vec<ShellReceiptTransitionV1>,
receipt_removals: Vec<ShellReceiptRemovalV1>,
legacy_targets: Vec<String>,
},
ReconcileSysSplitDns {
previous: Option<SysSplitDnsStateV1>,
desired: Option<SysSplitDnsStateV1>,
},
ReconcileSysProfileBlocks {
os_id: String,
files: Vec<SysProfileBlockFileV1>,
},
ReplaceShellRenderedFile {
destination: PathBuf,
rollback: PathBuf,
previous: Option<ShellFileIdentityV1>,
desired: ShellFileIdentityV1,
receipts: Vec<ShellReceiptTransitionV1>,
},
RemoveShellRenderedFile {
destination: PathBuf,
rollback: PathBuf,
previous: ShellFileIdentityV1,
receipts: Vec<ShellReceiptRemovalV1>,
},
OpaqueExecution {
capability: String,
provenance: ActionProvenanceV1,
requires_administrator: bool,
},
}Variants§
CreateManagedFile
CreateManagedFileWithBackup
Fields
UpdateManagedFile
Fields
RelocateManagedFile
Fields
§
previous_backup: Option<ManagedFileRelocationBackupV1>RemoveManagedFile
Fields
RemoveManagedFileWithBackup
Fields
ForceRemoveManagedFile
Fields
§
persistent_backup: Option<ForcedManagedFileBackupV1>MergeManagedJson
Fields
RelocateManagedJson
Fields
RemoveManagedJson
Fields
CreateShellLauncher
UpdateShellLauncher
Fields
§
previous_receipt: Box<ShellLauncherReceiptV1>§
desired_receipt: Box<ShellLauncherReceiptV1>§
resources: Vec<ShellLauncherUpdateResourceV1>RemoveShellLauncher
RemoveLegacyShellLauncher
Fields
§
resources: Vec<ShellLauncherRemovalResourceV1>ReplaceShellSnapshot
Fields
§
previous_files: Vec<ShellTreeFileV1>§
desired_files: Vec<ShellTreeFileV1>§
receipts: Vec<ShellReceiptTransitionV1>ReplaceShellCache
RemoveShellCache
RemoveShellSnapshot
ReconcileShellProfile
Fields
§
files: Vec<ShellProfileFileV1>§
receipt_transitions: Vec<ShellReceiptTransitionV1>§
receipt_removals: Vec<ShellReceiptRemovalV1>ReconcileSysSplitDns
ReconcileSysProfileBlocks
ReplaceShellRenderedFile
Fields
§
previous: Option<ShellFileIdentityV1>§
desired: ShellFileIdentityV1§
receipts: Vec<ShellReceiptTransitionV1>RemoveShellRenderedFile
OpaqueExecution
Trait Implementations§
Source§impl Clone for ActionKindV1
impl Clone for ActionKindV1
Source§fn clone(&self) -> ActionKindV1
fn clone(&self) -> ActionKindV1
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 ActionKindV1
impl Debug for ActionKindV1
Source§impl<'de> Deserialize<'de> for ActionKindV1
impl<'de> Deserialize<'de> for ActionKindV1
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 ActionKindV1
Source§impl PartialEq for ActionKindV1
impl PartialEq for ActionKindV1
Source§impl Serialize for ActionKindV1
impl Serialize for ActionKindV1
impl StructuralPartialEq for ActionKindV1
Auto Trait Implementations§
impl Freeze for ActionKindV1
impl RefUnwindSafe for ActionKindV1
impl Send for ActionKindV1
impl Sync for ActionKindV1
impl Unpin for ActionKindV1
impl UnsafeUnpin for ActionKindV1
impl UnwindSafe for ActionKindV1
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
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.