add docstring for node patterns

Signed-off-by: Tobias Ribizel <mail@ribizel.de>
This commit is contained in:
Tobias Ribizel
2025-07-06 16:34:49 +02:00
parent 93a3000f27
commit 301082cdd7
11 changed files with 23 additions and 11 deletions

View File

@@ -6,6 +6,8 @@ import (
"strings"
)
const Docstring = "Node patterns are a comma-separated list of individual pattern. Each pattern can either be a full node name or a node range like node[01-03,05]."
// Expand takes a slice of host strings, possibly containing comma-separated
// values and bracketed ranges (e.g. "node[01-03]") and returns a fully expanded
// slice of host names.