This repository has been archived by the owner on Mar 25, 2024. It is now read-only.
/
zz_generated_probe.go
34 lines (31 loc) · 1.81 KB
/
zz_generated_probe.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package client
import "k8s.io/apimachinery/pkg/util/intstr"
const (
ProbeType = "probe"
ProbeFieldCommand = "command"
ProbeFieldFailureThreshold = "failureThreshold"
ProbeFieldHTTPHeaders = "httpHeaders"
ProbeFieldHost = "host"
ProbeFieldInitialDelaySeconds = "initialDelaySeconds"
ProbeFieldPath = "path"
ProbeFieldPeriodSeconds = "periodSeconds"
ProbeFieldPort = "port"
ProbeFieldScheme = "scheme"
ProbeFieldSuccessThreshold = "successThreshold"
ProbeFieldTCP = "tcp"
ProbeFieldTimeoutSeconds = "timeoutSeconds"
)
type Probe struct {
Command []string `json:"command,omitempty" yaml:"command,omitempty"`
FailureThreshold int64 `json:"failureThreshold,omitempty" yaml:"failureThreshold,omitempty"`
HTTPHeaders []HTTPHeader `json:"httpHeaders,omitempty" yaml:"httpHeaders,omitempty"`
Host string `json:"host,omitempty" yaml:"host,omitempty"`
InitialDelaySeconds int64 `json:"initialDelaySeconds,omitempty" yaml:"initialDelaySeconds,omitempty"`
Path string `json:"path,omitempty" yaml:"path,omitempty"`
PeriodSeconds int64 `json:"periodSeconds,omitempty" yaml:"periodSeconds,omitempty"`
Port intstr.IntOrString `json:"port,omitempty" yaml:"port,omitempty"`
Scheme string `json:"scheme,omitempty" yaml:"scheme,omitempty"`
SuccessThreshold int64 `json:"successThreshold,omitempty" yaml:"successThreshold,omitempty"`
TCP bool `json:"tcp,omitempty" yaml:"tcp,omitempty"`
TimeoutSeconds int64 `json:"timeoutSeconds,omitempty" yaml:"timeoutSeconds,omitempty"`
}