Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeGCSClient
- func (fake *FakeGCSClient) BucketObjects(bucketName string, prefix string) ([]string, error)
- func (fake *FakeGCSClient) BucketObjectsArgsForCall(i int) (string, string)
- func (fake *FakeGCSClient) BucketObjectsCallCount() int
- func (fake *FakeGCSClient) BucketObjectsReturns(result1 []string, result2 error)
- func (fake *FakeGCSClient) BucketObjectsReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakeGCSClient) DeleteObject(bucketName string, objectPath string, generation int64) error
- func (fake *FakeGCSClient) DeleteObjectArgsForCall(i int) (string, string, int64)
- func (fake *FakeGCSClient) DeleteObjectCallCount() int
- func (fake *FakeGCSClient) DeleteObjectReturns(result1 error)
- func (fake *FakeGCSClient) DeleteObjectReturnsOnCall(i int, result1 error)
- func (fake *FakeGCSClient) DownloadFile(bucketName string, objectPath string, generation int64, localPath string) error
- func (fake *FakeGCSClient) DownloadFileArgsForCall(i int) (string, string, int64, string)
- func (fake *FakeGCSClient) DownloadFileCallCount() int
- func (fake *FakeGCSClient) DownloadFileReturns(result1 error)
- func (fake *FakeGCSClient) DownloadFileReturnsOnCall(i int, result1 error)
- func (fake *FakeGCSClient) GetBucketObjectInfo(bucketName string, objectPath string) (*storage.Object, error)
- func (fake *FakeGCSClient) GetBucketObjectInfoArgsForCall(i int) (string, string)
- func (fake *FakeGCSClient) GetBucketObjectInfoCallCount() int
- func (fake *FakeGCSClient) GetBucketObjectInfoReturns(result1 *storage.Object, result2 error)
- func (fake *FakeGCSClient) GetBucketObjectInfoReturnsOnCall(i int, result1 *storage.Object, result2 error)
- func (fake *FakeGCSClient) Invocations() map[string][][]interface{}
- func (fake *FakeGCSClient) ObjectGenerations(bucketName string, objectPath string) ([]int64, error)
- func (fake *FakeGCSClient) ObjectGenerationsArgsForCall(i int) (string, string)
- func (fake *FakeGCSClient) ObjectGenerationsCallCount() int
- func (fake *FakeGCSClient) ObjectGenerationsReturns(result1 []int64, result2 error)
- func (fake *FakeGCSClient) ObjectGenerationsReturnsOnCall(i int, result1 []int64, result2 error)
- func (fake *FakeGCSClient) URL(bucketName string, objectPath string, generation int64) (string, error)
- func (fake *FakeGCSClient) URLArgsForCall(i int) (string, string, int64)
- func (fake *FakeGCSClient) URLCallCount() int
- func (fake *FakeGCSClient) URLReturns(result1 string, result2 error)
- func (fake *FakeGCSClient) URLReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeGCSClient) UploadFile(bucketName string, objectPath string, objectContentType string, ...) (int64, error)
- func (fake *FakeGCSClient) UploadFileArgsForCall(i int) (string, string, string, string, string, string)
- func (fake *FakeGCSClient) UploadFileCallCount() int
- func (fake *FakeGCSClient) UploadFileReturns(result1 int64, result2 error)
- func (fake *FakeGCSClient) UploadFileReturnsOnCall(i int, result1 int64, result2 error)
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, cacheControl 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 (*FakeGCSClient) DownloadFileArgsForCall ¶
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 (*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) 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 (*FakeGCSClient) UploadFileArgsForCall ¶
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)
Click to show internal directories.
Click to hide internal directories.