package kubecaml

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

Deprecated 1.9 - This group version of Ip_block is deprecated by networking/v1/ip_block. Ip_block describes a particular Cidr (ex. "192.168.1.1/24") that is allowed to the pods matched by a Network_policy_spec's pod_selector. The except entry describes Cidrs that should not be included within this rule.

type t
val to_yojson : t -> Yojson.Safe.t
val make : ?except:string list -> cidr:string -> unit -> t
val cidr : t -> string

Cidr is a string representing the Ip Block Valid examples are "192.168.1.1/24"

val except : t -> string list option

Except is a slice of Cidrs that should not be included within an Ip Block Valid examples are "192.168.1.1/24" Except values will be rejected if they are outside the Cidr range

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

Innovation. Community. Security.