(input *s3.ListObjectsInput)
| 119 | } |
| 120 | |
| 121 | func (s *s3Mock) ListObjects(input *s3.ListObjectsInput) (*s3.ListObjectsOutput, error) { |
| 122 | return &s3.ListObjectsOutput{ |
| 123 | Contents: []*s3.Object{ |
| 124 | { |
| 125 | Key: aws.String("foobar"), |
| 126 | LastModified: new(time.Time), |
| 127 | }, |
| 128 | }, |
| 129 | IsTruncated: aws.Bool(input.Marker == nil), |
| 130 | }, nil |
| 131 | } |
| 132 | |
| 133 | func (s *s3Mock) DeleteObjects(input *s3.DeleteObjectsInput) (*s3.DeleteObjectsOutput, error) { |
| 134 | s.deleted = true |