summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-01-13 08:31:24 +0100
committerMatthias Beyer <matthias.beyer@atos.net>2021-01-13 15:09:01 +0100
commitcbb1457d62e60e6860320951e08b24b2c1b4d4c8 (patch)
tree1e23030f76a5eff1aaeedfd89de0bc6d55472963 /src/config
parent1c02cf5fa44f4813c919b8d7bca1d8b80af4046b (diff)
Add LICENSE file and license headers
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/configuration.rs10
-rw-r--r--src/config/container_config.rs10
-rw-r--r--src/config/docker_config.rs10
-rw-r--r--src/config/endpoint_config.rs10
-rw-r--r--src/config/mod.rs10
-rw-r--r--src/config/not_validated.rs10
-rw-r--r--src/config/util.rs10
7 files changed, 70 insertions, 0 deletions
diff --git a/src/config/configuration.rs b/src/config/configuration.rs
index 10ee21a..4f0e340 100644
--- a/src/config/configuration.rs
+++ b/src/config/configuration.rs
@@ -1,3 +1,13 @@
+//
+// Copyright (c) 2020-2021 science+computing ag and other contributors
+//
+// This program and the accompanying materials are made
+// available under the terms of the Eclipse Public License 2.0
+// which is available at https://www.eclipse.org/legal/epl-2.0/
+//
+// SPDX-License-Identifier: EPL-2.0
+//
+
use std::ops::Deref;
use crate::config::NotValidatedConfiguration;
diff --git a/src/config/container_config.rs b/src/config/container_config.rs
index e50c46f..a890b8d 100644
--- a/src/config/container_config.rs
+++ b/src/config/container_config.rs
@@ -1,3 +1,13 @@
+//
+// Copyright (c) 2020-2021 science+computing ag and other contributors
+//
+// This program and the accompanying materials are made
+// available under the terms of the Eclipse Public License 2.0
+// which is available at https://www.eclipse.org/legal/epl-2.0/
+//
+// SPDX-License-Identifier: EPL-2.0
+//
+
use getset::CopyGetters;
use getset::Getters;
use serde::Deserialize;
diff --git a/src/config/docker_config.rs b/src/config/docker_config.rs
index fcc605f..e427de3 100644
--- a/src/config/docker_config.rs
+++ b/src/config/docker_config.rs
@@ -1,3 +1,13 @@
+//
+// Copyright (c) 2020-2021 science+computing ag and other contributors
+//
+// This program and the accompanying materials are made
+// available under the terms of the Eclipse Public License 2.0
+// which is available at https://www.eclipse.org/legal/epl-2.0/
+//
+// SPDX-License-Identifier: EPL-2.0
+//
+
use getset::{CopyGetters, Getters};
use serde::Deserialize;
diff --git a/src/config/endpoint_config.rs b/src/config/endpoint_config.rs
index 2ce8d65..1ec5e8c 100644
--- a/src/config/endpoint_config.rs
+++ b/src/config/endpoint_config.rs
@@ -1,3 +1,13 @@
+//
+// Copyright (c) 2020-2021 science+computing ag and other contributors
+//
+// This program and the accompanying materials are made
+// available under the terms of the Eclipse Public License 2.0
+// which is available at https://www.eclipse.org/legal/epl-2.0/
+//
+// SPDX-License-Identifier: EPL-2.0
+//
+
use getset::{CopyGetters, Getters};
use serde::Deserialize;
diff --git a/src/config/mod.rs b/src/config/mod.rs
index 629b274..372aaae 100644
--- a/src/config/mod.rs
+++ b/src/config/mod.rs
@@ -1,3 +1,13 @@
+//
+// Copyright (c) 2020-2021 science+computing ag and other contributors
+//
+// This program and the accompanying materials are made
+// available under the terms of the Eclipse Public License 2.0
+// which is available at https://www.eclipse.org/legal/epl-2.0/
+//
+// SPDX-License-Identifier: EPL-2.0
+//
+
//! The configuration handling code
//!
//! This module contains all code for the configuration of butido itself.
diff --git a/src/config/not_validated.rs b/src/config/not_validated.rs
index 809c4e7..87dbc78 100644
--- a/src/config/not_validated.rs
+++ b/src/config/not_validated.rs
@@ -1,3 +1,13 @@
+//
+// Copyright (c) 2020-2021 science+computing ag and other contributors
+//
+// This program and the accompanying materials are made
+// available under the terms of the Eclipse Public License 2.0
+// which is available at https://www.eclipse.org/legal/epl-2.0/
+//
+// SPDX-License-Identifier: EPL-2.0
+//
+
use std::path::PathBuf;
use anyhow::anyhow;
use anyhow::Result;
diff --git a/src/config/util.rs b/src/config/util.rs
index fddc292..8f251e8 100644
--- a/src/config/util.rs
+++ b/src/config/util.rs
@@ -1,3 +1,13 @@
+//
+// Copyright (c) 2020-2021 science+computing ag and other contributors
+//
+// This program and the accompanying materials are made
+// available under the terms of the Eclipse Public License 2.0
+// which is available at https://www.eclipse.org/legal/epl-2.0/
+//
+// SPDX-License-Identifier: EPL-2.0
+//
+
pub fn default_progress_format() -> String {
String::from("[{elapsed_precise}] ({percent:>3}%): {bar:40.cyan/blue} | {msg}")
}