toReconcileOptions maps api.CreateOptions to ReconcileOptions.
(options api.CreateOptions)
| 33 | |
| 34 | // toReconcileOptions maps api.CreateOptions to ReconcileOptions. |
| 35 | func toReconcileOptions(options api.CreateOptions) ReconcileOptions { |
| 36 | return ReconcileOptions{ |
| 37 | Services: options.Services, |
| 38 | Recreate: options.Recreate, |
| 39 | RecreateDependencies: options.RecreateDependencies, |
| 40 | Inherit: options.Inherit, |
| 41 | Timeout: options.Timeout, |
| 42 | RemoveOrphans: options.RemoveOrphans, |
| 43 | SkipProviders: options.SkipProviders, |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | // ReconcileOptions controls how the reconciler compares desired and observed state. |
| 48 | type ReconcileOptions struct { |