class CB::ManageFirewall

Defined in:

cb/manage_firewall.cr

Constant Summary

Error = Program::Error

Constructors

Instance Method Summary

Instance methods inherited from class CB::Action

call call, client : CB::Client client, output : IO output, output=(output : IO) output=, run run

Constructor methods inherited from class CB::Action

new(client : Client, output : IO = STDOUT) new

Constructor Detail

def self.new(client : Client, output = STDOUT) #

[View source]

Instance Method Detail

def add(cidr : String) #

[View source]
def add_all #

[View source]
def add_rule(cidr : String) #

[View source]
def cluster_id : String | Nil #

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

[View source]
def display_rules #

[View source]
def output : IO #

[View source]
def output=(output : IO) #

[View source]
def remove(cidr : String) #

[View source]
def remove_all #

[View source]
def remove_rule(rule : Client::FirewallRule) #

[View source]
def run #

[View source]
def to_add : Array(String) #

[View source]
def to_add=(to_add : Array(String)) #

[View source]
def to_remove : Array(String) #

[View source]
def to_remove=(to_remove : Array(String)) #

[View source]