vm

package
v1.9.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReportJobParameters

type ReportJobParameters struct {
	JobID     string
	Status    string
	Error     error
	Log       string
	StartTime int64
	EndTime   int64
}

type VMJob

type VMJob struct {
	ID            primitive.ObjectID `bson:"_id,omitempty"          json:"id,omitempty"`
	ProjectName   string             `bson:"project_name"           json:"project_name"`
	WorkflowName  string             `bson:"workflow_name"          json:"workflow_name"`
	TaskID        int64              `bson:"task_id"                json:"task_id"`
	JobOriginName string             `bson:"job_origin_name"        json:"job_origin_name"`
	JobName       string             `bson:"job_name"               json:"job_name"`
	JobType       string             `bson:"job_type"               json:"job_type"`
	Status        string             `bson:"status"                 json:"status"`
	IsDeleted     bool               `bson:"is_deleted"             json:"is_deleted"`
	VMID          string             `bson:"vm_id"                  json:"-"`
	CreatedTime   int64              `bson:"created_time"           json:"created_time"`
	StartTime     int64              `bson:"start_time"             json:"-"`
	EndTime       int64              `bson:"end_time"               json:"-"`
	Error         string             `bson:"error"                  json:"-"`
	VMLabels      []string           `bson:"vm_labels"              json:"-"`
	VMName        []string           `bson:"vm_name"                json:"-"`
	JobCtx        string             `bson:"job_ctx"                json:"job_ctx"`
	LogFile       string             `bson:"log_file"               json:"log_file"`
	Outputs       []*job.JobOutput   `bson:"outputs"                json:"outputs"`
}

func (VMJob) TableName

func (VMJob) TableName() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL