From 45e99a75f968820a0bd14367f70580b51f20a14e Mon Sep 17 00:00:00 2001 From: notgne2 Date: Sun, 22 Nov 2020 20:03:04 -0700 Subject: Partially add deployment confirmation utilities (for #4) --- src/utils/mod.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/utils/mod.rs') diff --git a/src/utils/mod.rs b/src/utils/mod.rs index 19d0948..76d638d 100644 --- a/src/utils/mod.rs +++ b/src/utils/mod.rs @@ -21,6 +21,7 @@ pub mod data; pub mod deploy; pub mod push; +#[derive(Debug)] pub struct CmdOverrides { pub ssh_user: Option, pub profile_user: Option, @@ -95,6 +96,7 @@ fn test_parse_flake() { ); } +#[derive(Debug)] pub struct DeployData<'a> { pub node_name: &'a str, pub node: &'a data::Node, @@ -106,6 +108,7 @@ pub struct DeployData<'a> { pub merged_settings: data::GenericSettings, } +#[derive(Debug)] pub struct DeployDefs<'a> { pub ssh_user: Cow<'a, str>, pub profile_user: Cow<'a, str>, -- cgit v1.2.3