helpers

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

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