NewNotInSync wraps creation of NotInSyncErrors for simplicity
(obj crclient.Object, reason NotInSyncReason)
| 52 | |
| 53 | // NewNotInSync wraps creation of NotInSyncErrors for simplicity |
| 54 | func NewNotInSync(obj crclient.Object, reason NotInSyncReason) *NotInSyncError { |
| 55 | return &NotInSyncError{ |
| 56 | Reason: reason, |
| 57 | Object: obj, |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | // UnrecoverableSyncError is returned when provided objects cannot be synced with the cluster due to |
| 62 | // an unexpected error (e.g. they are invalid according to the object's spec). |
no outgoing calls
no test coverage detected