Package: mock

import "../ibm-cos-sdk-go-v2/aws/retry/internal/mock"

Type Summary collapse

Function Summary collapse

Type Details

GetObjectInput struct

GetObjectInput is mock input

Structure Fields:

Bucket *string
Key *string

Options struct

Options is a mock client Options

Structure Fields:

Retryer aws.Retryer

Function Details

func LoadDefaultConfig(context.Context, ...func()) (cfg aws.Config, err error)

LoadDefaultConfig is a mock for config.LoadDefaultConfig



9
10
11
// File 'aws/retry/internal/mock/config.go', line 9

func LoadDefaultConfig(context.Context, ...func()) (cfg aws.Config, err error) { return cfg, err }

func NewFromConfig(aws.Config, ...func(options *Options)) Client

NewFromConfig is a mock client constructor



26
27
28
// File 'aws/retry/internal/mock/client.go', line 26

func NewFromConfig(aws.Config, ...func(options *Options)) Client { return Client{} }

func WithRetryer(v func() aws.Retryer) (f func())

WithRetryer is a mock for config.WithRetryer



14
15
16
// File 'aws/retry/internal/mock/config.go', line 14

func WithRetryer(v func() aws.Retryer) (f func()) { return f }