package kubecaml

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

Endpoint_address is a tuple that describes single Ip address.

type t
val to_yojson : t -> Yojson.Safe.t
val make : ?target_ref:Kubernetes.Definitions.Api.Core.V1.Object_reference.t -> ?node_name:string -> ip:string -> ?hostname:string -> unit -> t
val hostname : t -> string option

The Hostname of this endpoint

val ip : t -> string

The Ip of this endpoint. May not be loopback (127.0.0.0/8), link_local (169.254.0.0/16), or link_local multicast ((224.0.0.0/24). Ipv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube_proxy, are not Ipv6 ready.

val node_name : t -> string option

Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.

Reference to object providing the endpoint.

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