Skip to main content

IntegrationProfileStatusTraitsMount

Struct IntegrationProfileStatusTraitsMount 

Source
pub struct IntegrationProfileStatusTraitsMount {
    pub configs: Option<Vec<String>>,
    pub configuration: Option<BTreeMap<String, Value>>,
    pub empty_dirs: Option<Vec<String>>,
    pub enabled: Option<bool>,
    pub hot_reload: Option<bool>,
    pub resources: Option<Vec<String>>,
    pub scan_kamelets_implicit_label_secrets: Option<bool>,
    pub volumes: Option<Vec<String>>,
}
Expand description

The configuration of Mount trait

Fields§

§configs: Option<Vec<String>>

A list of configuration pointing to configmap/secret. The configuration are expected to be UTF-8 resources as they are processed by runtime Camel Context and tried to be parsed as property files. They are also made available on the classpath in order to ease their usage directly from the Route. Syntax: [configmap|secret]:name[/key], where name represents the resource name and key optionally represents the resource key to be filtered

§configuration: Option<BTreeMap<String, Value>>

Legacy trait configuration parameters.

Deprecated: for backward compatibility.

§empty_dirs: Option<Vec<String>>

A list of EmptyDir volumes to be mounted. An optional size limit may be configured (default 500Mi). Syntax: name:/container/path[:sizeLimit]

§enabled: Option<bool>

Deprecated: no longer in use.

§hot_reload: Option<bool>

Enable “hot reload” when a secret/configmap mounted is edited (default false). The configmap/secret must be marked with camel.apache.org/integration label to be taken in account. The resource will be watched for any kind change, also for changes in metadata.

§resources: Option<Vec<String>>

A list of resources (text or binary content) pointing to configmap/secret. The resources are expected to be any resource type (text or binary content). The destination path can be either a default location or any path specified by the user. Syntax: [configmap|secret]:name[/key][@path], where name represents the resource name, key optionally represents the resource key to be filtered and path represents the destination path

§scan_kamelets_implicit_label_secrets: Option<bool>

Deprecated: no longer available since version 2.5.

§volumes: Option<Vec<String>>

A list of Persistent Volume Claims to be mounted. Syntax: [pvcname:/container/path]. If the PVC is not found, the Integration fails. You can use the syntax [pvcname:/container/path:size:accessMode<:storageClass>] to create a dynamic PVC based on the Storage Class provided or the default cluster Storage Class. However, if the PVC exists, the operator would mount it.

Trait Implementations§

Source§

impl Clone for IntegrationProfileStatusTraitsMount

Source§

fn clone(&self) -> IntegrationProfileStatusTraitsMount

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for IntegrationProfileStatusTraitsMount

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for IntegrationProfileStatusTraitsMount

Source§

fn default() -> IntegrationProfileStatusTraitsMount

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for IntegrationProfileStatusTraitsMount

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for IntegrationProfileStatusTraitsMount

Source§

fn eq(&self, other: &IntegrationProfileStatusTraitsMount) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for IntegrationProfileStatusTraitsMount

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for IntegrationProfileStatusTraitsMount

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,