From cda9d563ef843be5f80ce5755cb291c68dc6e3e8 Mon Sep 17 00:00:00 2001 From: Srivahni Date: Mon, 5 Aug 2019 15:39:34 -0700 Subject: Skeletal code for visualization-operator This visualization-operator(based on operator-sdk) when deployed, should be able to manage(add/update/delete) the datasources dynamically without restarting the grafana pods. Issue-ID: ONAPARC-393 Signed-off-by: Srivahni Change-Id: I2df3659aca5dd9ad59cf58adaf3c30999829fa2f --- .../microservices/visualization-operator/pkg/apis/apis.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 vnfs/DAaaS/microservices/visualization-operator/pkg/apis/apis.go (limited to 'vnfs/DAaaS/microservices/visualization-operator/pkg/apis/apis.go') diff --git a/vnfs/DAaaS/microservices/visualization-operator/pkg/apis/apis.go b/vnfs/DAaaS/microservices/visualization-operator/pkg/apis/apis.go new file mode 100644 index 00000000..07dc9616 --- /dev/null +++ b/vnfs/DAaaS/microservices/visualization-operator/pkg/apis/apis.go @@ -0,0 +1,13 @@ +package apis + +import ( + "k8s.io/apimachinery/pkg/runtime" +) + +// AddToSchemes may be used to add all resources defined in the project to a Scheme +var AddToSchemes runtime.SchemeBuilder + +// AddToScheme adds all Resources to the Scheme +func AddToScheme(s *runtime.Scheme) error { + return AddToSchemes.AddToScheme(s) +} -- cgit