package kubecaml

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

Server_address_by_client_cidr helps the client to determine the server address that they should use, depending on the client_cidr that they match.

type t
val to_yojson : t -> Yojson.Safe.t
val make : server_address:string -> client_cidr:string -> unit -> t
val client_cidr : t -> string

The Cidr with which clients can match their Ip to figure out the server address that they should use.

val server_address : t -> string

Address of this server, suitable for a client that matches the above Cidr. This can be a hostname, hostname:port, Ip or Ip:port.

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

Innovation. Community. Security.