pub struct OciImageConfig {
pub tag: String,
pub entrypoint: Vec<String>,
pub cmd: Vec<String>,
pub working_dir: Option<String>,
pub env: Vec<String>,
pub labels: BTreeMap<String, String>,
}Expand description
User-selected process and descriptive metadata for an OCI image.
Fields§
§tag: String§entrypoint: Vec<String>§cmd: Vec<String>§working_dir: Option<String>§env: Vec<String>§labels: BTreeMap<String, String>Implementations§
Source§impl OciImageConfig
impl OciImageConfig
pub fn resolve(&self, plan: &BundlePlan) -> Result<ResolvedImageConfig>
Trait Implementations§
Source§impl Clone for OciImageConfig
impl Clone for OciImageConfig
Source§fn clone(&self) -> OciImageConfig
fn clone(&self) -> OciImageConfig
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 OciImageConfig
impl Debug for OciImageConfig
Source§impl Default for OciImageConfig
impl Default for OciImageConfig
Source§fn default() -> OciImageConfig
fn default() -> OciImageConfig
Returns the “default value” for a type. Read more
impl Eq for OciImageConfig
Source§impl PartialEq for OciImageConfig
impl PartialEq for OciImageConfig
impl StructuralPartialEq for OciImageConfig
Auto Trait Implementations§
impl Freeze for OciImageConfig
impl RefUnwindSafe for OciImageConfig
impl Send for OciImageConfig
impl Sync for OciImageConfig
impl Unpin for OciImageConfig
impl UnsafeUnpin for OciImageConfig
impl UnwindSafe for OciImageConfig
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,
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.