pub enum Commands {
Show 20 variants
Up(UpArgs),
Down(DownArgs),
Destroy(DestroyArgs),
Status(StatusArgs),
Update(UpdateArgs),
Deploy(DeployArgs),
UpdateEtcHosts(UpdateEtcHostsArgs),
SetKubeContext(SetKubeContextArgs),
Run(RunArgs),
Config(ConfigArgs),
Version(VersionArgs),
EditModeProcessSupervisor(EditModeProcessSupervisorArgs),
Ca(CaArgs),
Kubectl(KubectlArgs),
K9s(K9sArgs),
Stern(SternArgs),
Registry(RegistryArgs),
Logs(LogsArgs),
Doctor(DoctorArgs),
Tool(ToolArgs),
}Expand description
Top-level subcommands, matching cmd/factory.go’s app.Commands slice.
Variants§
Up(UpArgs)
Start the Caproni cluster and deploy all deployers.
Down(DownArgs)
Stop the Caproni cluster.
Destroy(DestroyArgs)
Destroy the Caproni cluster and delete all its data.
Status(StatusArgs)
Show the status of all services.
Update(UpdateArgs)
Update all repository source code.
Deploy(DeployArgs)
Deploy or update Helm charts to the cluster.
UpdateEtcHosts(UpdateEtcHostsArgs)
Update /etc/hosts file with cluster hostnames.
SetKubeContext(SetKubeContextArgs)
Add the cluster’s context to your kubeconfig.
Run(RunArgs)
Run reloaders in edit mode until interrupted.
Config(ConfigArgs)
Configuration management commands.
Version(VersionArgs)
Print version information.
EditModeProcessSupervisor(EditModeProcessSupervisorArgs)
Supervise and restart edit mode processes.
Hidden internal command started by caproni run for each reloader.
Ca(CaArgs)
Manage the Caproni Dev CA certificate.
Kubectl(KubectlArgs)
Run kubectl in the context of the cluster.
K9s(K9sArgs)
Browse the cluster with k9s.
Stern(SternArgs)
Tail logs from multiple pods with stern.
Registry(RegistryArgs)
Manage caproni’s host-side registry cache.
Logs(LogsArgs)
View edit mode reloader logs.
Doctor(DoctorArgs)
Run built-in diagnostics to help troubleshoot Caproni.
Tool(ToolArgs)
Run an executable on PATH with access to the cluster.
Trait Implementations§
Source§impl FromArgMatches for Commands
impl FromArgMatches for Commands
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<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for Commands
impl Subcommand for Commands
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for Commands
impl RefUnwindSafe for Commands
impl Send for Commands
impl Sync for Commands
impl Unpin for Commands
impl UnsafeUnpin for Commands
impl UnwindSafe for Commands
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more