pub struct DeploymentSpec {
pub version: String,
pub deployment: String,
pub services: HashMap<String, ServiceSpec>,
pub tunnels: HashMap<String, TunnelDefinition>,
pub api: ApiSpec,
}Expand description
Top-level deployment specification
Fields§
§version: StringSpec version (must be “v1”)
deployment: StringDeployment name (used for overlays, DNS)
services: HashMap<String, ServiceSpec>Service definitions
tunnels: HashMap<String, TunnelDefinition>Top-level tunnel definitions (not tied to service endpoints)
api: ApiSpecAPI server configuration (enabled by default)
Trait Implementations§
Source§impl Clone for DeploymentSpec
impl Clone for DeploymentSpec
Source§fn clone(&self) -> DeploymentSpec
fn clone(&self) -> DeploymentSpec
Returns a duplicate 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 DeploymentSpec
impl Debug for DeploymentSpec
Source§impl<'de> Deserialize<'de> for DeploymentSpec
impl<'de> Deserialize<'de> for DeploymentSpec
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 for DeploymentSpec
impl PartialEq for DeploymentSpec
Source§impl Serialize for DeploymentSpec
impl Serialize for DeploymentSpec
Source§impl Validate for DeploymentSpec
impl Validate for DeploymentSpec
Source§impl<'v_a> ValidateArgs<'v_a> for DeploymentSpec
impl<'v_a> ValidateArgs<'v_a> for DeploymentSpec
impl StructuralPartialEq for DeploymentSpec
Auto Trait Implementations§
impl Freeze for DeploymentSpec
impl RefUnwindSafe for DeploymentSpec
impl Send for DeploymentSpec
impl Sync for DeploymentSpec
impl Unpin for DeploymentSpec
impl UnsafeUnpin for DeploymentSpec
impl UnwindSafe for DeploymentSpec
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