pub struct Plumber {
pub notification_queue_interval: u64,
pub notification_queue_max_age: u64,
pub enable_task_cleanup: bool,
pub task_cleanup_user: Option<String>,
pub task_cleanup_password: Option<String>,
}Expand description
Plumber Configuration
Fields§
§notification_queue_interval: u64Interval in seconds at which the notification queue cleanup should run
notification_queue_max_age: u64Max age in seconds notification queue messages can be
enable_task_cleanup: boolShould rust run cleanup of elasticsearch’s .tasks table
task_cleanup_user: Option<String>If task cleanup is enabled what user to use for that task (if not set a user will be created) The task_cleanup_password must also be set.
task_cleanup_password: Option<String>Password for the task cleanup user, in kubernetes deployments should probably be set to an environment variable defined in coreEnv where the password is being set from a secret.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Plumber
impl<'de> Deserialize<'de> for Plumber
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Plumber
impl RefUnwindSafe for Plumber
impl Send for Plumber
impl Sync for Plumber
impl Unpin for Plumber
impl UnwindSafe for Plumber
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more