Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { // Filters Filters `yaml:"filters"` ResourceTypes ResourceTypes `yaml:"resource-types"` Presets []string `yaml:"presets"` }
type CustomEndpoints ¶
type CustomEndpoints []*CustomRegion
func (CustomEndpoints) GetRegion ¶
func (endpoints CustomEndpoints) GetRegion(region string) *CustomRegion
GetRegion returns the custom region or nil when no such custom endpoints are defined for this region
func (CustomEndpoints) GetURL ¶
func (endpoints CustomEndpoints) GetURL(region, serviceType string) string
type CustomRegion ¶
type CustomRegion struct { Region string `yaml:"region"` Services CustomServices `yaml:"services"` TLSInsecureSkipVerify bool `yaml:"tls_insecure_skip_verify"` }
type CustomService ¶
type CustomServices ¶
type CustomServices []*CustomService
func (CustomServices) GetService ¶
func (services CustomServices) GetService(serviceType string) *CustomService
GetService returns the custom region or nil when no such custom endpoints are defined for this region
type ResourceTypes ¶
type ResourceTypes struct { Targets types.Collection `yaml:"targets"` Excludes types.Collection `yaml:"excludes"` CloudControl types.Collection `yaml:"cloud-control"` }
Click to show internal directories.
Click to hide internal directories.