pub struct Bootstrap {Show 33 fields
pub node: Option<Node>,
pub node_context_params: Vec<String>,
pub static_resources: Option<StaticResources>,
pub dynamic_resources: Option<DynamicResources>,
pub cluster_manager: Option<ClusterManager>,
pub hds_config: Option<ApiConfigSource>,
pub flags_path: String,
pub stats_sinks: Vec<StatsSink>,
pub stats_config: Option<StatsConfig>,
pub stats_flush_interval: Option<Duration>,
pub watchdog: Option<Watchdog>,
pub watchdogs: Option<Watchdogs>,
pub tracing: Option<Tracing>,
pub layered_runtime: Option<LayeredRuntime>,
pub admin: Option<Admin>,
pub overload_manager: Option<OverloadManager>,
pub enable_dispatcher_stats: bool,
pub header_prefix: String,
pub stats_server_version_override: Option<UInt64Value>,
pub use_tcp_for_dns_lookups: bool,
pub dns_resolution_config: Option<DnsResolutionConfig>,
pub typed_dns_resolver_config: Option<TypedExtensionConfig>,
pub bootstrap_extensions: Vec<TypedExtensionConfig>,
pub fatal_actions: Vec<FatalAction>,
pub config_sources: Vec<ConfigSource>,
pub default_config_source: Option<ConfigSource>,
pub default_socket_interface: String,
pub certificate_provider_instances: HashMap<String, TypedExtensionConfig>,
pub inline_headers: Vec<CustomInlineHeader>,
pub perf_tracing_file_path: String,
pub default_regex_engine: Option<TypedExtensionConfig>,
pub xds_delegate_extension: Option<TypedExtensionConfig>,
pub stats_flush: Option<StatsFlush>,
}
Fields§
§node: Option<Node>
§node_context_params: Vec<String>
§static_resources: Option<StaticResources>
§dynamic_resources: Option<DynamicResources>
§cluster_manager: Option<ClusterManager>
§hds_config: Option<ApiConfigSource>
§flags_path: String
§stats_sinks: Vec<StatsSink>
§stats_config: Option<StatsConfig>
§stats_flush_interval: Option<Duration>
§watchdog: Option<Watchdog>
👎Deprecated
§watchdogs: Option<Watchdogs>
§tracing: Option<Tracing>
👎Deprecated
§layered_runtime: Option<LayeredRuntime>
§admin: Option<Admin>
§overload_manager: Option<OverloadManager>
§enable_dispatcher_stats: bool
§header_prefix: String
§stats_server_version_override: Option<UInt64Value>
§use_tcp_for_dns_lookups: bool
👎Deprecated
§dns_resolution_config: Option<DnsResolutionConfig>
👎Deprecated
§typed_dns_resolver_config: Option<TypedExtensionConfig>
§bootstrap_extensions: Vec<TypedExtensionConfig>
§fatal_actions: Vec<FatalAction>
§config_sources: Vec<ConfigSource>
§default_config_source: Option<ConfigSource>
§default_socket_interface: String
§certificate_provider_instances: HashMap<String, TypedExtensionConfig>
§inline_headers: Vec<CustomInlineHeader>
§perf_tracing_file_path: String
§default_regex_engine: Option<TypedExtensionConfig>
§xds_delegate_extension: Option<TypedExtensionConfig>
§stats_flush: Option<StatsFlush>
Trait Implementations§
Source§impl Message for Bootstrap
impl Message for Bootstrap
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.impl StructuralPartialEq for Bootstrap
Auto Trait Implementations§
impl Freeze for Bootstrap
impl RefUnwindSafe for Bootstrap
impl Send for Bootstrap
impl Sync for Bootstrap
impl Unpin for Bootstrap
impl UnwindSafe for Bootstrap
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request