ClearMetadata removes a named metadata key from the policy.
(name string)
| 146 | |
| 147 | // ClearMetadata removes a named metadata key from the policy. |
| 148 | func (p *Policy) ClearMetadata(name string) { |
| 149 | delete(p.metadata, name) |
| 150 | } |
| 151 | |
| 152 | // GetExplanationOutputPolicy returns a copy of the policy, except the output of each match block |
| 153 | // is replaced by the expression in the explanation field. |
nothing calls this directly
no outgoing calls
no test coverage detected