Documentation ¶
Index ¶
- Variables
- func InitDirector(serverMode bool, interactiveMode bool) error
- func InitServerMode() chan error
- func RemoveDirector()
- type ActionRunStatus
- type AutocompleteResponse
- type Director
- type ExecCtrlInstruction
- type ExecCtrlInstructionID
- type GenericResponse
- type HandleIRBConfig
- type HandshakeRequest
- type HandshakeResponse
- type Manager
- type ManagerStatusID
- type StageReportReason
- type ValidationError
Constants ¶
This section is empty.
Variables ¶
View Source
var ServerMode bool = false
Functions ¶
func InitDirector ¶
InitDirector func
func InitServerMode ¶
func InitServerMode() chan error
func RemoveDirector ¶
func RemoveDirector()
Types ¶
type ActionRunStatus ¶
type ActionRunStatus int
ActionRunStatus int
const ( // ActionQueued const ActionQueued ActionRunStatus = iota // ActionRunning const ActionRunning // ActionNotRunning const ActionNotRunning )
type AutocompleteResponse ¶
type AutocompleteResponse struct { Code string `json:"code"` Fail bool `json:"Fail"` Errors []string `json:"Errors"` ValidationErrors []*ValidationError `json:"validation_errors"` Result map[string][]*base.StorageRecord `json:"result"` }
AutocompleteResponse struct
type Director ¶
type Director struct { ExecInstruction chan *ExecCtrlInstruction HandleIRB chan *HandleIRBConfig UnregisterManager chan *Manager StopDirector chan int ExitCode int // contains filtered or unexported fields }
Director struct
var MDirector *Director
MDirector var
type ExecCtrlInstruction ¶
type ExecCtrlInstruction struct { Instruction ExecCtrlInstructionID ExecutionUUID *string }
type ExecCtrlInstructionID ¶
type ExecCtrlInstructionID int
ExecCtrlInstructionID int
const ( // ExecStop const ExecStop ExecCtrlInstructionID = iota // ExecStart const ExecStart // ExecPause const ExecPause // ExecResume const ExecResume // ExecState const. Cast current state ExecState // ExecEmancipation const ExecEmancipation // ExecShutdown )
type GenericResponse ¶
type GenericResponse struct { Code string `json:"code"` Fail bool `json:"Fail"` Errors []string `json:"Errors"` ValidationErrors []*ValidationError `json:"validation_errors"` }
GenericResponse struct
type HandleIRBConfig ¶
type HandleIRBConfig struct { Manager *Manager IRB *blueprint.IRBlueprint }
type HandshakeRequest ¶
type HandshakeRequest struct {
Version string `json:"version"`
}
HandshakeRequest struct
type HandshakeResponse ¶
type HandshakeResponse struct {
Version string `json:"version"`
}
HandshakeResponse struct
type Manager ¶
type Manager struct { Runtime *runtime.Runtime // The uuid generated by the builder or uuid asked to backend ExecutionUUID *string IRB *blueprint.IRBlueprint Logger *cast.Logger Stats *stats // contains filtered or unexported fields }
Manager struct
func (*Manager) PrepareIRB ¶
func (m *Manager) PrepareIRB(irb *blueprint.IRBlueprint)
PrepareIRB func
type StageReportReason ¶
type StageReportReason int
StageReportReason int
const ( // StageEndByDivision const StageEndByDivision StageReportReason = iota // StageEndByJoin const StageEndByJoin // StageEndByRunDone const StageEndByRunDone // StageActionReport const StageActionReport // StagePause const StagePause // StageResume const StageResume )
Click to show internal directories.
Click to hide internal directories.