pub struct PluginPackage {
pub path: PathBuf,
pub destination: Option<PathBuf>,
pub sign: bool,
pub key: Option<String>,
pub keyring: Option<PathBuf>,
pub passphrase: Option<Passphrase>,
}Expand description
helm plugin package: packages a plugin directory into NAME-VERSION.tgz, signed by default.
Fields§
§path: PathBufThe plugin directory (PATH).
destination: Option<PathBuf>Flag --destination (-d): where to write the tarball (Helm’s default is .).
sign: boolFlag --sign: sign the plugin with a PGP key and write a .prov file. Helm’s default is
true; false is passed as --sign=false.
key: Option<String>Flag --key: the name of the signing key.
keyring: Option<PathBuf>Flag --keyring: the keyring that holds the key.
passphrase: Option<Passphrase>Flag --passphrase-file: the passphrase of the signing key.
Implementations§
Source§impl PluginPackage
impl PluginPackage
Sourcepub fn builder(path: impl Into<PathBuf>) -> PluginPackageBuilder
pub fn builder(path: impl Into<PathBuf>) -> PluginPackageBuilder
Create an instance of PluginPackage using the builder syntax
Trait Implementations§
Source§impl Clone for PluginPackage
impl Clone for PluginPackage
Source§impl Debug for PluginPackage
impl Debug for PluginPackage
impl Eq for PluginPackage
Source§impl PartialEq for PluginPackage
impl PartialEq for PluginPackage
impl StructuralPartialEq for PluginPackage
Auto Trait Implementations§
impl Forget for PluginPackage
impl Freeze for PluginPackage
impl Move for PluginPackage
impl RefUnwindSafe for PluginPackage
impl Send for PluginPackagewhere
RawVecInner: Send,
impl Sync for PluginPackagewhere
RawVecInner: Sync,
impl Unpin for PluginPackage
impl UnsafeUnpin for PluginPackage
impl UnwindSafe for PluginPackagewhere
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