pub struct TargetConfig {
pub image: String,
pub entrypoint: Vec<String>,
pub command: Vec<String>,
pub additional_env_vars: Vec<String>,
}Expand description
Target configuration.
Fields§
§image: StringContainer image to use.
This must be a valid image reference – agent-data-plane:x.y.z,
registry.ddbuild.io/saluki/agent-data-plane:x.y.z, etc – to an image containing the agent-data-plane
binary.
entrypoint: Vec<String>Entrypoint to execute.
command: Vec<String>Command to run.
additional_env_vars: Vec<String>Additional environment variables to be passed into the target container.
These should be in the form of KEY=VALUE.
Trait Implementations§
Source§impl Clone for TargetConfig
impl Clone for TargetConfig
Source§fn clone(&self) -> TargetConfig
fn clone(&self) -> TargetConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TargetConfig
impl RefUnwindSafe for TargetConfig
impl Send for TargetConfig
impl Sync for TargetConfig
impl Unpin for TargetConfig
impl UnwindSafe for TargetConfig
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