pub struct PrometheusSpec {Show 89 fields
    pub additional_alert_manager_configs: Option<PrometheusAdditionalAlertManagerConfigs>,
    pub additional_alert_relabel_configs: Option<PrometheusAdditionalAlertRelabelConfigs>,
    pub additional_args: Option<Vec<PrometheusAdditionalArgs>>,
    pub additional_scrape_configs: Option<PrometheusAdditionalScrapeConfigs>,
    pub affinity: Option<PrometheusAffinity>,
    pub alerting: Option<PrometheusAlerting>,
    pub allow_overlapping_blocks: Option<bool>,
    pub apiserver_config: Option<PrometheusApiserverConfig>,
    pub arbitrary_fs_access_through_s_ms: Option<PrometheusArbitraryFsAccessThroughSMs>,
    pub base_image: Option<String>,
    pub config_maps: Option<Vec<String>>,
    pub containers: Option<Vec<PrometheusContainers>>,
    pub disable_compaction: Option<bool>,
    pub enable_admin_api: Option<bool>,
    pub enable_features: Option<Vec<String>>,
    pub enable_remote_write_receiver: Option<bool>,
    pub enforced_body_size_limit: Option<String>,
    pub enforced_label_limit: Option<i64>,
    pub enforced_label_name_length_limit: Option<i64>,
    pub enforced_label_value_length_limit: Option<i64>,
    pub enforced_namespace_label: Option<String>,
    pub enforced_sample_limit: Option<i64>,
    pub enforced_target_limit: Option<i64>,
    pub evaluation_interval: Option<String>,
    pub excluded_from_enforcement: Option<Vec<PrometheusExcludedFromEnforcement>>,
    pub exemplars: Option<PrometheusExemplars>,
    pub external_labels: Option<BTreeMap<String, String>>,
    pub external_url: Option<String>,
    pub host_aliases: Option<Vec<PrometheusHostAliases>>,
    pub host_network: Option<bool>,
    pub ignore_namespace_selectors: Option<bool>,
    pub image: Option<String>,
    pub image_pull_policy: Option<PrometheusImagePullPolicy>,
    pub image_pull_secrets: Option<Vec<PrometheusImagePullSecrets>>,
    pub init_containers: Option<Vec<PrometheusInitContainers>>,
    pub listen_local: Option<bool>,
    pub log_format: Option<PrometheusLogFormat>,
    pub log_level: Option<PrometheusLogLevel>,
    pub min_ready_seconds: Option<i32>,
    pub node_selector: Option<BTreeMap<String, String>>,
    pub override_honor_labels: Option<bool>,
    pub override_honor_timestamps: Option<bool>,
    pub paused: Option<bool>,
    pub pod_metadata: Option<PrometheusPodMetadata>,
    pub pod_monitor_namespace_selector: Option<LabelSelector>,
    pub pod_monitor_selector: Option<LabelSelector>,
    pub pod_target_labels: Option<Vec<String>>,
    pub port_name: Option<String>,
    pub priority_class_name: Option<String>,
    pub probe_namespace_selector: Option<LabelSelector>,
    pub probe_selector: Option<LabelSelector>,
    pub prometheus_external_label_name: Option<String>,
    pub prometheus_rules_excluded_from_enforce: Option<Vec<PrometheusPrometheusRulesExcludedFromEnforce>>,
    pub query: Option<PrometheusQuery>,
    pub query_log_file: Option<String>,
    pub remote_read: Option<Vec<PrometheusRemoteRead>>,
    pub remote_write: Option<Vec<PrometheusRemoteWrite>>,
    pub replica_external_label_name: Option<String>,
    pub replicas: Option<i32>,
    pub resources: Option<PrometheusResources>,
    pub retention: Option<String>,
    pub retention_size: Option<String>,
    pub route_prefix: Option<String>,
    pub rule_namespace_selector: Option<LabelSelector>,
    pub rule_selector: Option<LabelSelector>,
    pub rules: Option<PrometheusRules>,
    pub scrape_config_namespace_selector: Option<LabelSelector>,
    pub scrape_config_selector: Option<LabelSelector>,
    pub scrape_interval: Option<String>,
    pub scrape_timeout: Option<String>,
    pub secrets: Option<Vec<String>>,
    pub security_context: Option<PrometheusSecurityContext>,
    pub service_account_name: Option<String>,
    pub service_monitor_namespace_selector: Option<LabelSelector>,
    pub service_monitor_selector: Option<LabelSelector>,
    pub sha: Option<String>,
    pub shards: Option<i32>,
    pub storage: Option<PrometheusStorage>,
    pub tag: Option<String>,
    pub thanos: Option<PrometheusThanos>,
    pub tolerations: Option<Vec<PrometheusTolerations>>,
    pub topology_spread_constraints: Option<Vec<PrometheusTopologySpreadConstraints>>,
    pub tracing_config: Option<PrometheusTracingConfig>,
    pub tsdb: Option<PrometheusTsdb>,
    pub version: Option<String>,
    pub volume_mounts: Option<Vec<PrometheusVolumeMounts>>,
    pub volumes: Option<Vec<PrometheusVolumes>>,
    pub wal_compression: Option<bool>,
    pub web: Option<PrometheusWeb>,
}Fields§
§additional_alert_manager_configs: Option<PrometheusAdditionalAlertManagerConfigs>§additional_alert_relabel_configs: Option<PrometheusAdditionalAlertRelabelConfigs>§additional_args: Option<Vec<PrometheusAdditionalArgs>>§additional_scrape_configs: Option<PrometheusAdditionalScrapeConfigs>§affinity: Option<PrometheusAffinity>§alerting: Option<PrometheusAlerting>§allow_overlapping_blocks: Option<bool>§apiserver_config: Option<PrometheusApiserverConfig>§arbitrary_fs_access_through_s_ms: Option<PrometheusArbitraryFsAccessThroughSMs>§base_image: Option<String>§config_maps: Option<Vec<String>>§containers: Option<Vec<PrometheusContainers>>§disable_compaction: Option<bool>§enable_admin_api: Option<bool>§enable_features: Option<Vec<String>>§enable_remote_write_receiver: Option<bool>§enforced_body_size_limit: Option<String>§enforced_label_limit: Option<i64>§enforced_label_name_length_limit: Option<i64>§enforced_label_value_length_limit: Option<i64>§enforced_namespace_label: Option<String>§enforced_sample_limit: Option<i64>§enforced_target_limit: Option<i64>§evaluation_interval: Option<String>§excluded_from_enforcement: Option<Vec<PrometheusExcludedFromEnforcement>>§exemplars: Option<PrometheusExemplars>§external_labels: Option<BTreeMap<String, String>>§external_url: Option<String>§host_aliases: Option<Vec<PrometheusHostAliases>>§host_network: Option<bool>§ignore_namespace_selectors: Option<bool>§image: Option<String>§image_pull_policy: Option<PrometheusImagePullPolicy>§image_pull_secrets: Option<Vec<PrometheusImagePullSecrets>>§init_containers: Option<Vec<PrometheusInitContainers>>§listen_local: Option<bool>§log_format: Option<PrometheusLogFormat>§log_level: Option<PrometheusLogLevel>§min_ready_seconds: Option<i32>§node_selector: Option<BTreeMap<String, String>>§override_honor_labels: Option<bool>§override_honor_timestamps: Option<bool>§paused: Option<bool>§pod_metadata: Option<PrometheusPodMetadata>§pod_monitor_namespace_selector: Option<LabelSelector>§pod_monitor_selector: Option<LabelSelector>§pod_target_labels: Option<Vec<String>>§port_name: Option<String>§priority_class_name: Option<String>§probe_namespace_selector: Option<LabelSelector>§probe_selector: Option<LabelSelector>§prometheus_external_label_name: Option<String>§prometheus_rules_excluded_from_enforce: Option<Vec<PrometheusPrometheusRulesExcludedFromEnforce>>§query: Option<PrometheusQuery>§query_log_file: Option<String>§remote_read: Option<Vec<PrometheusRemoteRead>>§remote_write: Option<Vec<PrometheusRemoteWrite>>§replica_external_label_name: Option<String>§replicas: Option<i32>§resources: Option<PrometheusResources>§retention: Option<String>§retention_size: Option<String>§route_prefix: Option<String>§rule_namespace_selector: Option<LabelSelector>§rule_selector: Option<LabelSelector>§rules: Option<PrometheusRules>§scrape_config_namespace_selector: Option<LabelSelector>§scrape_config_selector: Option<LabelSelector>§scrape_interval: Option<String>§scrape_timeout: Option<String>§secrets: Option<Vec<String>>§security_context: Option<PrometheusSecurityContext>§service_account_name: Option<String>§service_monitor_namespace_selector: Option<LabelSelector>§service_monitor_selector: Option<LabelSelector>§sha: Option<String>§shards: Option<i32>§storage: Option<PrometheusStorage>§tag: Option<String>§thanos: Option<PrometheusThanos>§tolerations: Option<Vec<PrometheusTolerations>>§topology_spread_constraints: Option<Vec<PrometheusTopologySpreadConstraints>>§tracing_config: Option<PrometheusTracingConfig>§tsdb: Option<PrometheusTsdb>§version: Option<String>§volume_mounts: Option<Vec<PrometheusVolumeMounts>>§volumes: Option<Vec<PrometheusVolumes>>§wal_compression: Option<bool>§web: Option<PrometheusWeb>Trait Implementations§
Source§impl Clone for PrometheusSpec
 
impl Clone for PrometheusSpec
Source§fn clone(&self) -> PrometheusSpec
 
fn clone(&self) -> PrometheusSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for PrometheusSpec
 
impl Debug for PrometheusSpec
Source§impl Default for PrometheusSpec
 
impl Default for PrometheusSpec
Source§fn default() -> PrometheusSpec
 
fn default() -> PrometheusSpec
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrometheusSpec
 
impl<'de> Deserialize<'de> for PrometheusSpec
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 PrometheusSpec
impl RefUnwindSafe for PrometheusSpec
impl Send for PrometheusSpec
impl Sync for PrometheusSpec
impl Unpin for PrometheusSpec
impl UnwindSafe for PrometheusSpec
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> 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 more