class CB::ManageFirewall

Defined in:

cb/manage_firewall.cr

Constant Summary

Error = Program::Error

Instance Method Summary

Instance methods inherited from class CB::APIAction

client : Client client, client=(client : Client) client=, run run

Constructor methods inherited from class CB::APIAction

new(client : CB::Client, input = STDIN, output = STDOUT) new

Instance methods inherited from class CB::Action

call call, input : IO input, input=(input : IO) input=, output : IO output, output=(output : IO) output=

Constructor methods inherited from class CB::Action

new(input : IO = STDIN, output : IO = STDOUT) new

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 #

def cluster_id=(str : String) #

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

def display_rules #

[View source]
def network_id : String | Nil #

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

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

[View source]
def remove_all #

[View source]
def remove_rule(rule : CB::Model::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]