struct OciPush {
name: String,
program: String,
references: Vec<String>,
login: OciLogin,
}Fields§
§name: String§program: String§references: Vec<String>§login: OciLoginImplementations§
Source§impl OciPush
impl OciPush
Sourcefn resolve(
entries: &[ManifestEntry],
publication: &Publication<'_>,
login: Option<&OciLogin>,
) -> Result<Vec<Self>, ArtifactError>
fn resolve( entries: &[ManifestEntry], publication: &Publication<'_>, login: Option<&OciLogin>, ) -> Result<Vec<Self>, ArtifactError>
Resolve the push program and references of each expected OCI artifact.
The references cover the unit version, and latest when requested.
fn run(&self, working_directory: &Path) -> Result<(), ArtifactError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OciPush
impl RefUnwindSafe for OciPush
impl Send for OciPush
impl Sync for OciPush
impl Unpin for OciPush
impl UnsafeUnpin for OciPush
impl UnwindSafe for OciPush
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