kubeprobes/costants.go

22 lines
410 B
Go
Raw Normal View History

package kubeprobes
import (
"errors"
)
const (
defaultLivenessPath string = "/live"
defaultReadinessPath string = "/ready"
verboseOutputFlag string = "v"
)
const (
headerContentType string = "Content-Type"
contentTypeJSON string = "application/json"
)
var (
errProbeNameEmpty error = errors.New("probe name must not be empty")
errProbeFailed error = errors.New("probe marked as failed")
)