(deleted bool)
| 34 | ) |
| 35 | |
| 36 | func convertDeletedToState(deleted bool) v1pb.State { |
| 37 | if deleted { |
| 38 | return v1pb.State_DELETED |
| 39 | } |
| 40 | return v1pb.State_ACTIVE |
| 41 | } |
| 42 | |
| 43 | func isValidResourceID(resourceID string) bool { |
| 44 | return resourceIDMatcher.MatchString(resourceID) |
no outgoing calls
no test coverage detected