mock

package
v0.0.0-...-98a7958 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DescribeStreamFunc

type DescribeStreamFunc func(input *kinesis.DescribeStreamInput) (*kinesis.DescribeStreamOutput, error)

type FirehoseMock

type FirehoseMock struct {
	firehoseiface.FirehoseAPI

	PutRecordBatchFunc                PutRecordBatchFunc
	PutRecordBatchFuncInvoked         bool
	DescribeDeliveryStreamFunc        DescribeDeliveryStreamFunc
	DescribeDeliveryStreamFuncInvoked bool
}

func (*FirehoseMock) DescribeDeliveryStream

func (*FirehoseMock) PutRecordBatch

type KinesisMock

type KinesisMock struct {
	kinesisiface.KinesisAPI

	PutRecordsFunc            PutRecordsFunc
	PutRecordsFuncInvoked     bool
	DescribeStreamFunc        DescribeStreamFunc
	DescribeStreamFuncInvoked bool
}

func (*KinesisMock) DescribeStream

func (*KinesisMock) PutRecords

type PutRecordsFunc

type PutRecordsFunc func(*kinesis.PutRecordsInput) (*kinesis.PutRecordsOutput, error)

Jump to

Keyboard shortcuts

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