Documentation ¶
Index ¶
- Constants
- func Bool(v bool) *bool
- func Time(t time.Time) *time.Time
- type HTTPClientMock
- type MockExporter
- type S3ManagerMock
- func (s *S3ManagerMock) Download(at io.WriterAt, input *s3.GetObjectInput, f ...func(*s3manager.Downloader)) (int64, error)
- func (s *S3ManagerMock) DownloadWithContext(context aws.Context, at io.WriterAt, input *s3.GetObjectInput, ...) (int64, error)
- func (s *S3ManagerMock) GetFile(key string) (string, error)
- func (s *S3ManagerMock) Upload(uploadInput *s3manager.UploadInput, funC ...func(*s3manager.Uploader)) (*s3manager.UploadOutput, error)
- func (s *S3ManagerMock) UploadWithContext(context aws.Context, uploadInput *s3manager.UploadInput, ...) (*s3manager.UploadOutput, error)
Constants ¶
View Source
const RFC3339Regex = "" // nolint:lll /* 161-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HTTPClientMock ¶ added in v0.13.0
type MockExporter ¶
type MockExporter struct { ExportedEvents []exporter.FeatureEvent Err error ExpectedNumberErr int CurrentNumberErr int Bulk bool // contains filtered or unexported fields }
func (*MockExporter) Export ¶
func (m *MockExporter) Export(logger *log.Logger, events []exporter.FeatureEvent) error
func (*MockExporter) GetExportedEvents ¶
func (m *MockExporter) GetExportedEvents() []exporter.FeatureEvent
func (*MockExporter) IsBulk ¶ added in v0.11.0
func (m *MockExporter) IsBulk() bool
type S3ManagerMock ¶ added in v0.12.0
func (*S3ManagerMock) Download ¶ added in v0.12.0
func (s *S3ManagerMock) Download(at io.WriterAt, input *s3.GetObjectInput, f ...func(*s3manager.Downloader)) (int64, error)
func (*S3ManagerMock) DownloadWithContext ¶ added in v0.12.0
func (s *S3ManagerMock) DownloadWithContext(context aws.Context, at io.WriterAt, input *s3.GetObjectInput, f ...func(*s3manager.Downloader)) (int64, error)
func (*S3ManagerMock) GetFile ¶ added in v0.12.0
func (s *S3ManagerMock) GetFile(key string) (string, error)
func (*S3ManagerMock) Upload ¶ added in v0.12.0
func (s *S3ManagerMock) Upload(uploadInput *s3manager.UploadInput, funC ...func(*s3manager.Uploader)) (*s3manager.UploadOutput, error)
func (*S3ManagerMock) UploadWithContext ¶ added in v0.12.0
func (s *S3ManagerMock) UploadWithContext(context aws.Context, uploadInput *s3manager.UploadInput, funC ...func(*s3manager.Uploader)) (*s3manager.UploadOutput, error)
Click to show internal directories.
Click to hide internal directories.