Documentation ¶
Index ¶
- func ClearDynamoTable(awsSession *session.Session, tableName string) error
- func ClearS3Bucket(awsSession *session.Session, bucketName string) error
- type AthenaMock
- func (m *AthenaMock) GetQueryExecution(input *athena.GetQueryExecutionInput) (*athena.GetQueryExecutionOutput, error)
- func (m *AthenaMock) GetQueryResults(input *athena.GetQueryResultsInput) (*athena.GetQueryResultsOutput, error)
- func (m *AthenaMock) StartQueryExecution(input *athena.StartQueryExecutionInput) (*athena.StartQueryExecutionOutput, error)
- type DynamoDBMock
- func (m *DynamoDBMock) DeleteItem(input *dynamodb.DeleteItemInput) (*dynamodb.DeleteItemOutput, error)
- func (m *DynamoDBMock) GetItem(input *dynamodb.GetItemInput) (*dynamodb.GetItemOutput, error)
- func (m *DynamoDBMock) PutItem(input *dynamodb.PutItemInput) (*dynamodb.PutItemOutput, error)
- func (m *DynamoDBMock) Scan(input *dynamodb.ScanInput) (*dynamodb.ScanOutput, error)
- func (m *DynamoDBMock) UpdateItem(input *dynamodb.UpdateItemInput) (*dynamodb.UpdateItemOutput, error)
- type EventBridgeMock
- func (m *EventBridgeMock) DeleteRule(input *eventbridge.DeleteRuleInput) (*eventbridge.DeleteRuleOutput, error)
- func (m *EventBridgeMock) ListEventBuses(input *eventbridge.ListEventBusesInput) (*eventbridge.ListEventBusesOutput, error)
- func (m *EventBridgeMock) PutRule(input *eventbridge.PutRuleInput) (*eventbridge.PutRuleOutput, error)
- func (m *EventBridgeMock) PutTargets(input *eventbridge.PutTargetsInput) (*eventbridge.PutTargetsOutput, error)
- func (m *EventBridgeMock) RemoveTargets(input *eventbridge.RemoveTargetsInput) (*eventbridge.RemoveTargetsOutput, error)
- type GlueMock
- func (m *GlueMock) CreatePartition(input *glue.CreatePartitionInput) (*glue.CreatePartitionOutput, error)
- func (m *GlueMock) CreateTable(input *glue.CreateTableInput) (*glue.CreateTableOutput, error)
- func (m *GlueMock) DeleteTable(input *glue.DeleteTableInput) (*glue.DeleteTableOutput, error)
- func (m *GlueMock) GetPartition(input *glue.GetPartitionInput) (*glue.GetPartitionOutput, error)
- func (m *GlueMock) GetPartitions(input *glue.GetPartitionsInput) (*glue.GetPartitionsOutput, error)
- func (m *GlueMock) GetTable(input *glue.GetTableInput) (*glue.GetTableOutput, error)
- func (m *GlueMock) UpdatePartition(input *glue.UpdatePartitionInput) (*glue.UpdatePartitionOutput, error)
- type LambdaMock
- type S3Mock
- type S3UploaderMock
- type SnsMock
- type SqsMock
- func (m *SqsMock) DeleteMessageBatch(input *sqs.DeleteMessageBatchInput) (*sqs.DeleteMessageBatchOutput, error)
- func (m *SqsMock) GetQueueAttributes(input *sqs.GetQueueAttributesInput) (*sqs.GetQueueAttributesOutput, error)
- func (m *SqsMock) ReceiveMessage(input *sqs.ReceiveMessageInput) (*sqs.ReceiveMessageOutput, error)
- func (m *SqsMock) SendMessage(input *sqs.SendMessageInput) (*sqs.SendMessageOutput, error)
- func (m *SqsMock) SendMessageBatch(input *sqs.SendMessageBatchInput) (*sqs.SendMessageBatchOutput, error)
- func (m *SqsMock) SetQueueAttributes(input *sqs.SetQueueAttributesInput) (*sqs.SetQueueAttributesOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearDynamoTable ¶
ClearDynamoTable deletes all items from the table.
Automatic table backups are not affected.
Types ¶
type AthenaMock ¶ added in v1.4.0
type AthenaMock struct { athenaiface.AthenaAPI mock.Mock }
func (*AthenaMock) GetQueryExecution ¶ added in v1.4.0
func (m *AthenaMock) GetQueryExecution(input *athena.GetQueryExecutionInput) (*athena.GetQueryExecutionOutput, error)
func (*AthenaMock) GetQueryResults ¶ added in v1.4.0
func (m *AthenaMock) GetQueryResults(input *athena.GetQueryResultsInput) (*athena.GetQueryResultsOutput, error)
func (*AthenaMock) StartQueryExecution ¶ added in v1.4.0
func (m *AthenaMock) StartQueryExecution(input *athena.StartQueryExecutionInput) (*athena.StartQueryExecutionOutput, error)
type DynamoDBMock ¶ added in v1.1.0
type DynamoDBMock struct { dynamodbiface.DynamoDBAPI mock.Mock }
func (*DynamoDBMock) DeleteItem ¶ added in v1.3.0
func (m *DynamoDBMock) DeleteItem(input *dynamodb.DeleteItemInput) (*dynamodb.DeleteItemOutput, error)
func (*DynamoDBMock) GetItem ¶ added in v1.3.0
func (m *DynamoDBMock) GetItem(input *dynamodb.GetItemInput) (*dynamodb.GetItemOutput, error)
func (*DynamoDBMock) PutItem ¶ added in v1.1.0
func (m *DynamoDBMock) PutItem(input *dynamodb.PutItemInput) (*dynamodb.PutItemOutput, error)
func (*DynamoDBMock) Scan ¶ added in v1.3.0
func (m *DynamoDBMock) Scan(input *dynamodb.ScanInput) (*dynamodb.ScanOutput, error)
func (*DynamoDBMock) UpdateItem ¶ added in v1.1.0
func (m *DynamoDBMock) UpdateItem(input *dynamodb.UpdateItemInput) (*dynamodb.UpdateItemOutput, error)
type EventBridgeMock ¶ added in v1.3.0
type EventBridgeMock struct { eventbridgeiface.EventBridgeAPI mock.Mock }
func (*EventBridgeMock) DeleteRule ¶ added in v1.3.0
func (m *EventBridgeMock) DeleteRule(input *eventbridge.DeleteRuleInput) (*eventbridge.DeleteRuleOutput, error)
func (*EventBridgeMock) ListEventBuses ¶ added in v1.3.0
func (m *EventBridgeMock) ListEventBuses(input *eventbridge.ListEventBusesInput) (*eventbridge.ListEventBusesOutput, error)
func (*EventBridgeMock) PutRule ¶ added in v1.3.0
func (m *EventBridgeMock) PutRule(input *eventbridge.PutRuleInput) (*eventbridge.PutRuleOutput, error)
func (*EventBridgeMock) PutTargets ¶ added in v1.3.0
func (m *EventBridgeMock) PutTargets(input *eventbridge.PutTargetsInput) (*eventbridge.PutTargetsOutput, error)
func (*EventBridgeMock) RemoveTargets ¶ added in v1.3.0
func (m *EventBridgeMock) RemoveTargets(input *eventbridge.RemoveTargetsInput) (*eventbridge.RemoveTargetsOutput, error)
type GlueMock ¶ added in v1.2.0
func (*GlueMock) CreatePartition ¶ added in v1.2.0
func (m *GlueMock) CreatePartition(input *glue.CreatePartitionInput) (*glue.CreatePartitionOutput, error)
func (*GlueMock) CreateTable ¶ added in v1.4.0
func (m *GlueMock) CreateTable(input *glue.CreateTableInput) (*glue.CreateTableOutput, error)
func (*GlueMock) DeleteTable ¶ added in v1.2.0
func (m *GlueMock) DeleteTable(input *glue.DeleteTableInput) (*glue.DeleteTableOutput, error)
func (*GlueMock) GetPartition ¶ added in v1.2.0
func (m *GlueMock) GetPartition(input *glue.GetPartitionInput) (*glue.GetPartitionOutput, error)
func (*GlueMock) GetPartitions ¶ added in v1.3.0
func (m *GlueMock) GetPartitions(input *glue.GetPartitionsInput) (*glue.GetPartitionsOutput, error)
func (*GlueMock) GetTable ¶ added in v1.2.0
func (m *GlueMock) GetTable(input *glue.GetTableInput) (*glue.GetTableOutput, error)
func (*GlueMock) UpdatePartition ¶ added in v1.2.0
func (m *GlueMock) UpdatePartition(input *glue.UpdatePartitionInput) (*glue.UpdatePartitionOutput, error)
type LambdaMock ¶ added in v1.0.0
type LambdaMock struct { lambdaiface.LambdaAPI mock.Mock }
func (*LambdaMock) Invoke ¶ added in v1.0.0
func (m *LambdaMock) Invoke(input *lambda.InvokeInput) (*lambda.InvokeOutput, error)
type S3Mock ¶ added in v1.0.0
func (*S3Mock) GetBucketLocation ¶ added in v1.0.0
func (m *S3Mock) GetBucketLocation(input *s3.GetBucketLocationInput) (*s3.GetBucketLocationOutput, error)
func (*S3Mock) GetObject ¶ added in v1.0.0
func (m *S3Mock) GetObject(input *s3.GetObjectInput) (*s3.GetObjectOutput, error)
func (*S3Mock) ListObjectsV2Pages ¶ added in v1.3.0
func (m *S3Mock) ListObjectsV2Pages(input *s3.ListObjectsV2Input, f func(page *s3.ListObjectsV2Output, morePages bool) bool) error
type S3UploaderMock ¶ added in v1.3.0
type S3UploaderMock struct { s3manageriface.UploaderAPI mock.Mock }
func (*S3UploaderMock) Upload ¶ added in v1.3.0
func (m *S3UploaderMock) Upload(input *s3manager.UploadInput, f ...func(*s3manager.Uploader)) (*s3manager.UploadOutput, error)
type SnsMock ¶ added in v1.5.0
func (*SnsMock) Publish ¶ added in v1.5.0
func (m *SnsMock) Publish(input *sns.PublishInput) (*sns.PublishOutput, error)
type SqsMock ¶ added in v1.1.0
func (*SqsMock) DeleteMessageBatch ¶ added in v1.2.0
func (m *SqsMock) DeleteMessageBatch(input *sqs.DeleteMessageBatchInput) (*sqs.DeleteMessageBatchOutput, error)
func (*SqsMock) GetQueueAttributes ¶ added in v1.2.0
func (m *SqsMock) GetQueueAttributes(input *sqs.GetQueueAttributesInput) (*sqs.GetQueueAttributesOutput, error)
func (*SqsMock) ReceiveMessage ¶ added in v1.2.0
func (m *SqsMock) ReceiveMessage(input *sqs.ReceiveMessageInput) (*sqs.ReceiveMessageOutput, error)
func (*SqsMock) SendMessage ¶ added in v1.1.0
func (m *SqsMock) SendMessage(input *sqs.SendMessageInput) (*sqs.SendMessageOutput, error)
func (*SqsMock) SendMessageBatch ¶ added in v1.2.0
func (m *SqsMock) SendMessageBatch(input *sqs.SendMessageBatchInput) (*sqs.SendMessageBatchOutput, error)
func (*SqsMock) SetQueueAttributes ¶ added in v1.3.0
func (m *SqsMock) SetQueueAttributes(input *sqs.SetQueueAttributesInput) (*sqs.SetQueueAttributesOutput, error)
Click to show internal directories.
Click to hide internal directories.