Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorCreate = errors.New("failed to create the Firewall Function Instance: %w") ErrorConvertFirewallId = errors.New("invalid Firewall ID. The value must be an integer") ErrorConvertFunctionID = errors.New("invalid Function ID. The value must be an integer") ErrorIsActiveFlag = errors.New("invalid value for 'active' flag") ErrorArgsFlag = errors.New("failed to read args file") ErrorParseArgs = errors.New("failed to parse args JSON") )
Used only by the v4 command tree.
View Source
var ( Usage = "firewall-instance" ShortDescription = "Creates a new Firewall Function Instance" LongDescription = "Creates a Firewall Function Instance based on given attributes" FlagName = "The Firewall Function Instance's name" FlagIsActive = "Whether the Firewall Function Instance is active or not" FlagFile = "Path to a JSON file containing the attributes that will be updated; you can use - for reading from stdin" OutputSuccess = "Created Firewall Function Instance with ID %d" HelpFlag = "Displays more information about the create firewall-instance command" AskInputName = "Enter the new Firewall Function Instance's name:" AskInputFirewallID = "Enter the Firewall's ID this Function Instance will be associated with:" AskInputFunctionID = "Enter the Function's ID:" FlagFirewallID = "Unique identifier of the Firewall" FlagFunctionID = "Unique identifier of the Function" FlagArgs = "The Firewall Function Instance's arguments" )
Used only by the v4 command tree.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.