pub struct InstallArgs {
pub common: CommonArgs,
pub port: u16,
pub profile: Option<String>,
pub shm_size: Option<String>,
pub takeover_provider: TakeoverProviderArg,
pub with: Vec<String>,
pub rebuild: bool,
pub from_source: bool,
pub context: Option<String>,
pub host_args: Vec<String>,
pub reveal_token_secret: bool,
}Fields§
§common: CommonArgs§port: u16Host CDP port, published on 127.0.0.1.
profile: Option<String>Initial logical profile name inside the container. Defaults to -
(ephemeral); persistent profiles are scoped by backend.
shm_size: Option<String>Chromium /dev/shm size. Defaults to 1g, or 2g when takeover is on.
takeover_provider: TakeoverProviderArgReal-display takeover provider for the built host. A provider name
(default kasmvnc) builds a Brave + KasmVNC takeover-ready host with an
ephemeral initial profile and 2g /dev/shm; off builds a lean headless host.
with: Vec<String>Extra component to build into the image (repeatable). Browser backends: chrome-headless-shell, lightpanda, fingerprint-chromium, camoufox, brave. Plus the takeover provider: kasmvnc.
rebuild: boolRebuild the image even if it already exists.
from_source: boolBuild the full image from a source checkout (container/docker/Dockerfile) instead of downloading the prebuilt release. Needs the source tree.
context: Option<String>Source checkout to build from with –from-source (default: current dir, then the checkout this afhttp binary was built from).
host_args: Vec<String>Extra args passed through to afhttp host inside the container.
reveal_token_secret: boolExplicitly include the long-lived host token in stdout.
Trait Implementations§
Source§impl Args for InstallArgs
impl Args for InstallArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for InstallArgs
impl Debug for InstallArgs
Source§impl FromArgMatches for InstallArgs
impl FromArgMatches for InstallArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.