fakes

package
v0.0.0-...-d984d7a Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2016 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeS3Client

type FakeS3Client struct {
	BucketFilesStub func(bucketName string, prefixHint string) ([]string, error)

	BucketFileVersionsStub func(bucketName string, remotePath string) ([]string, error)

	UploadFileStub func(bucketName string, remotePath string, localPath string, acl string) (string, error)

	DownloadFileStub func(bucketName string, remotePath string, versionID string, localPath string) error

	DeleteFileStub func(bucketName string, remotePath string) error

	DeleteVersionedFileStub func(bucketName string, remotePath string, versionID string) error

	URLStub func(bucketName string, remotePath string, private bool, versionID string) string
	// contains filtered or unexported fields
}

func (*FakeS3Client) BucketFileVersions

func (fake *FakeS3Client) BucketFileVersions(bucketName string, remotePath string) ([]string, error)

func (*FakeS3Client) BucketFileVersionsArgsForCall

func (fake *FakeS3Client) BucketFileVersionsArgsForCall(i int) (string, string)

func (*FakeS3Client) BucketFileVersionsCallCount

func (fake *FakeS3Client) BucketFileVersionsCallCount() int

func (*FakeS3Client) BucketFileVersionsReturns

func (fake *FakeS3Client) BucketFileVersionsReturns(result1 []string, result2 error)

func (*FakeS3Client) BucketFiles

func (fake *FakeS3Client) BucketFiles(bucketName string, prefixHint string) ([]string, error)

func (*FakeS3Client) BucketFilesArgsForCall

func (fake *FakeS3Client) BucketFilesArgsForCall(i int) (string, string)

func (*FakeS3Client) BucketFilesCallCount

func (fake *FakeS3Client) BucketFilesCallCount() int

func (*FakeS3Client) BucketFilesReturns

func (fake *FakeS3Client) BucketFilesReturns(result1 []string, result2 error)

func (*FakeS3Client) DeleteFile

func (fake *FakeS3Client) DeleteFile(bucketName string, remotePath string) error

func (*FakeS3Client) DeleteFileArgsForCall

func (fake *FakeS3Client) DeleteFileArgsForCall(i int) (string, string)

func (*FakeS3Client) DeleteFileCallCount

func (fake *FakeS3Client) DeleteFileCallCount() int

func (*FakeS3Client) DeleteFileReturns

func (fake *FakeS3Client) DeleteFileReturns(result1 error)

func (*FakeS3Client) DeleteVersionedFile

func (fake *FakeS3Client) DeleteVersionedFile(bucketName string, remotePath string, versionID string) error

func (*FakeS3Client) DeleteVersionedFileArgsForCall

func (fake *FakeS3Client) DeleteVersionedFileArgsForCall(i int) (string, string, string)

func (*FakeS3Client) DeleteVersionedFileCallCount

func (fake *FakeS3Client) DeleteVersionedFileCallCount() int

func (*FakeS3Client) DeleteVersionedFileReturns

func (fake *FakeS3Client) DeleteVersionedFileReturns(result1 error)

func (*FakeS3Client) DownloadFile

func (fake *FakeS3Client) DownloadFile(bucketName string, remotePath string, versionID string, localPath string) error

func (*FakeS3Client) DownloadFileArgsForCall

func (fake *FakeS3Client) DownloadFileArgsForCall(i int) (string, string, string, string)

func (*FakeS3Client) DownloadFileCallCount

func (fake *FakeS3Client) DownloadFileCallCount() int

func (*FakeS3Client) DownloadFileReturns

func (fake *FakeS3Client) DownloadFileReturns(result1 error)

func (*FakeS3Client) URL

func (fake *FakeS3Client) URL(bucketName string, remotePath string, private bool, versionID string) string

func (*FakeS3Client) URLArgsForCall

func (fake *FakeS3Client) URLArgsForCall(i int) (string, string, bool, string)

func (*FakeS3Client) URLCallCount

func (fake *FakeS3Client) URLCallCount() int

func (*FakeS3Client) URLReturns

func (fake *FakeS3Client) URLReturns(result1 string)

func (*FakeS3Client) UploadFile

func (fake *FakeS3Client) UploadFile(bucketName string, remotePath string, localPath string, acl string) (string, error)

func (*FakeS3Client) UploadFileArgsForCall

func (fake *FakeS3Client) UploadFileArgsForCall(i int) (string, string, string, string)

func (*FakeS3Client) UploadFileCallCount

func (fake *FakeS3Client) UploadFileCallCount() int

func (*FakeS3Client) UploadFileReturns

func (fake *FakeS3Client) UploadFileReturns(result1 string, result2 error)

Jump to

Keyboard shortcuts

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