Documentation ¶
Index ¶
- func ParseVDCGroupFirewallRuleAction(action string) (v1.VDCGroupFirewallTypeRuleAction, error)
- func ParseVDCGroupFirewallRuleDirection(direction string) (v1.VDCGroupFirewallTypeRuleDirection, error)
- func ParseVDCGroupFirewallRuleIPProtocol(protocol string) (v1.VDCGroupFirewallTypeRuleIPProtocol, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseVDCGroupFirewallRuleAction ¶
func ParseVDCGroupFirewallRuleAction(action string) (v1.VDCGroupFirewallTypeRuleAction, error)
ParseVDCGroupFirewallRuleAction parses the string and returns the corresponding firewall rule action. If the string is not valid, it returns an error.
func ParseVDCGroupFirewallRuleDirection ¶
func ParseVDCGroupFirewallRuleDirection(direction string) (v1.VDCGroupFirewallTypeRuleDirection, error)
ParseVDCGroupFirewallTypeRuleDirection parses the string and returns the corresponding firewall rule direction. If the string is not valid, it returns an error.
func ParseVDCGroupFirewallRuleIPProtocol ¶
func ParseVDCGroupFirewallRuleIPProtocol(protocol string) (v1.VDCGroupFirewallTypeRuleIPProtocol, error)
ParseVDCGroupFirewallRuleIPProtocol parses the string and returns the corresponding firewall rule IP protocol. If the string is not valid, it returns an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.