package kubecaml

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

Http_ingress_path associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend.

type t
val to_yojson : t -> Yojson.Safe.t
val make : ?path:string -> backend:Kubernetes.Definitions.Api.Extensions.V1beta1.Ingress_backend.t -> unit -> t

Backend defines the referenced service endpoint to which the traffic will be forwarded to.

val path : t -> string option

Path is an extended Posix regex as defined by Ieee Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a Url as defined by Rfc 3986. Paths must begin with a '/'. If unspecified, the path defaults to a catch all sending traffic to the backend.

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

Innovation. Community. Security.