Skip to main content

elasticctl_api/
lib.rs

1#![forbid(unsafe_code)]
2
3pub mod codec;
4pub mod diff;
5pub mod exceptions;
6pub mod health;
7pub mod model;
8pub mod normalize;
9pub mod ops;
10pub mod prebuilt;
11pub mod report;
12pub mod rules;
13pub mod rules_ops;
14pub mod selection;
15pub mod state;
16
17pub use codec::Format;
18pub use diff::{Change, Drift, FieldChange};
19pub use exceptions::{ListDetail, ListFilter, ListReport};
20pub use health::{DoctorCheck, DoctorReport, InfoReport, Status};
21pub use model::{
22    COMMENT_VOLATILE_FIELDS, ExceptionItem, ExceptionList, ExceptionRef, ExportSummary,
23    ITEM_VOLATILE_FIELDS, LIST_VOLATILE_FIELDS, ListKey, Rule, VOLATILE_FIELDS, exception_refs,
24    server_defaults,
25};
26pub use normalize::{canonical, comparable, sort_rules};
27pub use ops::{DeleteOutcome, ExportOutcome, ImportPlan, ImportReport, MutationPlan};
28pub use prebuilt::{PrebuiltInstallOutcome, PrebuiltStatus};
29pub use report::{ChangeReport, ReportEntry};
30pub use rules::{BulkAction, BulkOutcome, RuleFilter, RuleSource};
31pub use rules_ops::{PreviewReport, RuleListReport, SetEnabledOutcome, ValidateReport};
32pub use state::{
33    DanglingPointer, DiffReport, ExceptionDrift, ListChange, PullReport, PushPlan, PushReport,
34};