package kubecaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Ip_block : sig ... end

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.

module Network_policy : sig ... end

Network_policy describes what network traffic is allowed for a set of Pods

module Network_policy_egress_rule : sig ... end

Network_policy_egress_rule describes a particular set of traffic that is allowed out of pods matched by a Network_policy_spec's pod_selector. The traffic must match both ports and to. This type is beta_level in 1.8

module Network_policy_ingress_rule : sig ... end

Network_policy_ingress_rule describes a particular set of traffic that is allowed to the pods matched by a Network_policy_spec's pod_selector. The traffic must match both ports and from.

module Network_policy_list : sig ... end

Network_policy_list is a list of Network_policy objects.

module Network_policy_peer : sig ... end

Network_policy_peer describes a peer to allow traffic from. Exactly one of its fields must be specified.

module Network_policy_port : sig ... end

Network_policy_port describes a port to allow traffic on

module Network_policy_spec : sig ... end

Network_policy_spec provides the specification of a Network_policy

OCaml

Innovation. Community. Security.