pub struct PluginInstall {
pub source: String,
pub version: Option<String>,
pub verify: bool,
pub keyring: Option<PathBuf>,
pub cert_file: Option<PathBuf>,
pub key_file: Option<PathBuf>,
pub ca_file: Option<PathBuf>,
pub insecure_skip_tls_verify: bool,
pub plain_http: bool,
pub username: Option<String>,
}Expand description
helm plugin install: installs a plugin from a local directory, an archive URL, a VCS URL or
an oci:// reference.
Helm 4.3.0 has --username and --password for OCI sources but its OCI plugin getter ignores
them (pkg/getter/ocigetter.go builds the registry client without basic auth), so only the
username is modelled. Authenticate with RegistryLogin, whose
credentials the installer reads from $HELM_CONFIG_HOME/registry/config.json.
Fields§
§source: StringThe plugin source (<path|url>).
version: Option<String>Flag --version: a version constraint (the latest when unset).
verify: boolFlag --verify: verify the signature before installing. Helm’s default is true; false
is passed as --verify=false. Local directories are never verified.
keyring: Option<PathBuf>Flag --keyring: the public keyring used for verification.
cert_file: Option<PathBuf>Flag --cert-file: the SSL client certificate.
key_file: Option<PathBuf>Flag --key-file: the SSL client key.
ca_file: Option<PathBuf>Flag --ca-file: the CA bundle that verifies the server.
insecure_skip_tls_verify: boolFlag --insecure-skip-tls-verify: skip the TLS certificate checks.
plain_http: boolFlag --plain-http: use insecure HTTP connections.
username: Option<String>Flag --username: the registry username.
Implementations§
Source§impl PluginInstall
impl PluginInstall
Sourcepub fn builder(source: impl Into<String>) -> PluginInstallBuilder
pub fn builder(source: impl Into<String>) -> PluginInstallBuilder
Create an instance of PluginInstall using the builder syntax
Trait Implementations§
Source§impl Clone for PluginInstall
impl Clone for PluginInstall
Source§impl Command for PluginInstall
impl Command for PluginInstall
Source§type Output = PluginInstalled
type Output = PluginInstalled
Source§impl Debug for PluginInstall
impl Debug for PluginInstall
impl Eq for PluginInstall
Source§impl PartialEq for PluginInstall
impl PartialEq for PluginInstall
impl StructuralPartialEq for PluginInstall
Auto Trait Implementations§
impl Forget for PluginInstall
impl Freeze for PluginInstall
impl Move for PluginInstall
impl RefUnwindSafe for PluginInstall
impl Send for PluginInstallwhere
RawVecInner: Send,
impl Sync for PluginInstallwhere
RawVecInner: Sync,
impl Unpin for PluginInstall
impl UnsafeUnpin for PluginInstall
impl UnwindSafe for PluginInstallwhere
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
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
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> ⓘ
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