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)
| 432 | // CollectMetadata records the source position information of a given YAML node, and returns |
| 433 | // the id associated with the source metadata which is returned in the Policy SourceInfo object. |
| 434 | CollectMetadata(*yaml.Node) int64 |
| 435 | |
| 436 | // NewPolicy creates a new Policy instance with an ID associated with the YAML node. |
| 437 | NewPolicy(*yaml.Node) (*Policy, int64) |
no outgoing calls
no test coverage detected