Struct assemblyline_models::datastore::service::DockerConfig
source · pub struct DockerConfig {
pub allow_internet_access: bool,
pub command: Option<Vec<String>>,
pub cpu_cores: f64,
pub environment: Vec<EnvironmentVariable>,
pub image: String,
pub registry_username: Option<String>,
pub registry_password: Option<String>,
pub registry_type: RegistryType,
pub ports: Vec<String>,
pub ram_mb: u64,
pub ram_mb_min: u64,
pub service_account: Option<String>,
}Expand description
Docker Container Configuration
Fields§
§allow_internet_access: boolDoes the container have internet-access?
command: Option<Vec<String>>Command to run when container starts up.
cpu_cores: f64CPU allocation
environment: Vec<EnvironmentVariable>Additional environemnt variables for the container
image: StringComplete name of the Docker image with tag, may include registry
registry_username: Option<String>The username to use when pulling the image
registry_password: Option<String>The password or token to use when pulling the image
registry_type: RegistryTypeThe type of container registry
ports: Vec<String>What ports of container to expose?
ram_mb: u64Container RAM limit
ram_mb_min: u64Container RAM request
service_account: Option<String>Service account to use for pods in kubernetes
Trait Implementations§
source§impl Debug for DockerConfig
impl Debug for DockerConfig
source§impl Described<ElasticMeta> for DockerConfig
impl Described<ElasticMeta> for DockerConfig
source§fn metadata() -> Descriptor<ElasticMeta>
fn metadata() -> Descriptor<ElasticMeta>
Get self description of this type
source§impl<'de> Deserialize<'de> for DockerConfig
impl<'de> Deserialize<'de> for DockerConfig
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for DockerConfig
impl PartialEq for DockerConfig
source§fn eq(&self, other: &DockerConfig) -> bool
fn eq(&self, other: &DockerConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for DockerConfig
impl Serialize for DockerConfig
impl StructuralPartialEq for DockerConfig
Auto Trait Implementations§
impl RefUnwindSafe for DockerConfig
impl Send for DockerConfig
impl Sync for DockerConfig
impl Unpin for DockerConfig
impl UnwindSafe for DockerConfig
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