Struct ConversionRequest

Source
pub struct ConversionRequest {
Show 23 fields pub input_image_name: String, pub output_image_name: String, pub input_auth_config: Option<AuthConfig>, pub output_auth_config: Option<AuthConfig>, pub auth_config: Option<AuthConfig>, pub mem_size: Option<String>, pub threads: Option<i32>, pub debug: Option<bool>, pub entrypoint: Option<Vec<String>>, pub entrypoint_args: Option<Vec<String>>, pub encrypted_dirs: Option<Vec<String>>, pub manifest_options: Option<Value>, pub certificates: Option<Vec<CertificateConfig>>, pub ca_certificates: Option<Vec<CaCertificateConfig>>, pub signing_key: Option<SigningKeyConfig>, pub external_packages: Option<String>, pub app: Option<Value>, pub core_dump_pattern: Option<String>, pub log_file_path: Option<String>, pub java_mode: Option<String>, pub rw_dirs: Option<Vec<String>>, pub allow_cmdline_args: Option<bool>, pub manifest_env: Option<Vec<String>>,
}

Fields§

§input_image_name: String

Registry and image name for the input container, e.g. my-registry/sample-app:latest

§output_image_name: String

Registry and image name for the output container, e.g. my-registry/sample-app-enclaveos:latest

§input_auth_config: Option<AuthConfig>§output_auth_config: Option<AuthConfig>§auth_config: Option<AuthConfig>§mem_size: Option<String>

Override the enclave size, e.g. 2048M. Suffixes K, M, and G are supported.

§threads: Option<i32>

Number of enclave threads

§debug: Option<bool>

Enables debug logging from EnclaveOS

§entrypoint: Option<Vec<String>>

Override the entrypoint of the original container

§entrypoint_args: Option<Vec<String>>

Override additional arguments to the container entrypoint

§encrypted_dirs: Option<Vec<String>>

Filesystem directories to encrypt using enclave sealing key

§manifest_options: Option<Value>

Add additional options to EnclaveOS manifest file

§certificates: Option<Vec<CertificateConfig>>§ca_certificates: Option<Vec<CaCertificateConfig>>§signing_key: Option<SigningKeyConfig>§external_packages: Option<String>

Fortanix external packages mount point in the toolserver container

§app: Option<Value>§core_dump_pattern: Option<String>

Template for generating debug core dump file paths

§log_file_path: Option<String>

Path for EnclaveOS log file

§java_mode: Option<String>

Type of the Java JVM used

§rw_dirs: Option<Vec<String>>

List of read write directories

§allow_cmdline_args: Option<bool>

Allow command line arguments to EnclaveOS application

§manifest_env: Option<Vec<String>>

List of manifest environment variables

Implementations§

Source§

impl ConversionRequest

Source

pub fn new( input_image_name: String, output_image_name: String, ) -> ConversionRequest

Trait Implementations§

Source§

impl Clone for ConversionRequest

Source§

fn clone(&self) -> ConversionRequest

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ConversionRequest

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for ConversionRequest

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for ConversionRequest

Source§

fn eq(&self, other: &ConversionRequest) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for ConversionRequest

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for ConversionRequest

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> Typeable for T
where T: Any,

Source§

fn get_type(&self) -> TypeId

Get the TypeId of this object.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,