aboutsummaryrefslogtreecommitdiff
path: root/src/utils/mod.rs
diff options
context:
space:
mode:
authornotgne22020-11-22 20:03:04 -0700
committernotgne22020-11-22 20:03:04 -0700
commit45e99a75f968820a0bd14367f70580b51f20a14e (patch)
treebb5c7ff50755879ba5b53e76f29e9ec681d29852 /src/utils/mod.rs
parentcb50d98884f786a3e2aa40befa6ebf1ef2be90da (diff)
Partially add deployment confirmation utilities (for #4)
Diffstat (limited to 'src/utils/mod.rs')
-rw-r--r--src/utils/mod.rs3
1 files changed, 3 insertions, 0 deletions
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<String>,
pub profile_user: Option<String>,
@@ -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>,