Kazan v0.10.0 Kazan.Apis.Extensions.V1beta1.NetworkPolicyPort View Source
DEPRECATED 1.9 - This group version of NetworkPolicyPort is deprecated by networking/v1/NetworkPolicyPort.
OpenAPI Definition: io.k8s.api.extensions.v1beta1.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
- Optional. 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.Extensions.V1beta1.NetworkPolicyPort{ port: Kazan.Models.Apimachinery.Util.Intstr.IntOrString.t(), protocol: String.t() }