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 27, 2023
1 parent 8c4ba83 commit 1fa828e
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 1fa828e

Please sign in to comment.