package kubecaml

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

Endpoint_port is a tuple that describes a single port.

type t
val to_yojson : t -> Yojson.Safe.t
val make : ?protocol:string -> port:int -> ?name:string -> unit -> t
val name : t -> string option

The name of this port (corresponds to Service_port.name). Must be a Dns_label. Optional only if one port is defined.

val port : t -> int

The port number of the endpoint.

val protocol : t -> string option

The Ip protocol for this port. Must be Udp or Tcp. Default is Tcp.

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