Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPGetAction ¶
type HTTPGetAction struct {
// Path to access on the HTTP server.
// +optional
Path string `json:"path,omitempty"`
// Number of the port to access on the container.
// Number must be in the range 1 to 65535.
Port int `json:"port"`
// Scheme to use for connecting to the host.
// Defaults to HTTP.
// +optional
Scheme v1.URIScheme `json:"scheme,omitempty"`
// Custom headers to set in the request. HTTP allows repeated headers.
// +optional
HTTPHeaders []v1.HTTPHeader `json:"httpHeaders,omitempty"`
// Headers expected in the response. Check will fail if any are missing.
// +optional
ResponseHTTPHeaders []v1.HTTPHeader `json:"responseHttpHeaders,omitempty"`
}
type Probe ¶
type Probe struct {
InitialDelaySeconds int `yaml:"initialDelaySeconds"`
TimeoutSeconds int `yaml:"timeoutSeconds"`
PeriodSeconds int `yaml:"periodSeconds"`
SuccessThreshold int `yaml:"successThreshold"`
FailureThreshold int `yaml:"failureThreshold"`
TerminationGracePeriodSeconds int `yaml:"terminationGracePeriodSeconds"`
Exec *v1.ExecAction `yaml:"exec"`
HTTPGet *HTTPGetAction `yaml:"httpGet"`
TCPSocket *TCPSocketAction `yaml:"tcpSocket" `
}
func (*Probe) UnmarshalYAML ¶ added in v0.1.2
type TCPSocketAction ¶ added in v0.1.2
type TCPSocketAction struct {
// Number or name of the port to access on the container.
// Number must be in the range 1 to 65535.
Port int `json:"port"`
}
type Validator ¶
type Validator struct {
// The validator name.
// +optional
Name string
// The validator description.
// +optional
Description string
// A link to the documentation where the requirements are defined.
// +optional
Documentation string
// A list of checks to perform validation against.
Checks []Check
// A list of environment variables to set on the container before starting.
Env []v1.EnvVar
// A list of ports to expose on the container.
Ports []v1.ServicePort
// A list of volumes to mount on the container.
Volumes []Volume
// A command to run in the container
// +optional
Command []string
}
Validator contains validator specification
Click to show internal directories.
Click to hide internal directories.