Documentation ¶
Index ¶
- type AwsServiceMap
- func (m *AwsServiceMap) GetAllRegions() ([]string, error)
- func (m *AwsServiceMap) GetAllServices() ([]string, error)
- func (m *AwsServiceMap) GetRegionsForService(reqService string) ([]string, error)
- func (m *AwsServiceMap) GetServicesForRegion(reqRegion string) ([]string, error)
- func (m *AwsServiceMap) IsServiceInRegion(reqService string, reqRegion string) (bool, error)
- type JsonFileSource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsServiceMap ¶
type AwsServiceMap struct {
JsonFileSource JsonFileSource
}
func NewServiceMap ¶
func NewServiceMap() *AwsServiceMap
Function that uses the constructor pattern. You can use this or instantiate your struct without it.
func (*AwsServiceMap) GetAllRegions ¶
func (m *AwsServiceMap) GetAllRegions() ([]string, error)
Returns a slice of strings that represent all observed regions
func (*AwsServiceMap) GetAllServices ¶
func (m *AwsServiceMap) GetAllServices() ([]string, error)
func (*AwsServiceMap) GetRegionsForService ¶
func (m *AwsServiceMap) GetRegionsForService(reqService string) ([]string, error)
Returns a slice of strings that represent all regions that support the specific service
func (*AwsServiceMap) GetServicesForRegion ¶
func (m *AwsServiceMap) GetServicesForRegion(reqRegion string) ([]string, error)
Returns a slice of strings that represent all service supported in a specific region
func (*AwsServiceMap) IsServiceInRegion ¶
func (m *AwsServiceMap) IsServiceInRegion(reqService string, reqRegion string) (bool, error)
Is a specific service supported in a specific region. Retruns true/false
type JsonFileSource ¶ added in v0.0.6
type JsonFileSource string
const ( JsonFileSourceEmbedded JsonFileSource = "EMBEDDED_IN_PACKAGE" JsonFileSourceDownload JsonFileSource = "DOWNLOAD_FROM_AWS" )
Enum values for JsonFileSource
func (JsonFileSource) Values ¶ added in v0.0.6
func (JsonFileSource) Values() []JsonFileSource
Click to show internal directories.
Click to hide internal directories.