diff --git a/pkg/tasks/types.go b/pkg/tasks/types.go new file mode 100644 index 0000000..0e6042e --- /dev/null +++ b/pkg/tasks/types.go @@ -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 { +}