pub struct DockerPublisher {
pub image: String,
pub platforms: Vec<String>,
pub dockerfile: Option<String>,
}Fields§
§image: String§platforms: Vec<String>§dockerfile: Option<String>Trait Implementations§
Source§impl Publisher for DockerPublisher
impl Publisher for DockerPublisher
Source§fn check(&self, ctx: &PublishCtx<'_>) -> Result<PublishState, ReleaseError>
fn check(&self, ctx: &PublishCtx<'_>) -> Result<PublishState, ReleaseError>
Query the registry for the current state.
Source§fn run(&self, ctx: &PublishCtx<'_>) -> Result<(), ReleaseError>
fn run(&self, ctx: &PublishCtx<'_>) -> Result<(), ReleaseError>
Perform the publish. Callers must have checked
check() first;
a Completed result should short-circuit before calling run.Auto Trait Implementations§
impl Freeze for DockerPublisher
impl RefUnwindSafe for DockerPublisher
impl Send for DockerPublisher
impl Sync for DockerPublisher
impl Unpin for DockerPublisher
impl UnsafeUnpin for DockerPublisher
impl UnwindSafe for DockerPublisher
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