session

package
v0.51.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2023 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SessionCache

SessionCache is an interface to a cache of sessions and clients for all the roles specified by the exporter. For jobs with many duplicate roles, this provides relief to the AWS API and prevents timeouts by excessive credential requesting.

func NewSessionCache

func NewSessionCache(cfg config.ScrapeConf, fips bool, logger logging.Logger) SessionCache

NewSessionCache creates a new session cache to use when fetching data from AWS.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL