pub enum MeshCommand {
Show 15 variants
Status(MeshQueryArgs),
Nodes(MeshQueryArgs),
Identity(MeshQueryArgs),
Doctor(MeshQueryArgs),
Firewall(MeshFirewallArgs),
Peers(MeshViewArgs),
Peer(MeshPeerArgs),
State(MeshViewArgs),
Events(MeshEventsArgs),
Verify(MeshQueryArgs),
Claim(MeshClaimArgs),
Release(MeshReleaseArgs),
Session(MeshSessionArgs),
Handover(MeshHandoverArgs),
Review(MeshReviewArgs),
}Expand description
The mesh subcommands.
Variants§
Status(MeshQueryArgs)
Whether the mesh runs in this checkout’s server and why not when it does not, with every provider’s state and the registry’s tallies
Nodes(MeshQueryArgs)
Every node the running server has observed, deduplicated by node identity, with trust, presence, endpoints and provenance
Identity(MeshQueryArgs)
This machine’s node identity, public half only; absent is an answer, not an error
Doctor(MeshQueryArgs)
Prove the mesh prerequisites on this machine alone: declaration, identity, sockets, multicast, broadcast, the protocol end to end, and the host firewall
Firewall(MeshFirewallArgs)
What the host firewall must admit for the declared mesh and whether it does; apply admits it, as root
Peers(MeshViewArgs)
Every machine and runtime this checkout’s server cooperates with, each link’s state, and the active sessions; –full for every session and claim
Peer(MeshPeerArgs)
One runtime: its machine, liveness, link, sessions and claims; exits 10 when it is not known here
State(MeshViewArgs)
The state every linked runtime converges on, summarised with its digest; –full for every session, claim, handover and review
Events(MeshEventsArgs)
The cooperation journal’s events after a Lamport stamp, in Lamport order
Verify(MeshQueryArgs)
Prove cooperation now: local health, a live round with every peer this server dials, and convergence; exits 10 when a check fails
Claim(MeshClaimArgs)
Claim repository paths for a session; exits 10 naming the claims it meets when an exclusive claim on any linked runtime holds them
Release(MeshReleaseArgs)
Release a claim this server’s current run holds
Session(MeshSessionArgs)
Open, update or close a session on the mesh
Handover(MeshHandoverArgs)
Publish a handover of this checkout to the mesh, or consume one another runtime published
Review(MeshReviewArgs)
Ask the mesh for a review, or answer a request
Trait Implementations§
Source§impl Debug for MeshCommand
impl Debug for MeshCommand
Source§impl FromArgMatches for MeshCommand
impl FromArgMatches for MeshCommand
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 MeshCommand
impl Subcommand for MeshCommand
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 subcommand