job

package
v1.0.65 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package job defines commands to list, order and modify jobs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDuration

func GetDuration(job types.Status) (duration float64)

GetDuration returns the number of sconds a job has executed or executed so far or -1 if it has not ran yet

func GetDurationAsString

func GetDurationAsString(job types.Status) (duration string)

GetDurationAsString returns a pretty printed duration

Types

This section is empty.

Jump to

Keyboard shortcuts

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