CollectMetadata records the source position information of a given YAML node, and returns the id associated with the source metadata which is returned in the Policy SourceInfo object.
(*yaml.Node)
| 390 | // CollectMetadata records the source position information of a given YAML node, and returns |
| 391 | // the id associated with the source metadata which is returned in the Policy SourceInfo object. |
| 392 | CollectMetadata(*yaml.Node) int64 |
| 393 | |
| 394 | // NewPolicy creates a new Policy instance with an ID associated with the YAML node. |
| 395 | NewPolicy(*yaml.Node) (*Policy, int64) |
no outgoing calls
no test coverage detected