initial checking of provisioning container
diff --git a/provisioner/task.go b/provisioner/task.go
new file mode 100644
index 0000000..4017268
--- /dev/null
+++ b/provisioner/task.go
@@ -0,0 +1,38 @@
+package main
+
+type TaskStatus uint8
+
+const (
+ Pending TaskStatus = iota
+ Running
+ Complete
+ Failed
+)
+
+func (s TaskStatus) String() string {
+ switch s {
+ case Pending:
+ return "PENDING"
+ case Running:
+ return "RUNNING"
+ case Complete:
+ return "COMPLETE"
+ case Failed:
+ return "FAILED"
+ }
+ return "INVALID TASK STATUS"
+}
+
+type Task struct {
+ nodeId string
+ status TaskStatus
+}
+
+type TaskQueueEntry struct {
+ previous *TaskQueueEntry
+ next *TaskQueueEntry
+ task *Task
+}
+
+type TaskQueue struct {
+}