EncodeInternalNodeConfig marshals the given internal NodeConfig object to JSON using the internal group version. JSON is used because it's simply easier than YAML to work with in scripting contexts.
(nodeConfig *internalapi.NodeConfig)
| 28 | // EncodeInternalNodeConfig marshals the given internal NodeConfig object to JSON using the internal group version. |
| 29 | // JSON is used because it's simply easier than YAML to work with in scripting contexts. |
| 30 | func EncodeInternalNodeConfig(nodeConfig *internalapi.NodeConfig) ([]byte, error) { |
| 31 | return EncodeNodeConfig(nodeConfig, InternalGroupVersion) |
| 32 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…