pub struct Builder<W: Write> { /* private fields */ }
Expand description

Build a container in oci-archive format based on the OCI image spec

Implementations

Set name of container, used in org.opencontainers.image.ref.name tag.

If not set, a random name using UUID v4 hyphenated is set.

Set created date time in UTC

Set additional annotations

Set the name and/or email address of the person or entity which created and is responsible for maintaining the image.

Set platform consists of architecture and OS info

Append a files as a layer

Append directory as a layer

Trait Implementations

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.