From 4ace1143f4aa02f4a0e4851e60ede6e1230ed891 Mon Sep 17 00:00:00 2001 From: Mateusz Gozdek Date: Thu, 26 Mar 2020 10:34:26 +0100 Subject: [PATCH] pkg/platform: add Managed field to Meta struct This field will be used to distinguished managed and self-hosted platforms, as the cluster upgrade process will depend on this information. Refs #215 #216 Signed-off-by: Mateusz Gozdek --- pkg/platform/platform.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/platform/platform.go b/pkg/platform/platform.go index 0f2d237cf..4fe2ba7d0 100644 --- a/pkg/platform/platform.go +++ b/pkg/platform/platform.go @@ -34,6 +34,7 @@ type Platform interface { type Meta struct { AssetDir string ExpectedNodes int + Managed bool } // platforms is a collection where all platforms gets automatically registered