Skip to content
Snippets Groups Projects
Commit 89c3f8b3 authored by Jano Hendriks's avatar Jano Hendriks
Browse files

Constants changes

parent dbc1ae11
No related branches found
No related tags found
Loading
...@@ -15,12 +15,11 @@ import ( ...@@ -15,12 +15,11 @@ import (
) )
const ( const (
JobDefinition = "batch-job-definition" // The job definition name on aws
binaryPath = "/root/home/workers" // The worker binary path in the docker container binaryPath = "/root/home/workers" // The worker binary path in the docker container
BatchJobMessageTypeS3 BatchJobMessageType = "s3"
) )
type BatchJobQueue string
type BatchJobMessageType string
// Queue names are the same as the batch Job queue names in aws // Queue names are the same as the batch Job queue names in aws
const ( const (
BatchJobQueueLow BatchJobQueue = "batch-job-queue-low" BatchJobQueueLow BatchJobQueue = "batch-job-queue-low"
...@@ -28,9 +27,8 @@ const ( ...@@ -28,9 +27,8 @@ const (
BatchJobQueueHigh BatchJobQueue = "batch-job-queue-high" BatchJobQueueHigh BatchJobQueue = "batch-job-queue-high"
) )
const ( type BatchJobQueue string
BatchJobMessageTypeS3 BatchJobMessageType = "s3" type BatchJobMessageType string
)
type BatchJob struct { type BatchJob struct {
Name *string Name *string
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment