Validate reports whether the boot-recovery request contains one supported recovery action.
(path string)
| 728 | // Validate reports whether the boot-recovery request contains one supported |
| 729 | // recovery action. |
| 730 | func (r RunBootRecovery) Validate(path string) error { |
| 731 | if err := r.Action.Validate(nestedPath(path, "action")); err != nil { |
| 732 | return err |
| 733 | } |
| 734 | return nil |
| 735 | } |
| 736 | |
| 737 | // Validate reports whether the audit event contains the canonical persisted shape. |
| 738 | func (e Event) Validate() error { |
nothing calls this directly
no test coverage detected