package kubecaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Http_get_action describes an action based on Http Get requests.

type t
val to_yojson : t -> Yojson.Safe.t
val make : ?scheme:string -> port:Kubernetes.Definitions.Apimachinery.Pkg.Util.Intstr.Int_or_string.t -> ?path:string -> ?http_headers:Kubernetes.Definitions.Api.Core.V1.Http_header.t list -> ?host:string -> unit -> t
val host : t -> string option

Host name to connect to, defaults to the pod Ip. You probably want to set "host" in http_headers instead.

val http_headers : t -> Kubernetes.Definitions.Api.Core.V1.Http_header.t list option

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

val path : t -> string option

Path to access on the Http server.

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.

val scheme : t -> string option

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

module Object : Object.S with type value := t