pub enum AtelierAction {
EditFile {
repo: String,
path: String,
},
RegenDocs {
repo: String,
},
PlanPin {
repo: String,
},
RunValidation {
repo: String,
},
Eval {
label: String,
},
AddGithubRemote {
remote: String,
},
FlipPublishToGithub {
repo: String,
},
PushMirrorRemote,
}Expand description
Concrete action an agent requests the guard to evaluate.
Variants§
EditFile
Edit a file within a repository.
RegenDocs
Regenerate docs for a repository.
PlanPin
Plan a repos.toml commit pin update for a repository.
RunValidation
Run a repository’s validation command.
Eval
Run a gated eval action.
AddGithubRemote
Add a GitHub remote (always hard-denied).
FlipPublishToGithub
Flip a repository’s publish_to_github flag (always hard-denied).
PushMirrorRemote
Push to a mirror remote (always hard-denied).
Implementations§
Source§impl AtelierAction
impl AtelierAction
Trait Implementations§
Source§impl Clone for AtelierAction
impl Clone for AtelierAction
Source§fn clone(&self) -> AtelierAction
fn clone(&self) -> AtelierAction
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 AtelierAction
impl Debug for AtelierAction
impl Eq for AtelierAction
Source§impl PartialEq for AtelierAction
impl PartialEq for AtelierAction
Source§fn eq(&self, other: &AtelierAction) -> bool
fn eq(&self, other: &AtelierAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AtelierAction
Auto Trait Implementations§
impl Freeze for AtelierAction
impl RefUnwindSafe for AtelierAction
impl Send for AtelierAction
impl Sync for AtelierAction
impl Unpin for AtelierAction
impl UnsafeUnpin for AtelierAction
impl UnwindSafe for AtelierAction
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