class Pyrite::Api::Networking::V1::NetworkPolicyPort

Overview

NetworkPolicyPort describes a port to allow traffic on

Defined in:

versions/v1.14/api/networking/v1/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) #

NetworkPolicyPort describes a port to allow traffic on


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

NetworkPolicyPort describes a port to allow traffic on


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?) #