pub struct WindowsNetworkBuilder { /* private fields */ }Expand description
Builder for WindowsNetwork.
Implementations§
Source§impl WindowsNetworkBuilder
impl WindowsNetworkBuilder
Sourcepub fn endpoint_list<VALUE: Into<Vec<String>>>(self, value: VALUE) -> Self
pub fn endpoint_list<VALUE: Into<Vec<String>>>(self, value: VALUE) -> Self
List of HNS endpoints that the container should connect to.
Sourcepub fn allow_unqualified_dns_query<VALUE: Into<bool>>(
self,
value: VALUE,
) -> Self
pub fn allow_unqualified_dns_query<VALUE: Into<bool>>( self, value: VALUE, ) -> Self
Specifies if unqualified DNS name resolution is allowed.
Sourcepub fn dns_search_list<VALUE: Into<Vec<String>>>(self, value: VALUE) -> Self
pub fn dns_search_list<VALUE: Into<Vec<String>>>(self, value: VALUE) -> Self
Comma separated list of DNS suffixes to use for name resolution.
Name (ID) of the container that we will share with the network stack.
Sourcepub fn network_namespace<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn network_namespace<VALUE: Into<String>>(self, value: VALUE) -> Self
name (ID) of the network namespace that will be used for the container.