pub struct Config {Show 19 fields
pub id: i64,
pub manifest_id: i64,
pub media_type: String,
pub created: Option<DateTime<Utc>>,
pub architecture: String,
pub os: String,
pub os_variant: Option<String>,
pub config_env_json: Option<String>,
pub config_cmd_json: Option<String>,
pub config_working_dir: Option<String>,
pub config_entrypoint_json: Option<String>,
pub config_volumes_json: Option<String>,
pub config_exposed_ports_json: Option<String>,
pub config_user: Option<String>,
pub rootfs_type: String,
pub rootfs_diff_ids_json: Option<String>,
pub history_json: Option<String>,
pub created_at: DateTime<Utc>,
pub modified_at: DateTime<Utc>,
}Expand description
Represents an OCI image configuration in the database
Fields§
§id: i64Unique identifier for the config
manifest_id: i64ID of the manifest this config belongs to
media_type: StringMedia type of the config
created: Option<DateTime<Utc>>When the image was created
architecture: StringArchitecture of the image
os: StringOperating system of the image
os_variant: Option<String>Operating system variant
config_env_json: Option<String>JSON string containing environment variables
config_cmd_json: Option<String>JSON string containing command
config_working_dir: Option<String>Working directory
config_entrypoint_json: Option<String>JSON string containing entrypoint
config_volumes_json: Option<String>JSON string containing volumes
config_exposed_ports_json: Option<String>JSON string containing exposed ports
config_user: Option<String>User to run as
rootfs_type: StringType of root filesystem
rootfs_diff_ids_json: Option<String>JSON string containing rootfs diff IDs
history_json: Option<String>JSON string containing history
created_at: DateTime<Utc>When the config was created
modified_at: DateTime<Utc>When the config was last modified
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more