class Pyrite::Api::Extensions::V1beta1::NetworkPolicyPort

Overview

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

Defined in:

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

Constructors

Instance Method Summary

Constructor methods inherited from class Pyrite::Kubernetes::Spec

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new

Constructor Detail

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

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


def self.new(pull : JSON::PullParser) #

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


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

Instance Method Detail

def port : Int32 | String | Nil #

def port=(port : Int32 | String | Nil) #

def protocol : String? #

def protocol=(protocol : String?) #