Skip to main content

Module execute

Module execute 

Source
Expand description

Core command execution functions.

Each function receives an already-built provider (via trait objects in BuiltProvider) and typed parameter structs, then executes the operation, wraps the result in a Response envelope, and formats output. No clap types appear here.

The obz shell calls these functions after:

  1. Parsing CLI args with clap
  2. Looking up the provider metadata from the registry
  3. Instantiating the provider with the user-supplied endpoint/config

Enums§

ExecuteError
Error returned by core execute functions.

Functions§

execute_extension_command
Execute a provider-specific extension command.
execute_log_search
Execute obz log search.
execute_metric_info
Execute obz metric info.
execute_metric_label_values
Execute obz metric label-values.
execute_metric_labels
Execute obz metric labels.
execute_metric_list
Execute obz metric list.
execute_metric_query
Execute obz metric query.
execute_metric_series
Execute obz metric series.
execute_trace_get
Execute obz trace get.
execute_trace_search
Execute obz trace search.