HTTPGetAction

case class HTTPGetAction(host: Optional[String], httpHeaders: Optional[Vector[HTTPHeader]], path: Optional[String], port: IntOrString, scheme: Optional[String])

HTTPGetAction describes an action based on HTTP Get requests.

HTTPGetAction describes an action based on HTTP Get requests.

Value Params
host

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

httpHeaders

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

path

Path to access on the HTTP server.

scheme

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

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def getHost: IO[K8sFailure, String]

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

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

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

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

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

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getPath: IO[K8sFailure, String]

Path to access on the HTTP server.

Path to access on the HTTP server.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets port.

Gets port.

This effect always succeeds, it is safe to use the field port directly.

def getScheme: IO[K8sFailure, String]

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

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

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product