Struct oci_client::config::ConfigFile
source · pub struct ConfigFile {
pub created: Option<DateTime<Utc>>,
pub author: Option<String>,
pub architecture: Architecture,
pub os: Os,
pub config: Option<Config>,
pub rootfs: Rootfs,
pub history: Option<Vec<History>>,
}
Expand description
An OCI Image is an ordered collection of root filesystem changes and the corresponding execution parameters for use within a container runtime.
Format defined here
Fields§
§created: Option<DateTime<Utc>>
An combined date and time at which the image was created, formatted as defined by RFC 3339, section 5.6
Gives the name and/or email address of the person or entity which created and is responsible for maintaining the image.
architecture: Architecture
The CPU architecture which the binaries in this image are built to run on.
os: Os
The name of the operating system which the image is built to run on. Validated values are listed in Go Language document for GOOS
config: Option<Config>
The execution parameters which SHOULD be used as a base when running a container using the image.
rootfs: Rootfs
The rootfs key references the layer content addresses used by the image.
history: Option<Vec<History>>
Describes the history of each layer.
Trait Implementations§
source§impl Clone for ConfigFile
impl Clone for ConfigFile
source§fn clone(&self) -> ConfigFile
fn clone(&self) -> ConfigFile
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConfigFile
impl Debug for ConfigFile
source§impl Default for ConfigFile
impl Default for ConfigFile
source§fn default() -> ConfigFile
fn default() -> ConfigFile
source§impl<'de> Deserialize<'de> for ConfigFile
impl<'de> Deserialize<'de> for ConfigFile
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl PartialEq for ConfigFile
impl PartialEq for ConfigFile
source§impl Serialize for ConfigFile
impl Serialize for ConfigFile
source§impl TryFrom<Config> for ConfigFile
impl TryFrom<Config> for ConfigFile
impl StructuralPartialEq for ConfigFile
Auto Trait Implementations§
impl Freeze for ConfigFile
impl RefUnwindSafe for ConfigFile
impl Send for ConfigFile
impl Sync for ConfigFile
impl Unpin for ConfigFile
impl UnwindSafe for ConfigFile
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)