IsValid - check whether this retention mode is valid or not.
()
| 46 | |
| 47 | // IsValid - check whether this retention mode is valid or not. |
| 48 | func (r RetentionMode) IsValid() bool { |
| 49 | return r == Governance || r == Compliance |
| 50 | } |
| 51 | |
| 52 | // ValidityUnit - retention validity unit. |
| 53 | type ValidityUnit string |
no outgoing calls
no test coverage detected