pub struct Push {
pub chart: PathBuf,
pub remote: String,
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>,
pub password: Option<Secret>,
}Expand description
helm push: uploads a packaged chart (and its .prov file when it sits next to it) to an
OCI registry. Helm 4.3 has only the OCI pusher.
The password never reaches argv: the CLI backend writes it, with the username, to a 0600
temporary registry config for the registry host of remote, like
ChartPathOptions::password.
Fields§
§chart: PathBufThe packaged chart ([chart]), a .tgz file.
remote: StringThe registry to push to ([remote]), oci://host/path; Helm appends the chart name and
version.
cert_file: Option<PathBuf>Flag --cert-file: the registry client SSL certificate.
key_file: Option<PathBuf>Flag --key-file: the registry client SSL 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.
username: Option<String>Flag --username.
password: Option<Secret>Never a flag: see the type documentation.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Push
Auto Trait Implementations§
impl Forget for Push
impl Freeze for Push
impl Move for Push
impl RefUnwindSafe for Push
impl Send for Pushwhere
RawVecInner: Send,
impl Sync for Pushwhere
RawVecInner: Sync,
impl Unpin for Push
impl UnsafeUnpin for Push
impl UnwindSafe for Pushwhere
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<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