Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultCacheExpiration = 5 * time.Minute DefaultCacheCleanUpInterval = 10 * time.Minute )
Variables ¶
This section is empty.
Functions ¶
func CreateAwsConfig ¶
func GetClientForLocation ¶
func GetClientForLocation[C any, O any](ctx context.Context, clientFunc ClientCreateFunc[C, O], ch *cache.Cache, loc provider.Location, creds aws.CredentialsProvider) (C, error)
Types ¶
type BasePlatformAws ¶
type BasePlatformAws struct { Ec2Cache *cache.Cache Creds *credentials.StaticCredentialsProvider }
Base struct with common functions for AWS clients TODO: this might be kinda pointless
Click to show internal directories.
Click to hide internal directories.