pub struct ChartPathOptions {
pub version: Option<String>,
pub verify: bool,
pub keyring: Option<PathBuf>,
pub repo: Option<String>,
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,
pub pass_credentials: bool,
}Expand description
The chart download flags shared by install, upgrade and the other commands that fetch a chart
(addChartPathOptionsFlags, pkg/cmd/flags.go).
The password never reaches argv. For an oci:// chart the CLI backend writes it to a 0600
temporary registry config (and passes the username through it too); for any other chart it
refuses the command, because Helm 4.3 reads a repository password only from --password or a
repository config entry (add the repository with a password first, then use
ChartRef::Repo).
Fields§
§version: Option<String>Flag --version: a version or a constraint such as ^2.0.0.
verify: boolFlag --verify: the chart must have a valid provenance file.
keyring: Option<PathBuf>Flag --keyring: the public keyring used by --verify.
repo: Option<String>Flag --repo: the repository URL to look the chart up in.
username: Option<String>Flag --username.
password: Option<Secret>Never a flag: see the type documentation.
cert_file: Option<PathBuf>Flag --cert-file: the TLS client certificate.
key_file: Option<PathBuf>Flag --key-file: the TLS 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 HTTP instead of HTTPS.
pass_credentials: boolFlag --pass-credentials: send credentials to every domain, not only the repository’s.
Implementations§
Source§impl ChartPathOptions
impl ChartPathOptions
Sourcepub fn builder() -> ChartPathOptionsBuilder
pub fn builder() -> ChartPathOptionsBuilder
Create an instance of ChartPathOptions using the builder syntax
Trait Implementations§
Source§impl Clone for ChartPathOptions
impl Clone for ChartPathOptions
Source§impl Debug for ChartPathOptions
impl Debug for ChartPathOptions
Source§impl Default for ChartPathOptions
impl Default for ChartPathOptions
Source§impl PartialEq for ChartPathOptions
impl PartialEq for ChartPathOptions
impl StructuralPartialEq for ChartPathOptions
Auto Trait Implementations§
impl Forget for ChartPathOptions
impl Freeze for ChartPathOptions
impl Move for ChartPathOptions
impl RefUnwindSafe for ChartPathOptions
impl Send for ChartPathOptionswhere
RawVecInner: Send,
impl Sync for ChartPathOptionswhere
RawVecInner: Sync,
impl Unpin for ChartPathOptions
impl UnsafeUnpin for ChartPathOptions
impl UnwindSafe for ChartPathOptionswhere
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