Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandHostnamePattern ¶
ExpandHostnamePattern replaces {Nd} with zero-padded NID and {id} with xname Example patterns:
- "nid{04d}" with NID=1 => "nid0001"
- "dev-s{02d}" with NID=5 => "dev-s05"
- "bmc{03d}" with NID=42 => "bmc042"
- "{id}" with xname="x3000c0s0b1" => "x3000c0s0b1"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.