diff options
author | 2021-10-15 13:57:46 +0000 | |
---|---|---|
committer | 2021-10-15 13:57:46 +0000 | |
commit | 206e9ecc81c4eec81a0471b4a24f3ae206bfe744 (patch) | |
tree | 74bd19558f5a0ee4d87184dbcccefb34fff019e4 /src/k8splugin/internal/rb/profile.go | |
parent | ce1651b36bcfc8023b4d6aa5a463ada9f6495751 (diff) | |
parent | 7e265aa8286a5e77ddc63fe2f9e20c776792e2f1 (diff) |
Merge "Fixed Query api filtering of resources for Instance"
Diffstat (limited to 'src/k8splugin/internal/rb/profile.go')
-rw-r--r-- | src/k8splugin/internal/rb/profile.go | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/k8splugin/internal/rb/profile.go b/src/k8splugin/internal/rb/profile.go index f9ac56bd..78023e59 100644 --- a/src/k8splugin/internal/rb/profile.go +++ b/src/k8splugin/internal/rb/profile.go @@ -26,6 +26,7 @@ import ( "github.com/onap/multicloud-k8s/src/k8splugin/internal/db" "github.com/onap/multicloud-k8s/src/k8splugin/internal/helm" + "k8s.io/apimachinery/pkg/runtime/schema" pkgerrors "github.com/pkg/errors" ) @@ -33,13 +34,14 @@ import ( // Profile contains the parameters needed for resource bundle (rb) profiles // It implements the interface for managing the profiles type Profile struct { - RBName string `json:"rb-name"` - RBVersion string `json:"rb-version"` - ProfileName string `json:"profile-name"` - ReleaseName string `json:"release-name"` - Namespace string `json:"namespace"` - KubernetesVersion string `json:"kubernetes-version"` - Labels map[string]string `json:"labels"` + RBName string `json:"rb-name"` + RBVersion string `json:"rb-version"` + ProfileName string `json:"profile-name"` + ReleaseName string `json:"release-name"` + Namespace string `json:"namespace"` + KubernetesVersion string `json:"kubernetes-version"` + Labels map[string]string `json:"labels"` + ExtraResourceTypes []schema.GroupVersionKind `json:"extra-resource-types"` } // ProfileManager is an interface exposes the resource bundle profile functionality |