Kazan v0.11.0 Kazan.Apis.Networking.V1.NetworkPolicyPort View Source

NetworkPolicyPort describes a port to allow traffic on

OpenAPI Definition: io.k8s.api.networking.v1.NetworkPolicyPort

Properties

  • port :: Kazan.Models.Apimachinery.Util.Intstr.IntOrString

    • IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.
  • protocol :: String

    • The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP.

Link to this section Summary

Link to this section Types

Link to this type t() View Source
t() :: %Kazan.Apis.Networking.V1.NetworkPolicyPort{
  port: Kazan.Models.Apimachinery.Util.Intstr.IntOrString.t(),
  protocol: String.t()
}