Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Build ¶
type Build struct { // A directory on host where .cirrus.yml that drives this execution is located ProjectDir string // Environment variables that will be injected via an agent Environment map[string]string // contains filtered or unexported fields }
func (*Build) GetNextTask ¶
func (*Build) GetTaskFromIdentification ¶
type Task ¶
type Task struct { ID int64 Instance *instance.Instance Timeout time.Duration // Original Protocol Buffers structure for reference ProtoTask *api.Task // A mutex to guarantee safe accesses from both the main loop and gRPC server handlers Mutex sync.RWMutex // contains filtered or unexported fields }
func (*Task) SetStatus ¶
func (task *Task) SetStatus(status taskstatus.Status)
func (*Task) Status ¶
func (task *Task) Status() taskstatus.Status
Click to show internal directories.
Click to hide internal directories.