pub struct UserWorkloadsSecret {
pub data: Option<HashMap<String, String>>,
pub name: Option<String>,
}
Expand description
User workloads Secret used by Airflow tasks that run with Kubernetes executor or KubernetesPodOperator.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations environments user workloads secrets create projects (request|response)
- locations environments user workloads secrets get projects (response)
- locations environments user workloads secrets update projects (request|response)
Fields§
§data: Option<HashMap<String, String>>
Optional. The “data” field of Kubernetes Secret, organized in key-value pairs, which can contain sensitive values such as a password, a token, or a key. The values for all keys have to be base64-encoded strings. For details see: https://kubernetes.io/docs/concepts/configuration/secret/
name: Option<String>
Identifier. The resource name of the Secret, in the form: “projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}”
Trait Implementations§
Source§impl Clone for UserWorkloadsSecret
impl Clone for UserWorkloadsSecret
Source§fn clone(&self) -> UserWorkloadsSecret
fn clone(&self) -> UserWorkloadsSecret
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for UserWorkloadsSecret
impl Debug for UserWorkloadsSecret
Source§impl Default for UserWorkloadsSecret
impl Default for UserWorkloadsSecret
Source§fn default() -> UserWorkloadsSecret
fn default() -> UserWorkloadsSecret
Source§impl<'de> Deserialize<'de> for UserWorkloadsSecret
impl<'de> Deserialize<'de> for UserWorkloadsSecret
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for UserWorkloadsSecret
impl Serialize for UserWorkloadsSecret
impl RequestValue for UserWorkloadsSecret
impl ResponseResult for UserWorkloadsSecret
Auto Trait Implementations§
impl Freeze for UserWorkloadsSecret
impl RefUnwindSafe for UserWorkloadsSecret
impl Send for UserWorkloadsSecret
impl Sync for UserWorkloadsSecret
impl Unpin for UserWorkloadsSecret
impl UnwindSafe for UserWorkloadsSecret
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
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