Files
warewulf/internal/pkg
Christian Goll fdd233a25f Add recursive getter functions
When transforming a NodeConf struct to a NodeInfo (get the NodeInfo from
the Nodconf) nested structures were seperately handled. This means there
were seperate handles for e.g *Netdevs and *IpmiConfig. The new getter
traverses through the datastucture and sets the right value for an Entry
struct, but calls itself again if a Pointer is detected.

This adds the posiblity to add new nested structures to NodeConf and
NodeInfo without the need of seperate handling them in the transformer
functions.

Signed-off-by: Christian Goll <cgoll@suse.de>
2023-08-21 16:19:13 -06:00
..
2023-08-09 11:42:37 -06:00
2023-03-24 19:47:22 +01:00
2023-04-19 14:02:43 -06:00
2022-12-08 18:59:56 -07:00
2023-08-21 16:19:13 -06:00
2023-04-19 14:02:43 -06:00
2022-08-24 15:43:02 -06:00
2023-05-15 10:34:36 +00:00