Struct oci_distribution::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§fn eq(&self, other: &ConfigFile) -> bool
fn eq(&self, other: &ConfigFile) -> bool
self
and other
values to be equal, and is used
by ==
.