pub struct PluginVerify {
pub path: PathBuf,
pub keyring: Option<PathBuf>,
}Expand description
helm plugin verify: verifies a plugin tarball against its .prov file. Failure is the error;
success returns the signer and the verified hash.
Fields§
§path: PathBufThe plugin tarball (PATH); PATH.prov must sit next to it.
keyring: Option<PathBuf>Flag --keyring: the keyring that holds the public keys.
Implementations§
Source§impl PluginVerify
impl PluginVerify
Sourcepub fn builder(path: impl Into<PathBuf>) -> PluginVerifyBuilder
pub fn builder(path: impl Into<PathBuf>) -> PluginVerifyBuilder
Create an instance of PluginVerify using the builder syntax
Trait Implementations§
Source§impl Clone for PluginVerify
impl Clone for PluginVerify
Source§impl Command for PluginVerify
impl Command for PluginVerify
Source§type Output = PluginVerification
type Output = PluginVerification
The parsed result of the command.
Source§impl Debug for PluginVerify
impl Debug for PluginVerify
impl Eq for PluginVerify
Source§impl PartialEq for PluginVerify
impl PartialEq for PluginVerify
impl StructuralPartialEq for PluginVerify
Auto Trait Implementations§
impl Forget for PluginVerify
impl Freeze for PluginVerify
impl Move for PluginVerify
impl RefUnwindSafe for PluginVerify
impl Send for PluginVerifywhere
RawVecInner: Send,
impl Sync for PluginVerifywhere
RawVecInner: Sync,
impl Unpin for PluginVerify
impl UnsafeUnpin for PluginVerify
impl UnwindSafe for PluginVerifywhere
RawVecInner: UnwindSafe,
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
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§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> ⓘ
Converts
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> ⓘ
Converts
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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ServiceExt for T
impl<T> ServiceExt for T
Source§fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
Apply a transformation to the response body. Read more
Source§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using HTTP status codes. Read more
Source§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using gRPC headers. Read more