diff options
author | Srivahni <srivahni.chivukula@intel.com> | 2019-08-29 12:06:51 -0700 |
---|---|---|
committer | Srivahni Chivukula <srivahni.chivukula@intel.com> | 2019-09-06 17:22:06 +0000 |
commit | c3ef7c3f40f6aa4a14a98301ae12bfa11b1a12c3 (patch) | |
tree | 0fc2d474c55706891f4bf0214c0a9c3c9378a00e /vnfs/DAaaS/microservices/visualization-operator/pkg/apis/onap/v1alpha1/grafanadatasource_types.go | |
parent | b2651f39b6dbe79e05d42f8a3bfbbc11c42c5d4c (diff) |
Visualization operator - update/delete datasource
Added support in the visualization operator to update
or delete an existing grafana datasource dynamically.
Issue-ID: ONAPARC-393
Signed-off-by: Srivahni <srivahni.chivukula@intel.com>
Change-Id: I814cca8e5b4f7f5832a948449cf545cecd25b1f9
Diffstat (limited to 'vnfs/DAaaS/microservices/visualization-operator/pkg/apis/onap/v1alpha1/grafanadatasource_types.go')
-rw-r--r-- | vnfs/DAaaS/microservices/visualization-operator/pkg/apis/onap/v1alpha1/grafanadatasource_types.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/vnfs/DAaaS/microservices/visualization-operator/pkg/apis/onap/v1alpha1/grafanadatasource_types.go b/vnfs/DAaaS/microservices/visualization-operator/pkg/apis/onap/v1alpha1/grafanadatasource_types.go index 60820067..47a372e3 100644 --- a/vnfs/DAaaS/microservices/visualization-operator/pkg/apis/onap/v1alpha1/grafanadatasource_types.go +++ b/vnfs/DAaaS/microservices/visualization-operator/pkg/apis/onap/v1alpha1/grafanadatasource_types.go @@ -4,15 +4,9 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) -// EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN! -// NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized. - // GrafanaDataSourceSpec defines the desired state of GrafanaDataSource // +k8s:openapi-gen=true type GrafanaDataSourceSpec struct { - // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster - // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file - // Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html Datasources []Datasource `json:"datasources"` Grafana map[string]string `json:"grafana"` } |