package sdk
import "github.com/aws/aws-sdk-go-v2/internal/sdk"
Index ¶
Variables ¶
NowTime is a value for getting the current time. This value can be overridden for testing mocking out current time.
Sleep is a value for sleeping for a duration. This value can be overridden for testing and mocking out sleep duration.
SleepWithContext will wait for the timer duration to expire, or the context is canceled. Which ever happens first. If the context is canceled the Context's error will be returned.
This value can be overridden for testing and mocking out sleep duration.
Functions ¶
func TestingUseNoOpSleep ¶
func TestingUseNoOpSleep() func()
TestingUseNoOpSleep is a utility for disabling sleep across the SDK for testing.
func UUIDVersion4 ¶
UUIDVersion4 returns a Version 4 random UUID from the byte slice provided
Types ¶
type Invalidator ¶
type Invalidator interface {
Invalidate()
}
Invalidator provides access to a type's invalidate method to make it invalidate it cache.
e.g aws.SafeCredentialsProvider's Invalidate method.
Source Files ¶
- Version
- v0.24.0
- Published
- Jul 22, 2020
- Platform
- darwin/amd64
- Imports
- 4 packages
- Last checked
- 3 minutes ago –
Tools for package owners.