mocks

package
v0.0.67 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DynamoDB

type DynamoDB struct {
	DescribeTableInvocations int
	TableName                string
	DescribeTableOut         *dynamodb.DescribeTableOutput
	DescribeTableErrors      []error
	CreateTableInvocations   int
	Schema                   *dynamodb.CreateTableInput
	CreateTableOut           *dynamodb.CreateTableOutput
	CreateTableError         error
	GetItemInvocations       int
	GetItemOuts              []*dynamodb.GetItemOutput
	GetItemErrors            []error
	PutItemInvocations       int
	PutItemOut               *dynamodb.PutItemOutput
	PutItemError             error
	UpdateItemInvocations    int
	UpdateItemOut            *dynamodb.UpdateItemOutput
	UpdateItemError          error
	DeleteItemInvocations    int
	DeleteItemOut            *dynamodb.DeleteItemOutput
	DeleteItemError          error
	ScanItemInvocations      int
	ScanOut                  *dynamodb.ScanOutput
	ScanError                error
	QueryItemInvocations     int
	QueryOut                 *dynamodb.QueryOutput
	QueryError               error
}

func (*DynamoDB) CreateTable

func (*DynamoDB) DeleteItem

func (*DynamoDB) DescribeTable

func (*DynamoDB) GetItem

func (mdb *DynamoDB) GetItem(_ context.Context, in *dynamodb.GetItemInput, _ ...func(*dynamodb.Options)) (*dynamodb.GetItemOutput, error)

func (*DynamoDB) PutItem

func (mdb *DynamoDB) PutItem(_ context.Context, in *dynamodb.PutItemInput, _ ...func(*dynamodb.Options)) (*dynamodb.PutItemOutput, error)

func (*DynamoDB) Query added in v0.0.61

func (mdb *DynamoDB) Query(ctx context.Context, in *dynamodb.QueryInput, optFns ...func(*dynamodb.Options)) (*dynamodb.QueryOutput, error)

func (*DynamoDB) Scan

func (mdb *DynamoDB) Scan(ctx context.Context, in *dynamodb.ScanInput, optFns ...func(*dynamodb.Options)) (*dynamodb.ScanOutput, error)

func (*DynamoDB) UpdateItem

type S3

type S3 struct {
	HeadBucketInvocations   int
	HeadBucketOut           *s3.HeadBucketOutput
	HeadBucketError         error
	BucketName              string
	CreateBucketInvocations int
	CreateBucketOut         *s3.CreateBucketOutput
	CreateBucketError       error
	Region                  string
	PutObjectInvocations    int
	Filename                string
	PutObjectOut            *s3.PutObjectOutput
	PutObjectError          error
	GetObjectInvocations    int
	GetObjectOut            *s3.GetObjectOutput
	GetObjectError          error
}

func (*S3) CreateBucket

func (ms3 *S3) CreateBucket(_ context.Context, in *s3.CreateBucketInput, _ ...func(*s3.Options)) (*s3.CreateBucketOutput, error)

func (*S3) GetObject

func (ms3 *S3) GetObject(_ context.Context, in *s3.GetObjectInput, _ ...func(*s3.Options)) (*s3.GetObjectOutput, error)

func (*S3) HeadBucket

func (ms3 *S3) HeadBucket(_ context.Context, in *s3.HeadBucketInput, _ ...func(*s3.Options)) (*s3.HeadBucketOutput, error)

func (*S3) PutObject

func (ms3 *S3) PutObject(_ context.Context, in *s3.PutObjectInput, _ ...func(*s3.Options)) (*s3.PutObjectOutput, error)

Jump to

Keyboard shortcuts

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