diff options
author | John Estabrook <jestabro@vyos.io> | 2024-05-22 09:15:06 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-22 09:15:06 -0500 |
commit | 897e78cabc9ae3a24bd2439f2bb4f9339d7d0d3a (patch) | |
tree | eaffae0dffcc951b60c35cc3329051e40021a9ee | |
parent | 82d12db7ecdecda9953fb8c1ff553818f94bac03 (diff) | |
parent | fdcbb845ddc5cc646cfa01f590b0ea331c31f80b (diff) | |
download | vyos-utils-897e78cabc9ae3a24bd2439f2bb4f9339d7d0d3a.tar.gz vyos-utils-897e78cabc9ae3a24bd2439f2bb4f9339d7d0d3a.zip |
Merge pull request #22 from dmbaturin/reorg
T6380: Reorganize the directory structure and reflect it in the README
-rw-r--r-- | README.md | 15 | ||||
-rw-r--r-- | src/completion/list_interfaces/func.ml (renamed from src/iface/func.ml) | 0 | ||||
-rw-r--r-- | src/completion/list_interfaces/func.mli (renamed from src/iface/func.mli) | 0 | ||||
-rw-r--r-- | src/completion/list_interfaces/iface.c (renamed from src/iface/iface.c) | 0 | ||||
-rw-r--r-- | src/completion/list_interfaces/list_interfaces.ml (renamed from src/iface/list_interfaces.ml) | 0 | ||||
-rw-r--r-- | src/validators/file_path.ml (renamed from src/file_path.ml) | 0 | ||||
-rw-r--r-- | src/validators/numeric.ml (renamed from src/numeric.ml) | 0 | ||||
-rw-r--r-- | src/validators/url.ml (renamed from src/url.ml) | 0 |
8 files changed, 14 insertions, 1 deletions
@@ -1 +1,14 @@ -# vyos-utils
\ No newline at end of file +# vyos-utils + +This repository contains utility binaries used by the VyOS CLI, +written in OCaml for speed and memory safety. + +Currently, they are: + +* `validate_value` — the top-level validation utility that checks regexes and executes external validators. +* `validators` — validator executables: + * `file_path` — checks directory and file paths. + * `numeric` — checks numbers and number ranges. + * `url` — checks URLs/URIs. +* `completion` — completion helpers: + * `list_interfaces` — produces lists of network interfaces. diff --git a/src/iface/func.ml b/src/completion/list_interfaces/func.ml index 13e1860..13e1860 100644 --- a/src/iface/func.ml +++ b/src/completion/list_interfaces/func.ml diff --git a/src/iface/func.mli b/src/completion/list_interfaces/func.mli index b16d373..b16d373 100644 --- a/src/iface/func.mli +++ b/src/completion/list_interfaces/func.mli diff --git a/src/iface/iface.c b/src/completion/list_interfaces/iface.c index bf2f025..bf2f025 100644 --- a/src/iface/iface.c +++ b/src/completion/list_interfaces/iface.c diff --git a/src/iface/list_interfaces.ml b/src/completion/list_interfaces/list_interfaces.ml index fec5c9c..fec5c9c 100644 --- a/src/iface/list_interfaces.ml +++ b/src/completion/list_interfaces/list_interfaces.ml diff --git a/src/file_path.ml b/src/validators/file_path.ml index ea3068c..ea3068c 100644 --- a/src/file_path.ml +++ b/src/validators/file_path.ml diff --git a/src/numeric.ml b/src/validators/numeric.ml index 0c75f83..0c75f83 100644 --- a/src/numeric.ml +++ b/src/validators/numeric.ml diff --git a/src/url.ml b/src/validators/url.ml index 3d77544..3d77544 100644 --- a/src/url.ml +++ b/src/validators/url.ml |