pub enum RuntimeCommand {
Show 17 variants
List {
available: bool,
installed: bool,
manifest: Option<PathBuf>,
bundle_dirs: Vec<PathBuf>,
cache_dir: Option<PathBuf>,
json: bool,
},
Install {
runtime: Option<String>,
manifest: Option<PathBuf>,
bundle_dirs: Vec<PathBuf>,
cache_dir: Option<PathBuf>,
json: bool,
},
Remove {
native_runtime_id: String,
mesh_version: Option<String>,
cache_dir: Option<PathBuf>,
json: bool,
},
Prune {
active_only: bool,
mesh_version: Option<String>,
cache_dir: Option<PathBuf>,
json: bool,
},
Status {
port: u16,
},
Bootstrap {
port: u16,
json: bool,
},
GetConfig {
endpoint: String,
port: u16,
json: bool,
},
ScanRefresh {
endpoint: String,
port: u16,
json: bool,
},
LoadModel {
endpoint: String,
model: String,
profile: Option<String>,
port: u16,
json: bool,
},
UnloadModel {
endpoint: String,
model: Option<String>,
instance_id: Option<String>,
port: u16,
json: bool,
},
EnsureModel {
endpoint: String,
model: String,
profile: Option<String>,
port: u16,
json: bool,
},
DrainModel {
endpoint: String,
model: Option<String>,
instance_id: Option<String>,
port: u16,
json: bool,
},
RefreshInventory {
endpoint: String,
port: u16,
json: bool,
},
ApplyConfig {
endpoint: String,
expected_revision: u64,
config: PathBuf,
port: u16,
json: bool,
},
Load {
name: String,
port: u16,
},
Unload {
name: String,
port: u16,
},
Guardrails {
mode: MeshGuardrailCliMode,
port: u16,
json: bool,
},
}Variants§
List
List available or locally discoverable native runtimes.
Fields
Install
Install the recommended native runtime, or an explicit flavor/runtime ID.
Fields
Remove
Remove an installed native runtime.
Fields
Prune
Prune old native runtimes from the cache.
Fields
Status
Show local model status on a running mesh-llm instance.
Bootstrap
Show the local-only owner-control bootstrap policy for a running mesh-llm instance.
Fields
GetConfig
Fetch config from a remote owner-control endpoint through the local management API.
Fields
ScanRefresh
Scan and refresh inventory on a remote owner-control endpoint.
Fields
LoadModel
Load a model on a remote node through owner-control.
Fields
UnloadModel
Unload a model on a remote node through owner-control.
Fields
EnsureModel
Ensure a model is loaded on a remote node through owner-control.
Fields
DrainModel
Drain and unload a model on a remote node through owner-control.
Fields
RefreshInventory
Refresh local inventory on a remote owner-control endpoint through the local management API.
Fields
ApplyConfig
Apply config to a remote owner-control endpoint through the local management API.
Fields
Load
Load a local model into a running mesh-llm instance.
Fields
Unload
Unload a local model from a running mesh-llm instance.
Fields
Guardrails
Set mesh guardrail mode on running Skippy-backed models without restart.
Trait Implementations§
Source§impl Debug for RuntimeCommand
impl Debug for RuntimeCommand
Source§impl FromArgMatches for RuntimeCommand
impl FromArgMatches for RuntimeCommand
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 RuntimeCommand
impl Subcommand for RuntimeCommand
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 RuntimeCommand
impl RefUnwindSafe for RuntimeCommand
impl Send for RuntimeCommand
impl Sync for RuntimeCommand
impl Unpin for RuntimeCommand
impl UnsafeUnpin for RuntimeCommand
impl UnwindSafe for RuntimeCommand
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
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