class K8S::Api::Extensions::V1beta1::NetworkPolicyPort

Overview

DEPRECATED 1.9 - This group version of NetworkPolicyPort is deprecated by networking/v1/NetworkPolicyPort.

Included Modules

Defined in:

versions/v1.15/api/extensions/v1beta1/network_policy_port.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, port : Int32 | String | Nil = nil, protocol : String? = nil) #

[View source]

Instance Method Detail

def port : Int32 | String | Nil #

[View source]
def port=(port : Int32 | String | Nil) #

[View source]
def protocol : String? #

[View source]
def protocol=(protocol : String?) #

[View source]