Documentation ¶
Index ¶
- type CachingFactory
- func (c *CachingFactory) Clear()
- func (c *CachingFactory) GetAccountClient(region string, role model.Role) account.Client
- func (c *CachingFactory) GetCloudwatchClient(region string, role model.Role, ...) cloudwatch_client.Client
- func (c *CachingFactory) GetTaggingClient(region string, role model.Role, concurrencyLimit int) tagging.Client
- func (c *CachingFactory) Refresh()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachingFactory ¶ added in v0.54.0
type CachingFactory struct {
// contains filtered or unexported fields
}
func NewFactory ¶ added in v0.54.0
func NewFactory(logger logging.Logger, jobsCfg model.JobsConfig, fips bool) *CachingFactory
NewFactory creates a new client factory to use when fetching data from AWS with sdk v2
func (*CachingFactory) Clear ¶ added in v0.54.0
func (c *CachingFactory) Clear()
Refresh and Clear help to avoid using lock primitives by asserting that there are no ongoing writes to the map.
func (*CachingFactory) GetAccountClient ¶ added in v0.54.0
func (*CachingFactory) GetCloudwatchClient ¶ added in v0.54.0
func (c *CachingFactory) GetCloudwatchClient(region string, role model.Role, concurrency cloudwatch_client.ConcurrencyConfig) cloudwatch_client.Client
func (*CachingFactory) GetTaggingClient ¶ added in v0.54.0
func (*CachingFactory) Refresh ¶ added in v0.54.0
func (c *CachingFactory) Refresh()
Click to show internal directories.
Click to hide internal directories.