package kubecaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val request_path_template : unit -> string
val get : path:string -> name:string -> ?ctx:Cohttp_lwt_unix.Client.ctx -> ?headers:Cohttp.Header.t -> Uri.t -> (string, string) result Lwt.t

connect Get requests to proxy of Node

  • parameter path

    path to the resource

  • parameter name

    name of the Node

val put : path:string -> name:string -> ?ctx:Cohttp_lwt_unix.Client.ctx -> ?headers:Cohttp.Header.t -> Uri.t -> (string, string) result Lwt.t

connect Put requests to proxy of Node

  • parameter path

    path to the resource

  • parameter name

    name of the Node

val post : path:string -> name:string -> ?ctx:Cohttp_lwt_unix.Client.ctx -> ?headers:Cohttp.Header.t -> Uri.t -> (string, string) result Lwt.t

connect Post requests to proxy of Node

  • parameter path

    path to the resource

  • parameter name

    name of the Node

val delete : path:string -> name:string -> ?ctx:Cohttp_lwt_unix.Client.ctx -> ?headers:Cohttp.Header.t -> Uri.t -> (string, string) result Lwt.t

connect Delete requests to proxy of Node

  • parameter path

    path to the resource

  • parameter name

    name of the Node

val options : path:string -> name:string -> ?ctx:Cohttp_lwt_unix.Client.ctx -> ?headers:Cohttp.Header.t -> Uri.t -> (string, string) result Lwt.t

connect Options requests to proxy of Node

  • parameter path

    path to the resource

  • parameter name

    name of the Node

val head : path:string -> name:string -> ?ctx:Cohttp_lwt_unix.Client.ctx -> ?headers:Cohttp.Header.t -> Uri.t -> (string, string) result Lwt.t

connect Head requests to proxy of Node

  • parameter path

    path to the resource

  • parameter name

    name of the Node

val patch : path:string -> name:string -> ?ctx:Cohttp_lwt_unix.Client.ctx -> ?headers:Cohttp.Header.t -> Uri.t -> (string, string) result Lwt.t

connect Patch requests to proxy of Node

  • parameter path

    path to the resource

  • parameter name

    name of the Node