examplemock

package
v0.0.0-...-a174eda Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssumeRoleReturns

type AssumeRoleReturns struct {
	Return sts.AssumeRoleOutput
	Error  error
}

type BatchGetItemReturns

type BatchGetItemReturns struct {
	Return dynamodb.BatchGetItemOutput
	Error  error
}

type DynamoDBMock

type DynamoDBMock struct {
	// contains filtered or unexported fields
}

func NewDynamoDBMock

func NewDynamoDBMock() *DynamoDBMock

func (*DynamoDBMock) DynamoDBMiddlewareInjector

func (d *DynamoDBMock) DynamoDBMiddlewareInjector() func(stack *middleware.Stack) error

func (*DynamoDBMock) GetCallCount

func (d *DynamoDBMock) GetCallCount() map[string]int

func (*DynamoDBMock) SetBatchGetItemError

func (d *DynamoDBMock) SetBatchGetItemError(e error)

func (*DynamoDBMock) SetBatchGetItemReturn

func (d *DynamoDBMock) SetBatchGetItemReturn(o dynamodb.BatchGetItemOutput)

func (*DynamoDBMock) SetListTablesError

func (d *DynamoDBMock) SetListTablesError(e error)

func (*DynamoDBMock) SetListTablesReturn

func (d *DynamoDBMock) SetListTablesReturn(o dynamodb.ListTablesOutput)

type GetCallerIdentityReturns

type GetCallerIdentityReturns struct {
	Return sts.GetCallerIdentityOutput
	Error  error
}

type ListTablesReturns

type ListTablesReturns struct {
	Return dynamodb.ListTablesOutput
	Error  error
}

type STSMock

type STSMock struct {
	// contains filtered or unexported fields
}

func NewSTSMock

func NewSTSMock() *STSMock

func (*STSMock) GetCallCount

func (s *STSMock) GetCallCount() map[string]int

func (*STSMock) STSMiddlewareInjector

func (s *STSMock) STSMiddlewareInjector() func(stack *middleware.Stack) error

func (*STSMock) SetAssumeRoleError

func (s *STSMock) SetAssumeRoleError(e error)

func (*STSMock) SetAssumeRoleReturn

func (s *STSMock) SetAssumeRoleReturn(o sts.AssumeRoleOutput)

func (*STSMock) SetGetCallerIdentityError

func (s *STSMock) SetGetCallerIdentityError(e error)

func (*STSMock) SetGetCallerIdentityReturn

func (s *STSMock) SetGetCallerIdentityReturn(o sts.GetCallerIdentityOutput)

Jump to

Keyboard shortcuts

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