helpers

package
v0.21.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2025 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseFirewallAppPortProfileProtocol added in v0.19.0

func ParseFirewallAppPortProfileProtocol(protocol string) (v1.FirewallGroupAppPortProfileModelPortProtocol, error)

ParseFirewallAppPortProfileProtocol parses the string and returns the corresponding firewall application port profile protocol. If the string is not valid, it returns an error.

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL