pub struct InspectArgs {Show 19 fields
pub path: Option<PathBuf>,
pub pack: Option<PathBuf>,
pub input: Option<PathBuf>,
pub archive: bool,
pub source: bool,
pub allow_oci_tags: bool,
pub flow_doctor: bool,
pub component_doctor: bool,
pub format: InspectFormat,
pub validate: bool,
pub no_validate: bool,
pub validators_root: PathBuf,
pub validator_pack: Vec<String>,
pub validator_wasm: Vec<String>,
pub validator_allow: Vec<String>,
pub validator_cache_dir: PathBuf,
pub validator_policy: ValidatorPolicy,
pub online: bool,
pub use_describe_cache: bool,
}Fields§
§path: Option<PathBuf>Path to a pack (.gtpack or source dir). Defaults to current directory.
pack: Option<PathBuf>Path to a compiled .gtpack archive
input: Option<PathBuf>Path to a pack source directory containing pack.yaml
archive: boolForce archive inspection (disables auto-detection)
source: boolForce source inspection (disables auto-detection)
Allow OCI component refs in extensions to be tag-based (default requires sha256 digest)
flow_doctor: boolDisable per-flow doctor checks
component_doctor: boolDisable per-component doctor checks
format: InspectFormatOutput format
validate: boolEnable validation (default)
no_validate: boolDisable validation
validators_root: PathBufDirectory containing validator packs (.gtpack)
validator_pack: Vec<String>Validator pack or component reference (path or oci://…)
validator_wasm: Vec<String>Validator component wasm (format: <COMPONENT_ID>=
validator_allow: Vec<String>Allowed OCI prefixes for validator refs
validator_cache_dir: PathBufValidator cache directory
validator_policy: ValidatorPolicyValidator loading policy
online: boolAllow online resolution of component refs during pack lock checks (default: offline)
use_describe_cache: boolAllow describe cache fallback when components cannot execute describe()
Trait Implementations§
Source§impl Args for InspectArgs
impl Args for InspectArgs
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 CommandFactory for InspectArgs
impl CommandFactory for InspectArgs
Source§impl Debug for InspectArgs
impl Debug for InspectArgs
Source§impl FromArgMatches for InspectArgs
impl FromArgMatches for InspectArgs
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.Source§impl Parser for InspectArgs
impl Parser for InspectArgs
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for InspectArgs
impl RefUnwindSafe for InspectArgs
impl Send for InspectArgs
impl Sync for InspectArgs
impl Unpin for InspectArgs
impl UnsafeUnpin for InspectArgs
impl UnwindSafe for InspectArgs
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
Source§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
self file descriptor.Source§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
Source§fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
self file descriptor. Read moreSource§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request