aboutsummaryrefslogtreecommitdiff
path: root/job/job.go
blob: 4241844bc471aced4e0712d6cd7194b8c485d351 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package job

import "fmt"

// Job is a bareos job
type Job struct {
	Name      string
	Timestamp uint64
	Success   bool
}

func (job Job) String() string {
	return fmt.Sprintf("Job { Name: \"%s\", Timestamp: \"%d\", Success: \"%t\" }", job.Name, job.Timestamp, job.Success)
}