case class HTTPGetAction(host: Optional[String] = Optional.Absent, httpHeaders: Optional[Vector[HTTPHeader]] = Optional.Absent, path: Optional[String] = Optional.Absent, port: IntOrString, scheme: Optional[String] = Optional.Absent) extends Product with Serializable
HTTPGetAction describes an action based on HTTP Get requests.
- 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.
- Alphabetic
- By Inheritance
- HTTPGetAction
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
HTTPGetAction(host: Optional[String] = Optional.Absent, httpHeaders: Optional[Vector[HTTPHeader]] = Optional.Absent, path: Optional[String] = Optional.Absent, port: IntOrString, scheme: Optional[String] = Optional.Absent)
- 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.
Value Members
-
def
getHost: IO[K8sFailure, String]
Host name to connect to, defaults to the pod IP.
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.
-
def
getHttpHeaders: IO[K8sFailure, Vector[HTTPHeader]]
Custom headers to set in the request.
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.
-
def
getPort: IO[K8sFailure, IntOrString]
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.
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.
- val host: Optional[String]
- val httpHeaders: Optional[Vector[HTTPHeader]]
- val path: Optional[String]
- val port: IntOrString
- val scheme: Optional[String]