Struct wash_lib::registry::OciPushOptions
source · pub struct OciPushOptions {
pub config: Option<PathBuf>,
pub allow_latest: bool,
pub user: Option<String>,
pub password: Option<String>,
pub insecure: bool,
pub annotations: Option<HashMap<String, String>>,
}Expand description
Additional options for pushing an OCI artifact
Fields§
§config: Option<PathBuf>A path to an optional OCI configuration
allow_latest: boolBy default, we do not allow latest tags in wasmCloud. This overrides that setting
user: Option<String>An optional username to use for authentication.
password: Option<String>An optional password to use for authentication.
insecure: boolWhether or not to allow pulling from non-https registries
annotations: Option<HashMap<String, String>>Optional annotations you’d like to add to the pushed artifact
Trait Implementations§
source§impl Default for OciPushOptions
impl Default for OciPushOptions
source§fn default() -> OciPushOptions
fn default() -> OciPushOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for OciPushOptions
impl Send for OciPushOptions
impl Sync for OciPushOptions
impl Unpin for OciPushOptions
impl UnwindSafe for OciPushOptions
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