Struct wick_config::v0::HostConfig
source · pub struct HostConfig {
pub allow_latest: bool,
pub insecure_registries: Vec<String>,
pub id: Option<String>,
pub expose: Vec<String>,
pub mesh: Option<MeshConfig>,
pub rpc: Option<HttpConfig>,
pub http: Option<HttpConfig>,
}Expand description
Host configuration options.
Fields§
§allow_latest: boolWhether or not to allow the :latest tag on remote artifacts.
insecure_registries: Vec<String>A list of registries to connect to insecurely (over HTTP vs HTTPS).
id: Option<String>The ID for this host, used to identify the host over the mesh.
expose: Vec<String>The schematics to expose via RPC or the mesh, if any.
mesh: Option<MeshConfig>The mesh configuration.
rpc: Option<HttpConfig>Configuration for the GRPC server.
http: Option<HttpConfig>Configuration for the HTTP 1 server (development only).
Trait Implementations§
source§impl Clone for HostConfig
impl Clone for HostConfig
source§fn clone(&self) -> HostConfig
fn clone(&self) -> HostConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for HostConfig
impl Debug for HostConfig
source§impl Default for HostConfig
impl Default for HostConfig
source§fn default() -> HostConfig
fn default() -> HostConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for HostConfig
impl<'de> Deserialize<'de> for HostConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<HostConfig> for HostConfig
impl PartialEq<HostConfig> for HostConfig
source§fn eq(&self, other: &HostConfig) -> bool
fn eq(&self, other: &HostConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for HostConfig
impl Serialize for HostConfig
source§impl TryFrom<HostConfig> for HostConfig
impl TryFrom<HostConfig> for HostConfig
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
impl StructuralPartialEq for HostConfig
Auto Trait Implementations§
impl RefUnwindSafe for HostConfig
impl Send for HostConfig
impl Sync for HostConfig
impl Unpin for HostConfig
impl UnwindSafe for HostConfig
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