struct

Kubernetes::HTTPGetAction

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

HTTPGetAction describes an action based on HTTP Get requests.

Constructors

new(pull : ::JSON::PullParser)
new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Instance methods

host

Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.

Source
host=(host : String | Nil)

Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.

Source
http_headers

Custom headers to set in the request. HTTP allows repeated headers.

Source
http_headers=(http_headers : Array(HTTPHeader) | Nil)

Custom headers to set in the request. HTTP allows repeated headers.

Source
path

Path to access on the HTTP server.

Source
path=(path : String | Nil)

Path to access on the HTTP server.

Source
port

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.

Source
port=(port : IntOrString | Nil)

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.

Source
scheme

Scheme to use for connecting to the host. Defaults to HTTP.

Source
scheme=(scheme : String | Nil)

Scheme to use for connecting to the host. Defaults to HTTP.

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source