pub struct RepoAdd {
pub name: String,
pub url: String,
pub username: Option<String>,
pub password: Option<Secret>,
pub pass_credentials: bool,
pub force_update: bool,
pub allow_deprecated_repos: bool,
pub timeout: Option<Duration>,
pub cert_file: Option<PathBuf>,
pub key_file: Option<PathBuf>,
pub ca_file: Option<PathBuf>,
pub insecure_skip_tls_verify: bool,
}Expand description
helm repo add: adds a chart repository to repositories.yaml and downloads its index.
The password reaches Helm through --password-stdin (never argv). Helm reads stdin only when a
username is set, so a password without a username is rejected when the command is built.
Fields§
§name: StringThe repository name (NAME); it must not contain /.
url: StringThe repository URL (URL).
username: Option<String>Flag --username: the chart repository username.
password: Option<Secret>Flag --password-stdin: the chart repository password, written to Helm’s stdin and never
to argv. Helm stores it in plain text in repositories.yaml (password: next to the
repository), so that file is as sensitive as the password; Helm reads it from stdin only
when a username is also set.
pass_credentials: boolFlag --pass-credentials: pass credentials to all domains.
force_update: boolFlag --force-update: replace the repository if it already exists.
allow_deprecated_repos: boolFlag --allow-deprecated-repos: allow the permanently deleted official repositories.
timeout: Option<Duration>Flag --timeout: time to wait for the index download (Helm’s default is 2m).
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.
Implementations§
Trait Implementations§
impl StructuralPartialEq for RepoAdd
Auto Trait Implementations§
impl Forget for RepoAdd
impl Freeze for RepoAdd
impl Move for RepoAdd
impl RefUnwindSafe for RepoAdd
impl Send for RepoAddwhere
RawVecInner: Send,
impl Sync for RepoAddwhere
RawVecInner: Sync,
impl Unpin for RepoAdd
impl UnsafeUnpin for RepoAdd
impl UnwindSafe for RepoAddwhere
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