package kubecaml

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

Deprecated 1.9 - This group version of Network_policy_port is deprecated by networking/v1/network_policy_port.

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

If specified, 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. If present, only traffic on the specified protocol And port will be matched.

val protocol : t -> string option

Optional. 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.