fakes

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeGCSClient

type FakeGCSClient struct {
	BucketObjectsStub func(bucketName string, prefix string) ([]string, error)

	ObjectGenerationsStub func(bucketName string, objectPath string) ([]int64, error)

	DownloadFileStub func(bucketName string, objectPath string, generation int64, localPath string) error

	UploadFileStub func(bucketName string, objectPath string, objectContentType string, localPath string, predefinedACL string) (int64, error)

	URLStub func(bucketName string, objectPath string, generation int64) (string, error)

	DeleteObjectStub func(bucketName string, objectPath string, generation int64) error

	GetBucketObjectInfoStub func(bucketName, objectPath string) (*storage.Object, error)
	// contains filtered or unexported fields
}

func (*FakeGCSClient) BucketObjects

func (fake *FakeGCSClient) BucketObjects(bucketName string, prefix string) ([]string, error)

func (*FakeGCSClient) BucketObjectsArgsForCall

func (fake *FakeGCSClient) BucketObjectsArgsForCall(i int) (string, string)

func (*FakeGCSClient) BucketObjectsCallCount

func (fake *FakeGCSClient) BucketObjectsCallCount() int

func (*FakeGCSClient) BucketObjectsReturns

func (fake *FakeGCSClient) BucketObjectsReturns(result1 []string, result2 error)

func (*FakeGCSClient) BucketObjectsReturnsOnCall

func (fake *FakeGCSClient) BucketObjectsReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeGCSClient) DeleteObject

func (fake *FakeGCSClient) DeleteObject(bucketName string, objectPath string, generation int64) error

func (*FakeGCSClient) DeleteObjectArgsForCall

func (fake *FakeGCSClient) DeleteObjectArgsForCall(i int) (string, string, int64)

func (*FakeGCSClient) DeleteObjectCallCount

func (fake *FakeGCSClient) DeleteObjectCallCount() int

func (*FakeGCSClient) DeleteObjectReturns

func (fake *FakeGCSClient) DeleteObjectReturns(result1 error)

func (*FakeGCSClient) DeleteObjectReturnsOnCall

func (fake *FakeGCSClient) DeleteObjectReturnsOnCall(i int, result1 error)

func (*FakeGCSClient) DownloadFile

func (fake *FakeGCSClient) DownloadFile(bucketName string, objectPath string, generation int64, localPath string) error

func (*FakeGCSClient) DownloadFileArgsForCall

func (fake *FakeGCSClient) DownloadFileArgsForCall(i int) (string, string, int64, string)

func (*FakeGCSClient) DownloadFileCallCount

func (fake *FakeGCSClient) DownloadFileCallCount() int

func (*FakeGCSClient) DownloadFileReturns

func (fake *FakeGCSClient) DownloadFileReturns(result1 error)

func (*FakeGCSClient) DownloadFileReturnsOnCall

func (fake *FakeGCSClient) DownloadFileReturnsOnCall(i int, result1 error)

func (*FakeGCSClient) GetBucketObjectInfo

func (fake *FakeGCSClient) GetBucketObjectInfo(bucketName string, objectPath string) (*storage.Object, error)

func (*FakeGCSClient) GetBucketObjectInfoArgsForCall

func (fake *FakeGCSClient) GetBucketObjectInfoArgsForCall(i int) (string, string)

func (*FakeGCSClient) GetBucketObjectInfoCallCount

func (fake *FakeGCSClient) GetBucketObjectInfoCallCount() int

func (*FakeGCSClient) GetBucketObjectInfoReturns

func (fake *FakeGCSClient) GetBucketObjectInfoReturns(result1 *storage.Object, result2 error)

func (*FakeGCSClient) GetBucketObjectInfoReturnsOnCall

func (fake *FakeGCSClient) GetBucketObjectInfoReturnsOnCall(i int, result1 *storage.Object, result2 error)

func (*FakeGCSClient) Invocations

func (fake *FakeGCSClient) Invocations() map[string][][]interface{}

func (*FakeGCSClient) ObjectGenerations

func (fake *FakeGCSClient) ObjectGenerations(bucketName string, objectPath string) ([]int64, error)

func (*FakeGCSClient) ObjectGenerationsArgsForCall

func (fake *FakeGCSClient) ObjectGenerationsArgsForCall(i int) (string, string)

func (*FakeGCSClient) ObjectGenerationsCallCount

func (fake *FakeGCSClient) ObjectGenerationsCallCount() int

func (*FakeGCSClient) ObjectGenerationsReturns

func (fake *FakeGCSClient) ObjectGenerationsReturns(result1 []int64, result2 error)

func (*FakeGCSClient) ObjectGenerationsReturnsOnCall

func (fake *FakeGCSClient) ObjectGenerationsReturnsOnCall(i int, result1 []int64, result2 error)

func (*FakeGCSClient) URL

func (fake *FakeGCSClient) URL(bucketName string, objectPath string, generation int64) (string, error)

func (*FakeGCSClient) URLArgsForCall

func (fake *FakeGCSClient) URLArgsForCall(i int) (string, string, int64)

func (*FakeGCSClient) URLCallCount

func (fake *FakeGCSClient) URLCallCount() int

func (*FakeGCSClient) URLReturns

func (fake *FakeGCSClient) URLReturns(result1 string, result2 error)

func (*FakeGCSClient) URLReturnsOnCall

func (fake *FakeGCSClient) URLReturnsOnCall(i int, result1 string, result2 error)

func (*FakeGCSClient) UploadFile

func (fake *FakeGCSClient) UploadFile(bucketName string, objectPath string, objectContentType string, localPath string, predefinedACL string) (int64, error)

func (*FakeGCSClient) UploadFileArgsForCall

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

func (*FakeGCSClient) UploadFileCallCount

func (fake *FakeGCSClient) UploadFileCallCount() int

func (*FakeGCSClient) UploadFileReturns

func (fake *FakeGCSClient) UploadFileReturns(result1 int64, result2 error)

func (*FakeGCSClient) UploadFileReturnsOnCall

func (fake *FakeGCSClient) UploadFileReturnsOnCall(i int, result1 int64, result2 error)

Jump to

Keyboard shortcuts

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