Testing
This commit is contained in:
@@ -10,22 +10,8 @@ pub mod smart;
|
||||
|
||||
pub use error::CollectorError;
|
||||
|
||||
#[derive(Debug, Clone, serde::Serialize)]
|
||||
pub enum AgentType {
|
||||
Smart,
|
||||
Service,
|
||||
Backup,
|
||||
}
|
||||
pub use cm_dashboard_shared::envelope::AgentType;
|
||||
|
||||
impl AgentType {
|
||||
pub fn as_str(&self) -> &'static str {
|
||||
match self {
|
||||
AgentType::Smart => "smart",
|
||||
AgentType::Service => "service",
|
||||
AgentType::Backup => "backup",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct CollectorOutput {
|
||||
|
||||
Reference in New Issue
Block a user