File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ pub mod kubernetes;
92
92
pub mod line_agg;
93
93
pub mod list;
94
94
#[ cfg( any( feature = "sources-nats" , feature = "sinks-nats" ) ) ]
95
- pub ( crate ) mod nats;
95
+ pub mod nats;
96
96
pub mod net;
97
97
#[ allow( unreachable_pub) ]
98
98
pub ( crate ) mod proto;
Original file line number Diff line number Diff line change
1
+ //! Shared helper functions for NATS source and sink.
2
+ #![ allow( missing_docs) ]
3
+
1
4
use nkeys:: error:: Error as NKeysError ;
2
5
use snafu:: { ResultExt , Snafu } ;
3
6
use vector_lib:: configurable:: configurable_component;
4
7
use vector_lib:: sensitive_string:: SensitiveString ;
5
8
6
9
use crate :: tls:: TlsEnableableConfig ;
7
10
11
+ /// Errors that can occur during NATS configuration.
8
12
#[ derive( Debug , Snafu ) ]
9
13
pub enum NatsConfigError {
10
14
#[ snafu( display( "NATS Auth Config Error: {}" , source) ) ]
You can’t perform that action at this time.
0 commit comments