class Rancher::NetworkPolicyRule

Included Modules

Defined in:

rancher/types/generated/network_policy_rule.cr

Constructors

Instance Method Summary

Instance methods inherited from class Rancher::Object

client : Client client, client=(client : Client) client=, client? : Client | Nil client?, id : String id, id=(id : String) id=, id? : String | Nil id?, with_client(client : Client) with_client

Constructor Detail

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

[View source]

Instance Method Detail

def action : String #

def action=(action : String) #

[View source]
def action? : String | Nil #

def between : NetworkPolicyRuleBetween #

def between=(between : NetworkPolicyRuleBetween) #

[View source]
def between? : NetworkPolicyRuleBetween | Nil #


def from=(from : NetworkPolicyRuleMember) #

[View source]
def from? : NetworkPolicyRuleMember | Nil #

def ports : Array(String) #

def ports=(ports : Array(String)) #

[View source]
def ports? : Array(String) | Nil #


def to=(to : NetworkPolicyRuleMember) #

[View source]
def to? : NetworkPolicyRuleMember | Nil #

def within : String #

def within=(within : String) #

[View source]
def within? : String | Nil #