Documentation ¶
Index ¶
- type AWSRegion
- func (i AWSRegion) Caption() string
- func (i AWSRegion) CaptionMap() map[AWSRegion]string
- func (i AWSRegion) Description() string
- func (i AWSRegion) DescriptionMap() map[AWSRegion]string
- func (i AWSRegion) IntString() string
- func (i AWSRegion) IntValue() int
- func (i AWSRegion) Key() string
- func (i AWSRegion) KeyMap() map[AWSRegion]string
- func (i AWSRegion) NameMap() map[string]AWSRegion
- func (i AWSRegion) ParseByKey(s string) (AWSRegion, error)
- func (i AWSRegion) ParseByName(s string) (AWSRegion, error)
- func (i AWSRegion) String() string
- func (i AWSRegion) Valid() bool
- func (i AWSRegion) ValueSlice() []AWSRegion
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSRegion ¶
type AWSRegion int
const ( UNKNOWN AWSRegion = 0 AWS_us_west_2_oregon AWSRegion = 1 AWS_us_east_1_nvirginia AWSRegion = 2 AWS_eu_west_2_london AWSRegion = 3 AWS_eu_central_1_frankfurt AWSRegion = 4 AWS_ap_southeast_1_singapore AWSRegion = 5 AWS_ap_east_1_hongkong AWSRegion = 6 AWS_ap_northeast_1_tokyo AWSRegion = 7 AWS_ap_southeast_2_sydney AWSRegion = 8 )
func GetAwsRegion ¶
func (AWSRegion) CaptionMap ¶
CaptionMap returns all captions of the enum AWSRegion in a K:AWSRegion,V:caption map
func (AWSRegion) Description ¶
Description retrieves a AWSRegion enum string description
func (AWSRegion) DescriptionMap ¶
DescriptionMap returns all descriptions of the enum AWSRegion in a K:AWSRegion,V:description map
func (AWSRegion) IntString ¶
IntString gets the intrinsic enum integer value represented in string format
func (AWSRegion) NameMap ¶
NameMap returns all names of the enum AWSRegion in a K:name,V:AWSRegion map
func (AWSRegion) ParseByKey ¶
ParseByKey retrieves a AWSRegion enum value from the enum string key, throws an error if the param is not part of the enum
func (AWSRegion) ParseByName ¶
ParseByName retrieves a AWSRegion enum value from the enum string name, throws an error if the param is not part of the enum
func (AWSRegion) Valid ¶
Valid returns 'true' if the value is listed in the AWSRegion enum map definition, 'false' otherwise
func (AWSRegion) ValueSlice ¶
ValueSlice returns all values of the enum AWSRegion in a slice