package kubecaml

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

connect Get requests to portforward of Pod

  • parameter ports

    List of ports to forward Required when using Web_sockets

  • parameter namespace

    object name and auth scope, such as for teams and projects

  • parameter name

    name of the Pod

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

connect Post requests to portforward of Pod

  • parameter ports

    List of ports to forward Required when using Web_sockets

  • parameter namespace

    object name and auth scope, such as for teams and projects

  • parameter name

    name of the Pod