use std::collections::BTreeMap;
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct KubeDiscoveryConfig {
pub namespace: String,
pub label_selector: Option<String>,
pub port_name: Option<String>,
pub metadata: BTreeMap<String, String>,
}
impl Default for KubeDiscoveryConfig {
fn default() -> Self {
Self {
namespace: "default".to_string(),
label_selector: None,
port_name: None,
metadata: BTreeMap::new(),
}
}
}