github.com/kaydxh/golang@v0.0.131/pkg/scheduler/types/task.proto (about)

     1  syntax = "proto3";
     2  
     3  package go.pkg.scheduler.types;
     4  import "google/protobuf/duration.proto";
     5  
     6  option go_package = "github.com/kaydxh/go.pkg.scheduler.types;types";
     7  
     8  
     9  enum TaskState {
    10    TASK_STATE_RESERVE = 0;
    11    TASK_STATE_PENDING = 1;
    12    TASK_STATE_RUNNING = 2;
    13    TASK_STATE_SUCCEED = 3;
    14    TASK_STATE_FAILED = 4;
    15    TASK_STATE_STOPPING = 5;
    16    TASK_STATE_STOPPED = 6;
    17  }