pub struct DependencyOptions {
pub verify: bool,
pub keyring: Option<PathBuf>,
pub skip_refresh: bool,
pub username: Option<String>,
pub password: Option<Secret>,
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,
}Expand description
The flags helm dependency build and helm dependency update share
(addDependencySubcommandFlags, pkg/cmd/dependency.go, Helm v4.3.0).
Helm uses username and password only for the registry client, that is for oci://
dependencies; repositories of other kinds authenticate through the repository config. The
password never reaches argv: the CLI backend writes it, with the username, to a 0600
temporary registry config entry for the registry host of each oci:// dependency of the chart,
and refuses the command when the chart has none.
Fields§
§verify: boolFlag --verify: verify the packages against signatures. build verifies when it can
(VerifyIfPossible: a missing provenance file only warns); update always verifies.
keyring: Option<PathBuf>Flag --keyring: the keyring that holds the public keys.
skip_refresh: boolFlag --skip-refresh: do not refresh the local repository cache.
username: Option<String>Flag --username.
password: Option<Secret>Never a flag: see the type documentation.
cert_file: Option<PathBuf>Flag --cert-file: the HTTPS client certificate.
key_file: Option<PathBuf>Flag --key-file: the HTTPS client key.
ca_file: Option<PathBuf>Flag --ca-file: the CA bundle that verifies HTTPS servers.
insecure_skip_tls_verify: boolFlag --insecure-skip-tls-verify.
plain_http: boolFlag --plain-http: use insecure HTTP connections.
Implementations§
Source§impl DependencyOptions
impl DependencyOptions
Sourcepub fn builder() -> DependencyOptionsBuilder
pub fn builder() -> DependencyOptionsBuilder
Create an instance of DependencyOptions using the builder syntax
Trait Implementations§
Source§impl Clone for DependencyOptions
impl Clone for DependencyOptions
Source§impl Debug for DependencyOptions
impl Debug for DependencyOptions
Source§impl Default for DependencyOptions
impl Default for DependencyOptions
Source§impl PartialEq for DependencyOptions
impl PartialEq for DependencyOptions
impl StructuralPartialEq for DependencyOptions
Auto Trait Implementations§
impl Forget for DependencyOptions
impl Freeze for DependencyOptions
impl Move for DependencyOptions
impl RefUnwindSafe for DependencyOptions
impl Send for DependencyOptionswhere
RawVecInner: Send,
impl Sync for DependencyOptionswhere
RawVecInner: Sync,
impl Unpin for DependencyOptions
impl UnsafeUnpin for DependencyOptions
impl UnwindSafe for DependencyOptionswhere
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<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