package kubecaml

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

Network_policy_port describes a port to allow traffic on

type t
val to_yojson : t -> Yojson.Safe.t
val make : ?protocol:string -> ?port:Kubernetes.Definitions.Apimachinery.Pkg.Util.Intstr.Int_or_string.t -> unit -> t

The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers.

val protocol : t -> string option

The protocol (tcp or Udp) which traffic must match. If not specified, this field defaults to Tcp.

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

Innovation. Community. Security.