Skip to content
Snippets Groups Projects
Select Git revision
  • edf339623825e442cdad411cc5edb565e4a8b09f
  • master default protected
  • 1.31
  • 4.38.8
  • 4.38.7
  • 4.38.6
  • 4.38.5
  • 4.38.4
  • 4.38.3
  • 4.38.2
  • 4.38.1
  • 4.38.0
  • 4.37.2
  • 4.37.1
  • 4.37.0
  • 4.36.0
  • 4.35.0
  • 4.34.1
  • 4.34.0
  • 4.33.1
  • 4.33.0
  • 4.32.2
  • 4.32.1
23 results

target-update-makefiles.mk

Blame
  • job-log.go 666 B
    package jobqueue
    
    import (
    	"time"
    )
    
    type JobLog struct {
    	ProcessID     int       `json:"process_id"`
    	StartTime     time.Time `json:"start_time"`
    	EndTime       time.Time `json:"end_time"`
    	ExitCode      int       `json:"exit_code"`
    	Result        any       `json:"output"`
    	ResourceUsage struct {
    		Memory uint64 `json:"memory"`
    		CPU    struct {
    			Percentage float64 `json:"percentage"`
    		} `json:"cpu"`
    	} `json:"resource_usage"`
    	IO struct {
    		Disk    int64 `json:"disk"`
    		Network int64 `json:"network"`
    	} `json:"io"`
    	ErrorMsg     string `json:"error_msg"`
    	IsSuccessful bool   `json:"is_successful"`
    	//Metadata     map[string]string `json:"metadata"`
    }