Skip to content

Commit

Permalink
feat: initial datadog provider boilerplate setup (#554)
Browse files Browse the repository at this point in the history
Signed-off-by: Sudipto Baral <[email protected]>
  • Loading branch information
sudiptob2 committed Feb 17, 2023
1 parent 6a7b0c1 commit 5be12ed
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions operator/controllers/common/providers/datadog/datadog.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package datadog

import (
"context"
"github.com/go-logr/logr"
klcv1alpha2 "github.com/keptn/lifecycle-toolkit/operator/apis/lifecycle/v1alpha2"
"net/http"
)

type KeptnDataDogProvider struct {
Log logr.Logger
HttpClient http.Client
}

func (k KeptnDataDogProvider) EvaluateQuery(ctx context.Context, objective klcv1alpha2.Objective, provider klcv1alpha2.KeptnEvaluationProvider) (string, []byte, error) {
//TODO implement me
panic("implement me")
}

0 comments on commit 5be12ed

Please sign in to comment.