()
| 56 | ) |
| 57 | |
| 58 | func init() { |
| 59 | // Figure out if we're running on OpenShift |
| 60 | err := infrastructure.Initialize() |
| 61 | if err != nil { |
| 62 | log.Error(err, "could not determine cluster type") |
| 63 | os.Exit(1) |
| 64 | } |
| 65 | |
| 66 | utilruntime.Must(clientgoscheme.AddToScheme(scheme)) |
| 67 | utilruntime.Must(dwv1.AddToScheme(scheme)) |
| 68 | utilruntime.Must(dwv2.AddToScheme(scheme)) |
| 69 | } |
| 70 | |
| 71 | func main() { |
| 72 | logf.SetLogger(zap.New(zap.UseDevMode(config.GetDevModeEnabled()))) |
nothing calls this directly
no test coverage detected