From 0b88844372bcdfb39f3615410f7937814e23b166 Mon Sep 17 00:00:00 2001 From: Jean-Marc Andre Date: Wed, 17 Feb 2021 22:08:47 +0100 Subject: [PATCH] more constants --- controllers/restoresession_controller.go | 4 ++++ pkg/utils/root.go | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/controllers/restoresession_controller.go b/controllers/restoresession_controller.go index 8ca5218..8f3d95b 100644 --- a/controllers/restoresession_controller.go +++ b/controllers/restoresession_controller.go @@ -34,6 +34,10 @@ import ( formolutils "github.com/desmo999r/formol/pkg/utils" ) +var ( + RESTORESESSION = "restoresession" +) + // RestoreSessionReconciler reconciles a RestoreSession object type RestoreSessionReconciler struct { client.Client diff --git a/pkg/utils/root.go b/pkg/utils/root.go index 565b692..24889b3 100644 --- a/pkg/utils/root.go +++ b/pkg/utils/root.go @@ -7,6 +7,10 @@ import ( "strings" ) +const ( + FORMOLCLI string = "desmo999r/formolcli:latest" +) + func ContainsString(slice []string, s string) bool { for _, item := range slice { if item == s {