{{define "head"}} {{end}} {{define "content"}}

Targets


{{range $job, $pool := .TargetPools}} {{$ready := numReady $pool}} {{$total := len $pool}}

{{$job}} ({{$ready}}/{{$total}} ready)

{{range $pool}} {{end}}
Type Ready Labels Details
{{.Type}}
{{.Ready}} {{range $label, $value := .Labels}} {{$label}}="{{$value}}" {{else}} none {{end}} {{if eq .Type "File"}} {{$files := fileTargetDetails .Details}} {{range $path, $position := $files}} {{end}}
Path Position
{{$path}} {{$position}}
{{else if eq .Type "Journal" }} {{$files := journalTargetDetails .Details}} {{range $path, $position := $files}} {{end}}
Key Value
{{$path}} {{$position}}
{{end}}
{{ end }}
{{end}}