{{ define "settings" }} {{ $description := "Checks are constantly determining if targets are healthy or not." }} {{ $length := len .Checks }} {{ if eq $length 0 }}

There are no checks yet.

{{ $description }}

Create First Check
{{ else }}
{{ range .CheckGroups }} {{ $currentGroup := . }} {{ range $group, $checks := $.Checks }} {{ if eq $group $currentGroup }} {{ range $checks }} {{ end }} {{ end }} {{ end }} {{ end }}
List of Checks

{{ $description }}

Create New
Check Group Name Visibility Worker Groups State Schedule Action
{{ . }}
{{ .Name }} {{ if eq .Visibility "PUBLIC" }} Public {{ else if eq .Visibility "PRIVATE" }} Private {{ else }} Unknown {{ end }} {{ range .WorkerGroups }} {{ . }} {{ end }} {{ if eq .State "ACTIVE" }} ACTIVE {{ else if eq .State "PAUSED" }} PAUSED {{ else }} UNKNOWN {{ end }} {{ .Schedule }} Details
{{ end }} {{ end }}