more constants

This commit is contained in:
jandre 2021-02-17 22:08:47 +01:00
parent 9f8b5c6ce8
commit 0b88844372
2 changed files with 8 additions and 0 deletions

View File

@ -34,6 +34,10 @@ import (
formolutils "github.com/desmo999r/formol/pkg/utils" formolutils "github.com/desmo999r/formol/pkg/utils"
) )
var (
RESTORESESSION = "restoresession"
)
// RestoreSessionReconciler reconciles a RestoreSession object // RestoreSessionReconciler reconciles a RestoreSession object
type RestoreSessionReconciler struct { type RestoreSessionReconciler struct {
client.Client client.Client

View File

@ -7,6 +7,10 @@ import (
"strings" "strings"
) )
const (
FORMOLCLI string = "desmo999r/formolcli:latest"
)
func ContainsString(slice []string, s string) bool { func ContainsString(slice []string, s string) bool {
for _, item := range slice { for _, item := range slice {
if item == s { if item == s {