pub struct DockerExecutionConfig {Show 14 fields
pub agent_path: Option<String>,
pub auth: Option<AuthConfig>,
pub container: Option<Config>,
pub containername: Option<String>,
pub disable_agent: Option<bool>,
pub expose_auth_metadata_as_env: Option<bool>,
pub host: Option<HostConfig>,
pub idle_command: Option<Vec<String>>,
pub image_pull_policy: Option<String>,
pub mode: Option<String>,
pub network: Option<NetworkingConfig>,
pub platform: Option<Platform>,
pub shell_command: Option<Vec<String>>,
pub subsystems: Option<HashMap<String, String>>,
}Expand description
goland:noinspection GoVetStructTag
Fields§
§agent_path: Option<String>AgentPath contains the path to the ContainerSSH Guest Agent.
auth: Option<AuthConfig>§container: Option<Config>§containername: Option<String>ContainerName is the name of the container to launch. It is recommended to leave this empty, otherwise ContainerSSH may not be able to start the container if a container with the same name already exists.
disable_agent: Option<bool>DisableAgent enables using the ContainerSSH Guest Agent.
expose_auth_metadata_as_env: Option<bool>ExposeAuthMetadataAsEnv lets you expose the authentication metadata (e.g. GITHUB_TOKEN) as an environment variable in the container. In contrast to the environment variables set in the SSH connection these environment variables are available to all processes in the container, including the idle command.
host: Option<HostConfig>§idle_command: Option<Vec<String>>IdleCommand is the command that runs as the first process in the container in DockerExecutionModeConnection. Ignored in DockerExecutionModeSession.
image_pull_policy: Option<String>ImagePullPolicyAlways means that the container image will be pulled on every connection. ImagePullPolicyIfNotPresent means the image will be pulled if the image is not present locally, an empty tag, or the "latest" tag was specified. ImagePullPolicyNever means that the image will never be pulled, and if the image is not available locally the connection will fail.
mode: Option<String>DockerExecutionModeConnection launches one container per SSH connection (default), while DockerExecutionModeSession launches one container per SSH session.
network: Option<NetworkingConfig>§platform: Option<Platform>§shell_command: Option<Vec<String>>ShellCommand is the command used for launching shells when the container is in DockerExecutionModeConnection. Ignored in DockerExecutionModeSession.
subsystems: Option<HashMap<String, String>>Subsystems contains a map of subsystem names and their corresponding binaries in the container.
Implementations§
Source§impl DockerExecutionConfig
impl DockerExecutionConfig
pub fn new() -> DockerExecutionConfig
Trait Implementations§
Source§impl Clone for DockerExecutionConfig
impl Clone for DockerExecutionConfig
Source§fn clone(&self) -> DockerExecutionConfig
fn clone(&self) -> DockerExecutionConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DockerExecutionConfig
impl Debug for DockerExecutionConfig
Source§impl<'de> Deserialize<'de> for DockerExecutionConfig
impl<'de> Deserialize<'de> for DockerExecutionConfig
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>,
Source§impl FromStr for DockerExecutionConfig
Converts Query Parameters representation (style=form, explode=false) to a DockerExecutionConfig value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for DockerExecutionConfig
Converts Query Parameters representation (style=form, explode=false) to a DockerExecutionConfig value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for DockerExecutionConfig
impl PartialEq for DockerExecutionConfig
Source§impl Serialize for DockerExecutionConfig
impl Serialize for DockerExecutionConfig
Source§impl ToString for DockerExecutionConfig
Converts the DockerExecutionConfig value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
impl ToString for DockerExecutionConfig
Converts the DockerExecutionConfig value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer