Discover Packages
github.com/CS-SI/SafeScale/v22
lib
backend
resources
enums
securitygroupruledirection
package
Version:
v22.11.5
Opens a new window with list of versions in this module.
Published: Feb 1, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Enum represents the way of a securitygroup rule (ingress or egress)
const (
Unknown Enum = iota
Ingress
Egress
)
FromString returns an Enum corresponding to the string parameter
This method is intended to be used from validated input.
Parse returns an Enum corresponding to the string parameter
If the string doesn't correspond to any Enum, returns an error (nil otherwise)
This function is intended to be used to parse user input.
String returns a string representation of an Enum
Source Files
¶
Click to show internal directories.
Click to hide internal directories.