forked from kubernetes-client/go
/
v1_http_get_action.go
29 lines (22 loc) · 984 Bytes
/
v1_http_get_action.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
/*
* Kubernetes
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* API version: v1.10.0
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package client
// HTTPGetAction describes an action based on HTTP Get requests.
type V1HttpGetAction struct {
// Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.
Host string `json:"host,omitempty"`
// Custom headers to set in the request. HTTP allows repeated headers.
HttpHeaders []V1HttpHeader `json:"httpHeaders,omitempty"`
// Path to access on the HTTP server.
Path string `json:"path,omitempty"`
// Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
Port *interface{} `json:"port"`
// Scheme to use for connecting to the host. Defaults to HTTP.
Scheme string `json:"scheme,omitempty"`
}