pub struct CouchbaseClusterLoggingAuditGarbageCollectionSidecar {
pub age: Option<String>,
pub enabled: Option<bool>,
pub image: Option<String>,
pub interval: Option<String>,
pub resources: Option<CouchbaseClusterLoggingAuditGarbageCollectionSidecarResources>,
}Expand description
DEPRECATED - by spec.logging.audit.rotation for Couchbase Server 7.2.4+ Provide the sidecar configuration required (if so desired) to automatically clean up audit logs.
Fields§
§age: Option<String>The minimum age of rotated log files to remove, defaults to one hour.
enabled: Option<bool>Enable this sidecar by setting to true, defaults to being disabled.
image: Option<String>Image is the image to be used to run the audit sidecar helper. No validation is carried out as this can be any arbitrary repo and tag.
interval: Option<String>The interval at which to check for rotated log files to remove, defaults to 20 minutes.
resources: Option<CouchbaseClusterLoggingAuditGarbageCollectionSidecarResources>Resources is the resource requirements for the cleanup container. Will be populated by Kubernetes defaults if not specified.
Trait Implementations§
Source§impl Clone for CouchbaseClusterLoggingAuditGarbageCollectionSidecar
impl Clone for CouchbaseClusterLoggingAuditGarbageCollectionSidecar
Source§fn clone(&self) -> CouchbaseClusterLoggingAuditGarbageCollectionSidecar
fn clone(&self) -> CouchbaseClusterLoggingAuditGarbageCollectionSidecar
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for CouchbaseClusterLoggingAuditGarbageCollectionSidecar
impl Default for CouchbaseClusterLoggingAuditGarbageCollectionSidecar
Source§fn default() -> CouchbaseClusterLoggingAuditGarbageCollectionSidecar
fn default() -> CouchbaseClusterLoggingAuditGarbageCollectionSidecar
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CouchbaseClusterLoggingAuditGarbageCollectionSidecar
impl<'de> Deserialize<'de> for CouchbaseClusterLoggingAuditGarbageCollectionSidecar
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
Source§impl PartialEq for CouchbaseClusterLoggingAuditGarbageCollectionSidecar
impl PartialEq for CouchbaseClusterLoggingAuditGarbageCollectionSidecar
Source§fn eq(
&self,
other: &CouchbaseClusterLoggingAuditGarbageCollectionSidecar,
) -> bool
fn eq( &self, other: &CouchbaseClusterLoggingAuditGarbageCollectionSidecar, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CouchbaseClusterLoggingAuditGarbageCollectionSidecar
Auto Trait Implementations§
impl Freeze for CouchbaseClusterLoggingAuditGarbageCollectionSidecar
impl RefUnwindSafe for CouchbaseClusterLoggingAuditGarbageCollectionSidecar
impl Send for CouchbaseClusterLoggingAuditGarbageCollectionSidecar
impl Sync for CouchbaseClusterLoggingAuditGarbageCollectionSidecar
impl Unpin for CouchbaseClusterLoggingAuditGarbageCollectionSidecar
impl UnsafeUnpin for CouchbaseClusterLoggingAuditGarbageCollectionSidecar
impl UnwindSafe for CouchbaseClusterLoggingAuditGarbageCollectionSidecar
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