package kubecaml

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

Ingress_rule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching Ingress_rule_value.

type t
val to_yojson : t -> Yojson.Safe.t
val host : t -> string option

Host is the fully qualified domain name of a network host, as defined by Rfc 3986. Note the following deviations from the "host" part of the Uri as defined in the Rfc: 1. Ips are not allowed. Currently an Ingress_rule_value can only apply to the Ip in the Spec of the parent Ingress. 2. The `:` delimiter is not respected because ports are not allowed. Currently the port of an Ingress is implicitly :80 for http and :443 for https. both these may change in the future. Incoming requests are matched against the host before the Ingress_rule_value. If the host is unspecified, the Ingress routes all traffic based on the specified Ingress_rule_value.

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

Innovation. Community. Security.