Skip to content

Commit

Permalink
fix: add task request
Browse files Browse the repository at this point in the history
  • Loading branch information
artaasadi committed Dec 18, 2024
1 parent f5d9f23 commit 99ed333
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions pkg/tasks/types.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package tasks

type TaskDefinition struct {
RunID uint `json:"run_id"`
Params map[string]string `json:"params"`
}

type TaskRequest struct {
EsDeliverEndpoint string `json:"esDeliverEndpoint"`
IngestionPipelineEndpoint string `json:"ingestionPipelineEndpoint"`
UseOpenSearch bool `json:"useOpenSearch"`

DescribeJob TaskDefinition `json:"describeJob"`

ExtraInputs map[string][]string `json:"extraInputs"`
}

type TaskResponse struct {
}

0 comments on commit 99ed333

Please sign in to comment.