jobstatus

package
v0.0.0-...-f03aceb Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EnumMap = map[JobStatus]string{
	Default:                   "Yet to Start",
	ScanInitiated:             "Initiating Scan",
	ScanStarted:               "Scan Started",
	CatzCompleted:             "Scan Started",
	ZapCompleted:              "Scan Started",
	ModulesFinished:           "Scan Started",
	ReportFinished:            "Scan Started",
	FilesCopiedToRemote:       "Scan Started",
	ScanCompleted:             "Scan Completed",
	ScanFailed:                "Unable To Scan",
	InvalidOpenAPIFile:        "Invalid OpenAPI File",
	InputFilesNotPresent:      "Input File Error",
	UserIDJobIDFolderNotExist: "Unable To Scan",
}

EnumMap maps JobStatus constants to their string representations.

Functions

This section is empty.

Types

type JobStatus

type JobStatus int32

JobStatus represents different job statuses.

const (
	Default             JobStatus = 0
	ScanInitiated       JobStatus = 1
	ScanStarted         JobStatus = 2
	CatzCompleted       JobStatus = 3
	ZapCompleted        JobStatus = 4
	ModulesFinished     JobStatus = 5
	ReportFinished      JobStatus = 6
	FilesCopiedToRemote JobStatus = 7

	ScanCompleted             JobStatus = 10
	ScanFailed                JobStatus = 240
	InvalidOpenAPIFile        JobStatus = 241
	InputFilesNotPresent      JobStatus = 242
	UserIDJobIDFolderNotExist JobStatus = 243
)

Constants for different job statuses.

func (JobStatus) GetText

func (j JobStatus) GetText() string

GetString returns the string representation of a JobStatus value.

Jump to

Keyboard shortcuts

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