package mock
import "github.com/aws/aws-sdk-go-v2/aws/retry/internal/mock"
Index ¶
- func LoadDefaultConfig(context.Context, ...func()) (cfg aws.Config, err error)
- func WithRetryer(v func() aws.Retryer) (f func())
- type Client
- func NewFromConfig(aws.Config, ...func(options *Options)) Client
- func (Client) GetObject(context.Context, *GetObjectInput, ...func(*Options)) (o *GetObjectOutput, err error)
- type GetObjectInput
- type GetObjectOutput
- type NoSuchBucketException
- type Options
Functions ¶
func LoadDefaultConfig ¶
LoadDefaultConfig is a mock for config.LoadDefaultConfig
func WithRetryer ¶
WithRetryer is a mock for config.WithRetryer
Types ¶
type Client ¶
type Client struct{}
Client is a mock service client
func NewFromConfig ¶
NewFromConfig is a mock client constructor
func (Client) GetObject ¶
func (Client) GetObject(context.Context, *GetObjectInput, ...func(*Options)) (o *GetObjectOutput, err error)
GetObject is a mock GetObject API
type GetObjectInput ¶
GetObjectInput is mock input
type GetObjectOutput ¶
type GetObjectOutput struct{}
GetObjectOutput is mock output
type NoSuchBucketException ¶
type NoSuchBucketException struct{}
NoSuchBucketException is a mock error
func (*NoSuchBucketException) Error ¶
func (*NoSuchBucketException) Error() string
Error is a mock error message
func (*NoSuchBucketException) ErrorCode ¶
func (*NoSuchBucketException) ErrorCode() string
ErrorCode is a mock error code
type Options ¶
Options is a mock client Options
Source Files ¶
- Version
- v1.6.0
- Published
- May 20, 2021
- Platform
- windows/amd64
- Imports
- 2 packages
- Last checked
- 5 minutes ago –
Tools for package owners.