2024-03-01 23:28:31 +01:00
|
|
|
package kubeprobes
|
|
|
|
|
2024-03-02 23:55:28 +01:00
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
)
|
|
|
|
|
2024-03-01 23:28:31 +01:00
|
|
|
const (
|
|
|
|
defaultLivenessPath string = "/live"
|
|
|
|
defaultReadinessPath string = "/ready"
|
|
|
|
verboseOutputFlag string = "v"
|
|
|
|
)
|
2024-03-02 23:55:28 +01:00
|
|
|
|
|
|
|
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")
|
|
|
|
)
|