Files
warewulf/internal/pkg/node
Christian Goll c55c5a2ac4 Add recursive setter functions
when transforming a NodeInfo struct to a NodeConf (set the NodeConf from
the NodeInfo) nested structures were seperately handled. This means a
there were seperate handles for e.g *Netdevs and *IpmiConfig. The new
getter traverses through the datastucture and sets the right value for a
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 seperately handling them in the transformer
functions.

Signed-off-by: Christian Goll <cgoll@suse.de>
2023-08-21 16:19:13 -06:00
..
2023-03-23 11:17:38 +01:00
2023-08-21 16:19:13 -06:00
2023-03-23 11:17:54 +01:00
2023-03-24 19:47:22 +01:00
2023-03-24 19:47:22 +01:00
2023-08-21 16:19:13 -06:00
2023-08-21 16:19:13 -06:00
2022-06-24 08:39:30 -07:00
2023-08-21 16:19:13 -06:00
2023-03-23 11:17:07 +01:00
2023-03-23 11:17:07 +01:00