pub struct Values {
pub files: Vec<ValuesFile>,
pub set_json: Vec<String>,
pub set: Vec<String>,
pub set_string: Vec<String>,
pub set_file: Vec<String>,
pub set_literal: Vec<String>,
}Expand description
Ordered value sources, built with the chained methods below.
Fields§
§files: Vec<ValuesFile>-f sources, lowest precedence first.
set_json: Vec<String>--set-json key=json arguments.
set: Vec<String>--set key=value arguments.
set_string: Vec<String>--set-string key=value arguments.
set_file: Vec<String>--set-file key=path arguments.
set_literal: Vec<String>--set-literal key=value arguments.
Implementations§
Source§impl Values
impl Values
Sourcepub fn json(self, value: Value) -> Self
pub fn json(self, value: Value) -> Self
Adds an in-memory document, delivered as a 0600 temporary file. Safe for secrets.
Sourcepub fn serialize(self, value: &impl Serialize) -> Result<Self>
pub fn serialize(self, value: &impl Serialize) -> Result<Self>
Adds any serializable value as an in-memory document. Safe for secrets.
Sourcepub fn set(self, key: impl Display, value: impl Display) -> Self
pub fn set(self, key: impl Display, value: impl Display) -> Self
Adds --set key=value. Visible in argv; no secrets.
Sourcepub fn set_string(self, key: impl Display, value: impl Display) -> Self
pub fn set_string(self, key: impl Display, value: impl Display) -> Self
Adds --set-string key=value. Visible in argv; no secrets.
Sourcepub fn set_file(self, key: impl Display, path: impl AsRef<Path>) -> Self
pub fn set_file(self, key: impl Display, path: impl AsRef<Path>) -> Self
Adds --set-file key=path, reading the value from the file.
Sourcepub fn set_json(self, key: impl Display, value: &Value) -> Self
pub fn set_json(self, key: impl Display, value: &Value) -> Self
Adds --set-json key=<json>. Visible in argv; no secrets.
Sourcepub fn set_literal(self, key: impl Display, value: impl Display) -> Self
pub fn set_literal(self, key: impl Display, value: impl Display) -> Self
Adds --set-literal key=value, which Helm takes verbatim (no comma or dot parsing).
Trait Implementations§
impl StructuralPartialEq for Values
Auto Trait Implementations§
impl Forget for Values
impl Freeze for Values
impl Move for Values
impl RefUnwindSafe for Values
impl Send for Values
impl Sync for Values
impl Unpin for Values
impl UnsafeUnpin for Valueswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<ValuesFile>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Values
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