aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/microservices/remote-config-operator/pkg/apis/onap/v1alpha1/remotefilteraction_types.go
diff options
context:
space:
mode:
authorDileep Ranganathan <dileep.ranganathan@intel.com>2019-11-08 11:26:47 -0800
committerDileep Ranganathan <dileep.ranganathan@intel.com>2019-11-13 18:08:55 +0000
commitfb9b7baa506e5c92bc243a30364e9f72ecd9c3f1 (patch)
tree427183f34e0f12b56be05c9175dbdf83bb5a1234 /vnfs/DAaaS/microservices/remote-config-operator/pkg/apis/onap/v1alpha1/remotefilteraction_types.go
parent2026cb5283fbc44a4f68641f6e85628381ebda04 (diff)
Remote Write Config and Filter operator
Added support for Kafka Remote writer Issue-ID: ONAPARC-393 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com> Change-Id: I46555a15b0f326ffcd305d28e82d244c86a34644
Diffstat (limited to 'vnfs/DAaaS/microservices/remote-config-operator/pkg/apis/onap/v1alpha1/remotefilteraction_types.go')
-rw-r--r--vnfs/DAaaS/microservices/remote-config-operator/pkg/apis/onap/v1alpha1/remotefilteraction_types.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/vnfs/DAaaS/microservices/remote-config-operator/pkg/apis/onap/v1alpha1/remotefilteraction_types.go b/vnfs/DAaaS/microservices/remote-config-operator/pkg/apis/onap/v1alpha1/remotefilteraction_types.go
index 18b3dc6d..4c09698c 100644
--- a/vnfs/DAaaS/microservices/remote-config-operator/pkg/apis/onap/v1alpha1/remotefilteraction_types.go
+++ b/vnfs/DAaaS/microservices/remote-config-operator/pkg/apis/onap/v1alpha1/remotefilteraction_types.go
@@ -7,8 +7,10 @@ import (
// RemoteFilterActionSpec defines the desired state of RemoteFilterAction
// +k8s:openapi-gen=true
type RemoteFilterActionSpec struct {
- Action string `json:"action,omitempty"`
- Regex string `json:"regex,omitempty"`
+ Action string `json:"action,omitempty"`
+ Regex string `json:"regex,omitempty"`
+ // SourceLabels are the labels of the each metric
+ // +listType=set
SourceLabels []string `json:"sourceLabels,omitempty"`
TargetLabel string `json:"targetLabel,omitempty"`
Replacement string `json:"replacement,omitempty"`