Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeACLHandle
- func (fake *FakeACLHandle) Delete(arg1 context.Context, arg2 storagea.ACLEntity) error
- func (fake *FakeACLHandle) DeleteArgsForCall(i int) (context.Context, storagea.ACLEntity)
- func (fake *FakeACLHandle) DeleteCallCount() int
- func (fake *FakeACLHandle) DeleteCalls(stub func(context.Context, storagea.ACLEntity) error)
- func (fake *FakeACLHandle) DeleteReturns(result1 error)
- func (fake *FakeACLHandle) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeACLHandle) Invocations() map[string][][]interface{}
- func (fake *FakeACLHandle) List(arg1 context.Context) ([]storagea.ACLRule, error)
- func (fake *FakeACLHandle) ListArgsForCall(i int) context.Context
- func (fake *FakeACLHandle) ListCallCount() int
- func (fake *FakeACLHandle) ListCalls(stub func(context.Context) ([]storagea.ACLRule, error))
- func (fake *FakeACLHandle) ListReturns(result1 []storagea.ACLRule, result2 error)
- func (fake *FakeACLHandle) ListReturnsOnCall(i int, result1 []storagea.ACLRule, result2 error)
- func (fake *FakeACLHandle) Set(arg1 context.Context, arg2 storagea.ACLEntity, arg3 storagea.ACLRole) error
- func (fake *FakeACLHandle) SetArgsForCall(i int) (context.Context, storagea.ACLEntity, storagea.ACLRole)
- func (fake *FakeACLHandle) SetCallCount() int
- func (fake *FakeACLHandle) SetCalls(stub func(context.Context, storagea.ACLEntity, storagea.ACLRole) error)
- func (fake *FakeACLHandle) SetReturns(result1 error)
- func (fake *FakeACLHandle) SetReturnsOnCall(i int, result1 error)
- type FakeBucketHandle
- func (fake *FakeBucketHandle) ACL() storage.ACLHandle
- func (fake *FakeBucketHandle) ACLCallCount() int
- func (fake *FakeBucketHandle) ACLCalls(stub func() storage.ACLHandle)
- func (fake *FakeBucketHandle) ACLReturns(result1 storage.ACLHandle)
- func (fake *FakeBucketHandle) ACLReturnsOnCall(i int, result1 storage.ACLHandle)
- func (fake *FakeBucketHandle) AddNotification(arg1 context.Context, arg2 *storagea.Notification) (*storagea.Notification, error)
- func (fake *FakeBucketHandle) AddNotificationArgsForCall(i int) (context.Context, *storagea.Notification)
- func (fake *FakeBucketHandle) AddNotificationCallCount() int
- func (fake *FakeBucketHandle) AddNotificationCalls(...)
- func (fake *FakeBucketHandle) AddNotificationReturns(result1 *storagea.Notification, result2 error)
- func (fake *FakeBucketHandle) AddNotificationReturnsOnCall(i int, result1 *storagea.Notification, result2 error)
- func (fake *FakeBucketHandle) Attrs(arg1 context.Context) (*storagea.BucketAttrs, error)
- func (fake *FakeBucketHandle) AttrsArgsForCall(i int) context.Context
- func (fake *FakeBucketHandle) AttrsCallCount() int
- func (fake *FakeBucketHandle) AttrsCalls(stub func(context.Context) (*storagea.BucketAttrs, error))
- func (fake *FakeBucketHandle) AttrsReturns(result1 *storagea.BucketAttrs, result2 error)
- func (fake *FakeBucketHandle) AttrsReturnsOnCall(i int, result1 *storagea.BucketAttrs, result2 error)
- func (fake *FakeBucketHandle) Create(arg1 context.Context, arg2 string, arg3 *storagea.BucketAttrs) error
- func (fake *FakeBucketHandle) CreateArgsForCall(i int) (context.Context, string, *storagea.BucketAttrs)
- func (fake *FakeBucketHandle) CreateCallCount() int
- func (fake *FakeBucketHandle) CreateCalls(stub func(context.Context, string, *storagea.BucketAttrs) error)
- func (fake *FakeBucketHandle) CreateReturns(result1 error)
- func (fake *FakeBucketHandle) CreateReturnsOnCall(i int, result1 error)
- func (fake *FakeBucketHandle) DefaultObjectACL() storage.ACLHandle
- func (fake *FakeBucketHandle) DefaultObjectACLCallCount() int
- func (fake *FakeBucketHandle) DefaultObjectACLCalls(stub func() storage.ACLHandle)
- func (fake *FakeBucketHandle) DefaultObjectACLReturns(result1 storage.ACLHandle)
- func (fake *FakeBucketHandle) DefaultObjectACLReturnsOnCall(i int, result1 storage.ACLHandle)
- func (fake *FakeBucketHandle) Delete(arg1 context.Context) error
- func (fake *FakeBucketHandle) DeleteArgsForCall(i int) context.Context
- func (fake *FakeBucketHandle) DeleteCallCount() int
- func (fake *FakeBucketHandle) DeleteCalls(stub func(context.Context) error)
- func (fake *FakeBucketHandle) DeleteNotification(arg1 context.Context, arg2 string) error
- func (fake *FakeBucketHandle) DeleteNotificationArgsForCall(i int) (context.Context, string)
- func (fake *FakeBucketHandle) DeleteNotificationCallCount() int
- func (fake *FakeBucketHandle) DeleteNotificationCalls(stub func(context.Context, string) error)
- func (fake *FakeBucketHandle) DeleteNotificationReturns(result1 error)
- func (fake *FakeBucketHandle) DeleteNotificationReturnsOnCall(i int, result1 error)
- func (fake *FakeBucketHandle) DeleteReturns(result1 error)
- func (fake *FakeBucketHandle) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeBucketHandle) IAM() *iam.Handle
- func (fake *FakeBucketHandle) IAMCallCount() int
- func (fake *FakeBucketHandle) IAMCalls(stub func() *iam.Handle)
- func (fake *FakeBucketHandle) IAMReturns(result1 *iam.Handle)
- func (fake *FakeBucketHandle) IAMReturnsOnCall(i int, result1 *iam.Handle)
- func (fake *FakeBucketHandle) If(arg1 storagea.BucketConditions) storage.BucketHandle
- func (fake *FakeBucketHandle) IfArgsForCall(i int) storagea.BucketConditions
- func (fake *FakeBucketHandle) IfCallCount() int
- func (fake *FakeBucketHandle) IfCalls(stub func(storagea.BucketConditions) storage.BucketHandle)
- func (fake *FakeBucketHandle) IfReturns(result1 storage.BucketHandle)
- func (fake *FakeBucketHandle) IfReturnsOnCall(i int, result1 storage.BucketHandle)
- func (fake *FakeBucketHandle) Invocations() map[string][][]interface{}
- func (fake *FakeBucketHandle) LockRetentionPolicy(arg1 context.Context) error
- func (fake *FakeBucketHandle) LockRetentionPolicyArgsForCall(i int) context.Context
- func (fake *FakeBucketHandle) LockRetentionPolicyCallCount() int
- func (fake *FakeBucketHandle) LockRetentionPolicyCalls(stub func(context.Context) error)
- func (fake *FakeBucketHandle) LockRetentionPolicyReturns(result1 error)
- func (fake *FakeBucketHandle) LockRetentionPolicyReturnsOnCall(i int, result1 error)
- func (fake *FakeBucketHandle) Notifications(arg1 context.Context) (map[string]*storagea.Notification, error)
- func (fake *FakeBucketHandle) NotificationsArgsForCall(i int) context.Context
- func (fake *FakeBucketHandle) NotificationsCallCount() int
- func (fake *FakeBucketHandle) NotificationsCalls(stub func(context.Context) (map[string]*storagea.Notification, error))
- func (fake *FakeBucketHandle) NotificationsReturns(result1 map[string]*storagea.Notification, result2 error)
- func (fake *FakeBucketHandle) NotificationsReturnsOnCall(i int, result1 map[string]*storagea.Notification, result2 error)
- func (fake *FakeBucketHandle) Object(arg1 string) storage.ObjectHandle
- func (fake *FakeBucketHandle) ObjectArgsForCall(i int) string
- func (fake *FakeBucketHandle) ObjectCallCount() int
- func (fake *FakeBucketHandle) ObjectCalls(stub func(string) storage.ObjectHandle)
- func (fake *FakeBucketHandle) ObjectReturns(result1 storage.ObjectHandle)
- func (fake *FakeBucketHandle) ObjectReturnsOnCall(i int, result1 storage.ObjectHandle)
- func (fake *FakeBucketHandle) Objects(arg1 context.Context, arg2 *storagea.Query) storage.ObjectIterator
- func (fake *FakeBucketHandle) ObjectsArgsForCall(i int) (context.Context, *storagea.Query)
- func (fake *FakeBucketHandle) ObjectsCallCount() int
- func (fake *FakeBucketHandle) ObjectsCalls(stub func(context.Context, *storagea.Query) storage.ObjectIterator)
- func (fake *FakeBucketHandle) ObjectsReturns(result1 storage.ObjectIterator)
- func (fake *FakeBucketHandle) ObjectsReturnsOnCall(i int, result1 storage.ObjectIterator)
- func (fake *FakeBucketHandle) Update(arg1 context.Context, arg2 storagea.BucketAttrsToUpdate) (*storagea.BucketAttrs, error)
- func (fake *FakeBucketHandle) UpdateArgsForCall(i int) (context.Context, storagea.BucketAttrsToUpdate)
- func (fake *FakeBucketHandle) UpdateCallCount() int
- func (fake *FakeBucketHandle) UpdateCalls(...)
- func (fake *FakeBucketHandle) UpdateReturns(result1 *storagea.BucketAttrs, result2 error)
- func (fake *FakeBucketHandle) UpdateReturnsOnCall(i int, result1 *storagea.BucketAttrs, result2 error)
- func (fake *FakeBucketHandle) UserProject(arg1 string) storage.BucketHandle
- func (fake *FakeBucketHandle) UserProjectArgsForCall(i int) string
- func (fake *FakeBucketHandle) UserProjectCallCount() int
- func (fake *FakeBucketHandle) UserProjectCalls(stub func(string) storage.BucketHandle)
- func (fake *FakeBucketHandle) UserProjectReturns(result1 storage.BucketHandle)
- func (fake *FakeBucketHandle) UserProjectReturnsOnCall(i int, result1 storage.BucketHandle)
- type FakeBucketIterator
- func (fake *FakeBucketIterator) Invocations() map[string][][]interface{}
- func (fake *FakeBucketIterator) Next() (*storagea.BucketAttrs, error)
- func (fake *FakeBucketIterator) NextCallCount() int
- func (fake *FakeBucketIterator) NextCalls(stub func() (*storagea.BucketAttrs, error))
- func (fake *FakeBucketIterator) NextReturns(result1 *storagea.BucketAttrs, result2 error)
- func (fake *FakeBucketIterator) NextReturnsOnCall(i int, result1 *storagea.BucketAttrs, result2 error)
- func (fake *FakeBucketIterator) PageInfo() *iterator.PageInfo
- func (fake *FakeBucketIterator) PageInfoCallCount() int
- func (fake *FakeBucketIterator) PageInfoCalls(stub func() *iterator.PageInfo)
- func (fake *FakeBucketIterator) PageInfoReturns(result1 *iterator.PageInfo)
- func (fake *FakeBucketIterator) PageInfoReturnsOnCall(i int, result1 *iterator.PageInfo)
- func (fake *FakeBucketIterator) SetPrefix(arg1 string)
- func (fake *FakeBucketIterator) SetPrefixArgsForCall(i int) string
- func (fake *FakeBucketIterator) SetPrefixCallCount() int
- func (fake *FakeBucketIterator) SetPrefixCalls(stub func(string))
- type FakeClient
- func (fake *FakeClient) Bucket(arg1 string) storage.BucketHandle
- func (fake *FakeClient) BucketArgsForCall(i int) string
- func (fake *FakeClient) BucketCallCount() int
- func (fake *FakeClient) BucketCalls(stub func(string) storage.BucketHandle)
- func (fake *FakeClient) BucketReturns(result1 storage.BucketHandle)
- func (fake *FakeClient) BucketReturnsOnCall(i int, result1 storage.BucketHandle)
- func (fake *FakeClient) Buckets(arg1 context.Context, arg2 string) storage.BucketIterator
- func (fake *FakeClient) BucketsArgsForCall(i int) (context.Context, string)
- func (fake *FakeClient) BucketsCallCount() int
- func (fake *FakeClient) BucketsCalls(stub func(context.Context, string) storage.BucketIterator)
- func (fake *FakeClient) BucketsReturns(result1 storage.BucketIterator)
- func (fake *FakeClient) BucketsReturnsOnCall(i int, result1 storage.BucketIterator)
- func (fake *FakeClient) Close() error
- func (fake *FakeClient) CloseCallCount() int
- func (fake *FakeClient) CloseCalls(stub func() error)
- func (fake *FakeClient) CloseReturns(result1 error)
- func (fake *FakeClient) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) Invocations() map[string][][]interface{}
- type FakeComposer
- func (fake *FakeComposer) Invocations() map[string][][]interface{}
- func (fake *FakeComposer) ObjectAttrs() *storagea.ObjectAttrs
- func (fake *FakeComposer) ObjectAttrsCallCount() int
- func (fake *FakeComposer) ObjectAttrsCalls(stub func() *storagea.ObjectAttrs)
- func (fake *FakeComposer) ObjectAttrsReturns(result1 *storagea.ObjectAttrs)
- func (fake *FakeComposer) ObjectAttrsReturnsOnCall(i int, result1 *storagea.ObjectAttrs)
- func (fake *FakeComposer) Run(arg1 context.Context) (*storagea.ObjectAttrs, error)
- func (fake *FakeComposer) RunArgsForCall(i int) context.Context
- func (fake *FakeComposer) RunCallCount() int
- func (fake *FakeComposer) RunCalls(stub func(context.Context) (*storagea.ObjectAttrs, error))
- func (fake *FakeComposer) RunReturns(result1 *storagea.ObjectAttrs, result2 error)
- func (fake *FakeComposer) RunReturnsOnCall(i int, result1 *storagea.ObjectAttrs, result2 error)
- type FakeCopier
- func (fake *FakeCopier) Invocations() map[string][][]interface{}
- func (fake *FakeCopier) ObjectAttrs() *storagea.ObjectAttrs
- func (fake *FakeCopier) ObjectAttrsCallCount() int
- func (fake *FakeCopier) ObjectAttrsCalls(stub func() *storagea.ObjectAttrs)
- func (fake *FakeCopier) ObjectAttrsReturns(result1 *storagea.ObjectAttrs)
- func (fake *FakeCopier) ObjectAttrsReturnsOnCall(i int, result1 *storagea.ObjectAttrs)
- func (fake *FakeCopier) Run(arg1 context.Context) (*storagea.ObjectAttrs, error)
- func (fake *FakeCopier) RunArgsForCall(i int) context.Context
- func (fake *FakeCopier) RunCallCount() int
- func (fake *FakeCopier) RunCalls(stub func(context.Context) (*storagea.ObjectAttrs, error))
- func (fake *FakeCopier) RunReturns(result1 *storagea.ObjectAttrs, result2 error)
- func (fake *FakeCopier) RunReturnsOnCall(i int, result1 *storagea.ObjectAttrs, result2 error)
- func (fake *FakeCopier) SetDestinationKMSKeyName(arg1 string)
- func (fake *FakeCopier) SetDestinationKMSKeyNameArgsForCall(i int) string
- func (fake *FakeCopier) SetDestinationKMSKeyNameCallCount() int
- func (fake *FakeCopier) SetDestinationKMSKeyNameCalls(stub func(string))
- func (fake *FakeCopier) SetProgressFunc(arg1 func(uint64, uint64))
- func (fake *FakeCopier) SetProgressFuncArgsForCall(i int) func(uint64, uint64)
- func (fake *FakeCopier) SetProgressFuncCallCount() int
- func (fake *FakeCopier) SetProgressFuncCalls(stub func(func(uint64, uint64)))
- func (fake *FakeCopier) SetRewriteToken(arg1 string)
- func (fake *FakeCopier) SetRewriteTokenArgsForCall(i int) string
- func (fake *FakeCopier) SetRewriteTokenCallCount() int
- func (fake *FakeCopier) SetRewriteTokenCalls(stub func(string))
- type FakeObjectHandle
- func (fake *FakeObjectHandle) ACL() storage.ACLHandle
- func (fake *FakeObjectHandle) ACLCallCount() int
- func (fake *FakeObjectHandle) ACLCalls(stub func() storage.ACLHandle)
- func (fake *FakeObjectHandle) ACLReturns(result1 storage.ACLHandle)
- func (fake *FakeObjectHandle) ACLReturnsOnCall(i int, result1 storage.ACLHandle)
- func (fake *FakeObjectHandle) Attrs(arg1 context.Context) (*storagea.ObjectAttrs, error)
- func (fake *FakeObjectHandle) AttrsArgsForCall(i int) context.Context
- func (fake *FakeObjectHandle) AttrsCallCount() int
- func (fake *FakeObjectHandle) AttrsCalls(stub func(context.Context) (*storagea.ObjectAttrs, error))
- func (fake *FakeObjectHandle) AttrsReturns(result1 *storagea.ObjectAttrs, result2 error)
- func (fake *FakeObjectHandle) AttrsReturnsOnCall(i int, result1 *storagea.ObjectAttrs, result2 error)
- func (fake *FakeObjectHandle) ComposerFrom(arg1 ...storage.ObjectHandle) storage.Composer
- func (fake *FakeObjectHandle) ComposerFromArgsForCall(i int) []storage.ObjectHandle
- func (fake *FakeObjectHandle) ComposerFromCallCount() int
- func (fake *FakeObjectHandle) ComposerFromCalls(stub func(...storage.ObjectHandle) storage.Composer)
- func (fake *FakeObjectHandle) ComposerFromReturns(result1 storage.Composer)
- func (fake *FakeObjectHandle) ComposerFromReturnsOnCall(i int, result1 storage.Composer)
- func (fake *FakeObjectHandle) CopierFrom(arg1 storage.ObjectHandle) storage.Copier
- func (fake *FakeObjectHandle) CopierFromArgsForCall(i int) storage.ObjectHandle
- func (fake *FakeObjectHandle) CopierFromCallCount() int
- func (fake *FakeObjectHandle) CopierFromCalls(stub func(storage.ObjectHandle) storage.Copier)
- func (fake *FakeObjectHandle) CopierFromReturns(result1 storage.Copier)
- func (fake *FakeObjectHandle) CopierFromReturnsOnCall(i int, result1 storage.Copier)
- func (fake *FakeObjectHandle) Delete(arg1 context.Context) error
- func (fake *FakeObjectHandle) DeleteArgsForCall(i int) context.Context
- func (fake *FakeObjectHandle) DeleteCallCount() int
- func (fake *FakeObjectHandle) DeleteCalls(stub func(context.Context) error)
- func (fake *FakeObjectHandle) DeleteReturns(result1 error)
- func (fake *FakeObjectHandle) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeObjectHandle) Generation(arg1 int64) storage.ObjectHandle
- func (fake *FakeObjectHandle) GenerationArgsForCall(i int) int64
- func (fake *FakeObjectHandle) GenerationCallCount() int
- func (fake *FakeObjectHandle) GenerationCalls(stub func(int64) storage.ObjectHandle)
- func (fake *FakeObjectHandle) GenerationReturns(result1 storage.ObjectHandle)
- func (fake *FakeObjectHandle) GenerationReturnsOnCall(i int, result1 storage.ObjectHandle)
- func (fake *FakeObjectHandle) If(arg1 storagea.Conditions) storage.ObjectHandle
- func (fake *FakeObjectHandle) IfArgsForCall(i int) storagea.Conditions
- func (fake *FakeObjectHandle) IfCallCount() int
- func (fake *FakeObjectHandle) IfCalls(stub func(storagea.Conditions) storage.ObjectHandle)
- func (fake *FakeObjectHandle) IfReturns(result1 storage.ObjectHandle)
- func (fake *FakeObjectHandle) IfReturnsOnCall(i int, result1 storage.ObjectHandle)
- func (fake *FakeObjectHandle) Invocations() map[string][][]interface{}
- func (fake *FakeObjectHandle) Key(arg1 []byte) storage.ObjectHandle
- func (fake *FakeObjectHandle) KeyArgsForCall(i int) []byte
- func (fake *FakeObjectHandle) KeyCallCount() int
- func (fake *FakeObjectHandle) KeyCalls(stub func([]byte) storage.ObjectHandle)
- func (fake *FakeObjectHandle) KeyReturns(result1 storage.ObjectHandle)
- func (fake *FakeObjectHandle) KeyReturnsOnCall(i int, result1 storage.ObjectHandle)
- func (fake *FakeObjectHandle) NewRangeReader(arg1 context.Context, arg2 int64, arg3 int64) (storage.Reader, error)
- func (fake *FakeObjectHandle) NewRangeReaderArgsForCall(i int) (context.Context, int64, int64)
- func (fake *FakeObjectHandle) NewRangeReaderCallCount() int
- func (fake *FakeObjectHandle) NewRangeReaderCalls(stub func(context.Context, int64, int64) (storage.Reader, error))
- func (fake *FakeObjectHandle) NewRangeReaderReturns(result1 storage.Reader, result2 error)
- func (fake *FakeObjectHandle) NewRangeReaderReturnsOnCall(i int, result1 storage.Reader, result2 error)
- func (fake *FakeObjectHandle) NewReader(arg1 context.Context) (storage.Reader, error)
- func (fake *FakeObjectHandle) NewReaderArgsForCall(i int) context.Context
- func (fake *FakeObjectHandle) NewReaderCallCount() int
- func (fake *FakeObjectHandle) NewReaderCalls(stub func(context.Context) (storage.Reader, error))
- func (fake *FakeObjectHandle) NewReaderReturns(result1 storage.Reader, result2 error)
- func (fake *FakeObjectHandle) NewReaderReturnsOnCall(i int, result1 storage.Reader, result2 error)
- func (fake *FakeObjectHandle) NewWriter(arg1 context.Context) storage.Writer
- func (fake *FakeObjectHandle) NewWriterArgsForCall(i int) context.Context
- func (fake *FakeObjectHandle) NewWriterCallCount() int
- func (fake *FakeObjectHandle) NewWriterCalls(stub func(context.Context) storage.Writer)
- func (fake *FakeObjectHandle) NewWriterReturns(result1 storage.Writer)
- func (fake *FakeObjectHandle) NewWriterReturnsOnCall(i int, result1 storage.Writer)
- func (fake *FakeObjectHandle) ReadCompressed(arg1 bool) storage.ObjectHandle
- func (fake *FakeObjectHandle) ReadCompressedArgsForCall(i int) bool
- func (fake *FakeObjectHandle) ReadCompressedCallCount() int
- func (fake *FakeObjectHandle) ReadCompressedCalls(stub func(bool) storage.ObjectHandle)
- func (fake *FakeObjectHandle) ReadCompressedReturns(result1 storage.ObjectHandle)
- func (fake *FakeObjectHandle) ReadCompressedReturnsOnCall(i int, result1 storage.ObjectHandle)
- func (fake *FakeObjectHandle) Update(arg1 context.Context, arg2 storagea.ObjectAttrsToUpdate) (*storagea.ObjectAttrs, error)
- func (fake *FakeObjectHandle) UpdateArgsForCall(i int) (context.Context, storagea.ObjectAttrsToUpdate)
- func (fake *FakeObjectHandle) UpdateCallCount() int
- func (fake *FakeObjectHandle) UpdateCalls(...)
- func (fake *FakeObjectHandle) UpdateReturns(result1 *storagea.ObjectAttrs, result2 error)
- func (fake *FakeObjectHandle) UpdateReturnsOnCall(i int, result1 *storagea.ObjectAttrs, result2 error)
- type FakeObjectIterator
- func (fake *FakeObjectIterator) Invocations() map[string][][]interface{}
- func (fake *FakeObjectIterator) Next() (*storagea.ObjectAttrs, error)
- func (fake *FakeObjectIterator) NextCallCount() int
- func (fake *FakeObjectIterator) NextCalls(stub func() (*storagea.ObjectAttrs, error))
- func (fake *FakeObjectIterator) NextReturns(result1 *storagea.ObjectAttrs, result2 error)
- func (fake *FakeObjectIterator) NextReturnsOnCall(i int, result1 *storagea.ObjectAttrs, result2 error)
- func (fake *FakeObjectIterator) PageInfo() *iterator.PageInfo
- func (fake *FakeObjectIterator) PageInfoCallCount() int
- func (fake *FakeObjectIterator) PageInfoCalls(stub func() *iterator.PageInfo)
- func (fake *FakeObjectIterator) PageInfoReturns(result1 *iterator.PageInfo)
- func (fake *FakeObjectIterator) PageInfoReturnsOnCall(i int, result1 *iterator.PageInfo)
- type FakeReader
- func (fake *FakeReader) CacheControl() string
- func (fake *FakeReader) CacheControlCallCount() int
- func (fake *FakeReader) CacheControlCalls(stub func() string)
- func (fake *FakeReader) CacheControlReturns(result1 string)
- func (fake *FakeReader) CacheControlReturnsOnCall(i int, result1 string)
- func (fake *FakeReader) Close() error
- func (fake *FakeReader) CloseCallCount() int
- func (fake *FakeReader) CloseCalls(stub func() error)
- func (fake *FakeReader) CloseReturns(result1 error)
- func (fake *FakeReader) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeReader) ContentEncoding() string
- func (fake *FakeReader) ContentEncodingCallCount() int
- func (fake *FakeReader) ContentEncodingCalls(stub func() string)
- func (fake *FakeReader) ContentEncodingReturns(result1 string)
- func (fake *FakeReader) ContentEncodingReturnsOnCall(i int, result1 string)
- func (fake *FakeReader) ContentType() string
- func (fake *FakeReader) ContentTypeCallCount() int
- func (fake *FakeReader) ContentTypeCalls(stub func() string)
- func (fake *FakeReader) ContentTypeReturns(result1 string)
- func (fake *FakeReader) ContentTypeReturnsOnCall(i int, result1 string)
- func (fake *FakeReader) Invocations() map[string][][]interface{}
- func (fake *FakeReader) Read(arg1 []byte) (int, error)
- func (fake *FakeReader) ReadArgsForCall(i int) []byte
- func (fake *FakeReader) ReadCallCount() int
- func (fake *FakeReader) ReadCalls(stub func([]byte) (int, error))
- func (fake *FakeReader) ReadReturns(result1 int, result2 error)
- func (fake *FakeReader) ReadReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeReader) Remain() int64
- func (fake *FakeReader) RemainCallCount() int
- func (fake *FakeReader) RemainCalls(stub func() int64)
- func (fake *FakeReader) RemainReturns(result1 int64)
- func (fake *FakeReader) RemainReturnsOnCall(i int, result1 int64)
- func (fake *FakeReader) Size() int64
- func (fake *FakeReader) SizeCallCount() int
- func (fake *FakeReader) SizeCalls(stub func() int64)
- func (fake *FakeReader) SizeReturns(result1 int64)
- func (fake *FakeReader) SizeReturnsOnCall(i int, result1 int64)
- type FakeWriter
- func (fake *FakeWriter) Attrs() *storagea.ObjectAttrs
- func (fake *FakeWriter) AttrsCallCount() int
- func (fake *FakeWriter) AttrsCalls(stub func() *storagea.ObjectAttrs)
- func (fake *FakeWriter) AttrsReturns(result1 *storagea.ObjectAttrs)
- func (fake *FakeWriter) AttrsReturnsOnCall(i int, result1 *storagea.ObjectAttrs)
- func (fake *FakeWriter) Close() error
- func (fake *FakeWriter) CloseCallCount() int
- func (fake *FakeWriter) CloseCalls(stub func() error)
- func (fake *FakeWriter) CloseReturns(result1 error)
- func (fake *FakeWriter) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeWriter) CloseWithError(arg1 error) error
- func (fake *FakeWriter) CloseWithErrorArgsForCall(i int) error
- func (fake *FakeWriter) CloseWithErrorCallCount() int
- func (fake *FakeWriter) CloseWithErrorCalls(stub func(error) error)
- func (fake *FakeWriter) CloseWithErrorReturns(result1 error)
- func (fake *FakeWriter) CloseWithErrorReturnsOnCall(i int, result1 error)
- func (fake *FakeWriter) Invocations() map[string][][]interface{}
- func (fake *FakeWriter) ObjectAttrs() *storagea.ObjectAttrs
- func (fake *FakeWriter) ObjectAttrsCallCount() int
- func (fake *FakeWriter) ObjectAttrsCalls(stub func() *storagea.ObjectAttrs)
- func (fake *FakeWriter) ObjectAttrsReturns(result1 *storagea.ObjectAttrs)
- func (fake *FakeWriter) ObjectAttrsReturnsOnCall(i int, result1 *storagea.ObjectAttrs)
- func (fake *FakeWriter) SetCRC32C(arg1 uint32)
- func (fake *FakeWriter) SetCRC32CArgsForCall(i int) uint32
- func (fake *FakeWriter) SetCRC32CCallCount() int
- func (fake *FakeWriter) SetCRC32CCalls(stub func(uint32))
- func (fake *FakeWriter) SetChunkSize(arg1 int)
- func (fake *FakeWriter) SetChunkSizeArgsForCall(i int) int
- func (fake *FakeWriter) SetChunkSizeCallCount() int
- func (fake *FakeWriter) SetChunkSizeCalls(stub func(int))
- func (fake *FakeWriter) SetProgressFunc(arg1 func(int64))
- func (fake *FakeWriter) SetProgressFuncArgsForCall(i int) func(int64)
- func (fake *FakeWriter) SetProgressFuncCallCount() int
- func (fake *FakeWriter) SetProgressFuncCalls(stub func(func(int64)))
- func (fake *FakeWriter) Write(arg1 []byte) (int, error)
- func (fake *FakeWriter) WriteArgsForCall(i int) []byte
- func (fake *FakeWriter) WriteCallCount() int
- func (fake *FakeWriter) WriteCalls(stub func([]byte) (int, error))
- func (fake *FakeWriter) WriteReturns(result1 int, result2 error)
- func (fake *FakeWriter) WriteReturnsOnCall(i int, result1 int, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeACLHandle ¶
type FakeACLHandle struct { DeleteStub func(context.Context, storagea.ACLEntity) error ListStub func(context.Context) ([]storagea.ACLRule, error) SetStub func(context.Context, storagea.ACLEntity, storagea.ACLRole) error // contains filtered or unexported fields }
func (*FakeACLHandle) DeleteArgsForCall ¶
func (*FakeACLHandle) DeleteCallCount ¶
func (fake *FakeACLHandle) DeleteCallCount() int
func (*FakeACLHandle) DeleteCalls ¶
func (*FakeACLHandle) DeleteReturns ¶
func (fake *FakeACLHandle) DeleteReturns(result1 error)
func (*FakeACLHandle) DeleteReturnsOnCall ¶
func (fake *FakeACLHandle) DeleteReturnsOnCall(i int, result1 error)
func (*FakeACLHandle) Invocations ¶
func (fake *FakeACLHandle) Invocations() map[string][][]interface{}
func (*FakeACLHandle) ListArgsForCall ¶
func (fake *FakeACLHandle) ListArgsForCall(i int) context.Context
func (*FakeACLHandle) ListCallCount ¶
func (fake *FakeACLHandle) ListCallCount() int
func (*FakeACLHandle) ListReturns ¶
func (fake *FakeACLHandle) ListReturns(result1 []storagea.ACLRule, result2 error)
func (*FakeACLHandle) ListReturnsOnCall ¶
func (fake *FakeACLHandle) ListReturnsOnCall(i int, result1 []storagea.ACLRule, result2 error)
func (*FakeACLHandle) SetArgsForCall ¶
func (*FakeACLHandle) SetCallCount ¶
func (fake *FakeACLHandle) SetCallCount() int
func (*FakeACLHandle) SetReturns ¶
func (fake *FakeACLHandle) SetReturns(result1 error)
func (*FakeACLHandle) SetReturnsOnCall ¶
func (fake *FakeACLHandle) SetReturnsOnCall(i int, result1 error)
type FakeBucketHandle ¶
type FakeBucketHandle struct { ACLStub func() storage.ACLHandle AddNotificationStub func(context.Context, *storagea.Notification) (*storagea.Notification, error) AttrsStub func(context.Context) (*storagea.BucketAttrs, error) CreateStub func(context.Context, string, *storagea.BucketAttrs) error DefaultObjectACLStub func() storage.ACLHandle DeleteStub func(context.Context) error DeleteNotificationStub func(context.Context, string) error IAMStub func() *iam.Handle IfStub func(storagea.BucketConditions) storage.BucketHandle LockRetentionPolicyStub func(context.Context) error NotificationsStub func(context.Context) (map[string]*storagea.Notification, error) ObjectStub func(string) storage.ObjectHandle ObjectsStub func(context.Context, *storagea.Query) storage.ObjectIterator UpdateStub func(context.Context, storagea.BucketAttrsToUpdate) (*storagea.BucketAttrs, error) UserProjectStub func(string) storage.BucketHandle // contains filtered or unexported fields }
func (*FakeBucketHandle) ACL ¶
func (fake *FakeBucketHandle) ACL() storage.ACLHandle
func (*FakeBucketHandle) ACLCallCount ¶
func (fake *FakeBucketHandle) ACLCallCount() int
func (*FakeBucketHandle) ACLCalls ¶
func (fake *FakeBucketHandle) ACLCalls(stub func() storage.ACLHandle)
func (*FakeBucketHandle) ACLReturns ¶
func (fake *FakeBucketHandle) ACLReturns(result1 storage.ACLHandle)
func (*FakeBucketHandle) ACLReturnsOnCall ¶
func (fake *FakeBucketHandle) ACLReturnsOnCall(i int, result1 storage.ACLHandle)
func (*FakeBucketHandle) AddNotification ¶
func (fake *FakeBucketHandle) AddNotification(arg1 context.Context, arg2 *storagea.Notification) (*storagea.Notification, error)
func (*FakeBucketHandle) AddNotificationArgsForCall ¶
func (fake *FakeBucketHandle) AddNotificationArgsForCall(i int) (context.Context, *storagea.Notification)
func (*FakeBucketHandle) AddNotificationCallCount ¶
func (fake *FakeBucketHandle) AddNotificationCallCount() int
func (*FakeBucketHandle) AddNotificationCalls ¶
func (fake *FakeBucketHandle) AddNotificationCalls(stub func(context.Context, *storagea.Notification) (*storagea.Notification, error))
func (*FakeBucketHandle) AddNotificationReturns ¶
func (fake *FakeBucketHandle) AddNotificationReturns(result1 *storagea.Notification, result2 error)
func (*FakeBucketHandle) AddNotificationReturnsOnCall ¶
func (fake *FakeBucketHandle) AddNotificationReturnsOnCall(i int, result1 *storagea.Notification, result2 error)
func (*FakeBucketHandle) Attrs ¶
func (fake *FakeBucketHandle) Attrs(arg1 context.Context) (*storagea.BucketAttrs, error)
func (*FakeBucketHandle) AttrsArgsForCall ¶
func (fake *FakeBucketHandle) AttrsArgsForCall(i int) context.Context
func (*FakeBucketHandle) AttrsCallCount ¶
func (fake *FakeBucketHandle) AttrsCallCount() int
func (*FakeBucketHandle) AttrsCalls ¶
func (fake *FakeBucketHandle) AttrsCalls(stub func(context.Context) (*storagea.BucketAttrs, error))
func (*FakeBucketHandle) AttrsReturns ¶
func (fake *FakeBucketHandle) AttrsReturns(result1 *storagea.BucketAttrs, result2 error)
func (*FakeBucketHandle) AttrsReturnsOnCall ¶
func (fake *FakeBucketHandle) AttrsReturnsOnCall(i int, result1 *storagea.BucketAttrs, result2 error)
func (*FakeBucketHandle) Create ¶
func (fake *FakeBucketHandle) Create(arg1 context.Context, arg2 string, arg3 *storagea.BucketAttrs) error
func (*FakeBucketHandle) CreateArgsForCall ¶
func (fake *FakeBucketHandle) CreateArgsForCall(i int) (context.Context, string, *storagea.BucketAttrs)
func (*FakeBucketHandle) CreateCallCount ¶
func (fake *FakeBucketHandle) CreateCallCount() int
func (*FakeBucketHandle) CreateCalls ¶
func (fake *FakeBucketHandle) CreateCalls(stub func(context.Context, string, *storagea.BucketAttrs) error)
func (*FakeBucketHandle) CreateReturns ¶
func (fake *FakeBucketHandle) CreateReturns(result1 error)
func (*FakeBucketHandle) CreateReturnsOnCall ¶
func (fake *FakeBucketHandle) CreateReturnsOnCall(i int, result1 error)
func (*FakeBucketHandle) DefaultObjectACL ¶
func (fake *FakeBucketHandle) DefaultObjectACL() storage.ACLHandle
func (*FakeBucketHandle) DefaultObjectACLCallCount ¶
func (fake *FakeBucketHandle) DefaultObjectACLCallCount() int
func (*FakeBucketHandle) DefaultObjectACLCalls ¶
func (fake *FakeBucketHandle) DefaultObjectACLCalls(stub func() storage.ACLHandle)
func (*FakeBucketHandle) DefaultObjectACLReturns ¶
func (fake *FakeBucketHandle) DefaultObjectACLReturns(result1 storage.ACLHandle)
func (*FakeBucketHandle) DefaultObjectACLReturnsOnCall ¶
func (fake *FakeBucketHandle) DefaultObjectACLReturnsOnCall(i int, result1 storage.ACLHandle)
func (*FakeBucketHandle) DeleteArgsForCall ¶
func (fake *FakeBucketHandle) DeleteArgsForCall(i int) context.Context
func (*FakeBucketHandle) DeleteCallCount ¶
func (fake *FakeBucketHandle) DeleteCallCount() int
func (*FakeBucketHandle) DeleteCalls ¶
func (fake *FakeBucketHandle) DeleteCalls(stub func(context.Context) error)
func (*FakeBucketHandle) DeleteNotification ¶
func (fake *FakeBucketHandle) DeleteNotification(arg1 context.Context, arg2 string) error
func (*FakeBucketHandle) DeleteNotificationArgsForCall ¶
func (fake *FakeBucketHandle) DeleteNotificationArgsForCall(i int) (context.Context, string)
func (*FakeBucketHandle) DeleteNotificationCallCount ¶
func (fake *FakeBucketHandle) DeleteNotificationCallCount() int
func (*FakeBucketHandle) DeleteNotificationCalls ¶
func (fake *FakeBucketHandle) DeleteNotificationCalls(stub func(context.Context, string) error)
func (*FakeBucketHandle) DeleteNotificationReturns ¶
func (fake *FakeBucketHandle) DeleteNotificationReturns(result1 error)
func (*FakeBucketHandle) DeleteNotificationReturnsOnCall ¶
func (fake *FakeBucketHandle) DeleteNotificationReturnsOnCall(i int, result1 error)
func (*FakeBucketHandle) DeleteReturns ¶
func (fake *FakeBucketHandle) DeleteReturns(result1 error)
func (*FakeBucketHandle) DeleteReturnsOnCall ¶
func (fake *FakeBucketHandle) DeleteReturnsOnCall(i int, result1 error)
func (*FakeBucketHandle) IAM ¶
func (fake *FakeBucketHandle) IAM() *iam.Handle
func (*FakeBucketHandle) IAMCallCount ¶
func (fake *FakeBucketHandle) IAMCallCount() int
func (*FakeBucketHandle) IAMCalls ¶
func (fake *FakeBucketHandle) IAMCalls(stub func() *iam.Handle)
func (*FakeBucketHandle) IAMReturns ¶
func (fake *FakeBucketHandle) IAMReturns(result1 *iam.Handle)
func (*FakeBucketHandle) IAMReturnsOnCall ¶
func (fake *FakeBucketHandle) IAMReturnsOnCall(i int, result1 *iam.Handle)
func (*FakeBucketHandle) If ¶
func (fake *FakeBucketHandle) If(arg1 storagea.BucketConditions) storage.BucketHandle
func (*FakeBucketHandle) IfArgsForCall ¶
func (fake *FakeBucketHandle) IfArgsForCall(i int) storagea.BucketConditions
func (*FakeBucketHandle) IfCallCount ¶
func (fake *FakeBucketHandle) IfCallCount() int
func (*FakeBucketHandle) IfCalls ¶
func (fake *FakeBucketHandle) IfCalls(stub func(storagea.BucketConditions) storage.BucketHandle)
func (*FakeBucketHandle) IfReturns ¶
func (fake *FakeBucketHandle) IfReturns(result1 storage.BucketHandle)
func (*FakeBucketHandle) IfReturnsOnCall ¶
func (fake *FakeBucketHandle) IfReturnsOnCall(i int, result1 storage.BucketHandle)
func (*FakeBucketHandle) Invocations ¶
func (fake *FakeBucketHandle) Invocations() map[string][][]interface{}
func (*FakeBucketHandle) LockRetentionPolicy ¶
func (fake *FakeBucketHandle) LockRetentionPolicy(arg1 context.Context) error
func (*FakeBucketHandle) LockRetentionPolicyArgsForCall ¶
func (fake *FakeBucketHandle) LockRetentionPolicyArgsForCall(i int) context.Context
func (*FakeBucketHandle) LockRetentionPolicyCallCount ¶
func (fake *FakeBucketHandle) LockRetentionPolicyCallCount() int
func (*FakeBucketHandle) LockRetentionPolicyCalls ¶
func (fake *FakeBucketHandle) LockRetentionPolicyCalls(stub func(context.Context) error)
func (*FakeBucketHandle) LockRetentionPolicyReturns ¶
func (fake *FakeBucketHandle) LockRetentionPolicyReturns(result1 error)
func (*FakeBucketHandle) LockRetentionPolicyReturnsOnCall ¶
func (fake *FakeBucketHandle) LockRetentionPolicyReturnsOnCall(i int, result1 error)
func (*FakeBucketHandle) Notifications ¶
func (fake *FakeBucketHandle) Notifications(arg1 context.Context) (map[string]*storagea.Notification, error)
func (*FakeBucketHandle) NotificationsArgsForCall ¶
func (fake *FakeBucketHandle) NotificationsArgsForCall(i int) context.Context
func (*FakeBucketHandle) NotificationsCallCount ¶
func (fake *FakeBucketHandle) NotificationsCallCount() int
func (*FakeBucketHandle) NotificationsCalls ¶
func (fake *FakeBucketHandle) NotificationsCalls(stub func(context.Context) (map[string]*storagea.Notification, error))
func (*FakeBucketHandle) NotificationsReturns ¶
func (fake *FakeBucketHandle) NotificationsReturns(result1 map[string]*storagea.Notification, result2 error)
func (*FakeBucketHandle) NotificationsReturnsOnCall ¶
func (fake *FakeBucketHandle) NotificationsReturnsOnCall(i int, result1 map[string]*storagea.Notification, result2 error)
func (*FakeBucketHandle) Object ¶
func (fake *FakeBucketHandle) Object(arg1 string) storage.ObjectHandle
func (*FakeBucketHandle) ObjectArgsForCall ¶
func (fake *FakeBucketHandle) ObjectArgsForCall(i int) string
func (*FakeBucketHandle) ObjectCallCount ¶
func (fake *FakeBucketHandle) ObjectCallCount() int
func (*FakeBucketHandle) ObjectCalls ¶
func (fake *FakeBucketHandle) ObjectCalls(stub func(string) storage.ObjectHandle)
func (*FakeBucketHandle) ObjectReturns ¶
func (fake *FakeBucketHandle) ObjectReturns(result1 storage.ObjectHandle)
func (*FakeBucketHandle) ObjectReturnsOnCall ¶
func (fake *FakeBucketHandle) ObjectReturnsOnCall(i int, result1 storage.ObjectHandle)
func (*FakeBucketHandle) Objects ¶
func (fake *FakeBucketHandle) Objects(arg1 context.Context, arg2 *storagea.Query) storage.ObjectIterator
func (*FakeBucketHandle) ObjectsArgsForCall ¶
func (*FakeBucketHandle) ObjectsCallCount ¶
func (fake *FakeBucketHandle) ObjectsCallCount() int
func (*FakeBucketHandle) ObjectsCalls ¶
func (fake *FakeBucketHandle) ObjectsCalls(stub func(context.Context, *storagea.Query) storage.ObjectIterator)
func (*FakeBucketHandle) ObjectsReturns ¶
func (fake *FakeBucketHandle) ObjectsReturns(result1 storage.ObjectIterator)
func (*FakeBucketHandle) ObjectsReturnsOnCall ¶
func (fake *FakeBucketHandle) ObjectsReturnsOnCall(i int, result1 storage.ObjectIterator)
func (*FakeBucketHandle) Update ¶
func (fake *FakeBucketHandle) Update(arg1 context.Context, arg2 storagea.BucketAttrsToUpdate) (*storagea.BucketAttrs, error)
func (*FakeBucketHandle) UpdateArgsForCall ¶
func (fake *FakeBucketHandle) UpdateArgsForCall(i int) (context.Context, storagea.BucketAttrsToUpdate)
func (*FakeBucketHandle) UpdateCallCount ¶
func (fake *FakeBucketHandle) UpdateCallCount() int
func (*FakeBucketHandle) UpdateCalls ¶
func (fake *FakeBucketHandle) UpdateCalls(stub func(context.Context, storagea.BucketAttrsToUpdate) (*storagea.BucketAttrs, error))
func (*FakeBucketHandle) UpdateReturns ¶
func (fake *FakeBucketHandle) UpdateReturns(result1 *storagea.BucketAttrs, result2 error)
func (*FakeBucketHandle) UpdateReturnsOnCall ¶
func (fake *FakeBucketHandle) UpdateReturnsOnCall(i int, result1 *storagea.BucketAttrs, result2 error)
func (*FakeBucketHandle) UserProject ¶
func (fake *FakeBucketHandle) UserProject(arg1 string) storage.BucketHandle
func (*FakeBucketHandle) UserProjectArgsForCall ¶
func (fake *FakeBucketHandle) UserProjectArgsForCall(i int) string
func (*FakeBucketHandle) UserProjectCallCount ¶
func (fake *FakeBucketHandle) UserProjectCallCount() int
func (*FakeBucketHandle) UserProjectCalls ¶
func (fake *FakeBucketHandle) UserProjectCalls(stub func(string) storage.BucketHandle)
func (*FakeBucketHandle) UserProjectReturns ¶
func (fake *FakeBucketHandle) UserProjectReturns(result1 storage.BucketHandle)
func (*FakeBucketHandle) UserProjectReturnsOnCall ¶
func (fake *FakeBucketHandle) UserProjectReturnsOnCall(i int, result1 storage.BucketHandle)
type FakeBucketIterator ¶
type FakeBucketIterator struct { NextStub func() (*storagea.BucketAttrs, error) PageInfoStub func() *iterator.PageInfo SetPrefixStub func(string) // contains filtered or unexported fields }
func (*FakeBucketIterator) Invocations ¶
func (fake *FakeBucketIterator) Invocations() map[string][][]interface{}
func (*FakeBucketIterator) Next ¶
func (fake *FakeBucketIterator) Next() (*storagea.BucketAttrs, error)
func (*FakeBucketIterator) NextCallCount ¶
func (fake *FakeBucketIterator) NextCallCount() int
func (*FakeBucketIterator) NextCalls ¶
func (fake *FakeBucketIterator) NextCalls(stub func() (*storagea.BucketAttrs, error))
func (*FakeBucketIterator) NextReturns ¶
func (fake *FakeBucketIterator) NextReturns(result1 *storagea.BucketAttrs, result2 error)
func (*FakeBucketIterator) NextReturnsOnCall ¶
func (fake *FakeBucketIterator) NextReturnsOnCall(i int, result1 *storagea.BucketAttrs, result2 error)
func (*FakeBucketIterator) PageInfo ¶
func (fake *FakeBucketIterator) PageInfo() *iterator.PageInfo
func (*FakeBucketIterator) PageInfoCallCount ¶
func (fake *FakeBucketIterator) PageInfoCallCount() int
func (*FakeBucketIterator) PageInfoCalls ¶
func (fake *FakeBucketIterator) PageInfoCalls(stub func() *iterator.PageInfo)
func (*FakeBucketIterator) PageInfoReturns ¶
func (fake *FakeBucketIterator) PageInfoReturns(result1 *iterator.PageInfo)
func (*FakeBucketIterator) PageInfoReturnsOnCall ¶
func (fake *FakeBucketIterator) PageInfoReturnsOnCall(i int, result1 *iterator.PageInfo)
func (*FakeBucketIterator) SetPrefix ¶
func (fake *FakeBucketIterator) SetPrefix(arg1 string)
func (*FakeBucketIterator) SetPrefixArgsForCall ¶
func (fake *FakeBucketIterator) SetPrefixArgsForCall(i int) string
func (*FakeBucketIterator) SetPrefixCallCount ¶
func (fake *FakeBucketIterator) SetPrefixCallCount() int
func (*FakeBucketIterator) SetPrefixCalls ¶
func (fake *FakeBucketIterator) SetPrefixCalls(stub func(string))
type FakeClient ¶
type FakeClient struct { BucketStub func(string) storage.BucketHandle BucketsStub func(context.Context, string) storage.BucketIterator CloseStub func() error // contains filtered or unexported fields }
func (*FakeClient) Bucket ¶
func (fake *FakeClient) Bucket(arg1 string) storage.BucketHandle
func (*FakeClient) BucketArgsForCall ¶
func (fake *FakeClient) BucketArgsForCall(i int) string
func (*FakeClient) BucketCallCount ¶
func (fake *FakeClient) BucketCallCount() int
func (*FakeClient) BucketCalls ¶
func (fake *FakeClient) BucketCalls(stub func(string) storage.BucketHandle)
func (*FakeClient) BucketReturns ¶
func (fake *FakeClient) BucketReturns(result1 storage.BucketHandle)
func (*FakeClient) BucketReturnsOnCall ¶
func (fake *FakeClient) BucketReturnsOnCall(i int, result1 storage.BucketHandle)
func (*FakeClient) Buckets ¶
func (fake *FakeClient) Buckets(arg1 context.Context, arg2 string) storage.BucketIterator
func (*FakeClient) BucketsArgsForCall ¶
func (fake *FakeClient) BucketsArgsForCall(i int) (context.Context, string)
func (*FakeClient) BucketsCallCount ¶
func (fake *FakeClient) BucketsCallCount() int
func (*FakeClient) BucketsCalls ¶
func (fake *FakeClient) BucketsCalls(stub func(context.Context, string) storage.BucketIterator)
func (*FakeClient) BucketsReturns ¶
func (fake *FakeClient) BucketsReturns(result1 storage.BucketIterator)
func (*FakeClient) BucketsReturnsOnCall ¶
func (fake *FakeClient) BucketsReturnsOnCall(i int, result1 storage.BucketIterator)
func (*FakeClient) Close ¶
func (fake *FakeClient) Close() error
func (*FakeClient) CloseCallCount ¶
func (fake *FakeClient) CloseCallCount() int
func (*FakeClient) CloseCalls ¶
func (fake *FakeClient) CloseCalls(stub func() error)
func (*FakeClient) CloseReturns ¶
func (fake *FakeClient) CloseReturns(result1 error)
func (*FakeClient) CloseReturnsOnCall ¶
func (fake *FakeClient) CloseReturnsOnCall(i int, result1 error)
func (*FakeClient) Invocations ¶
func (fake *FakeClient) Invocations() map[string][][]interface{}
type FakeComposer ¶
type FakeComposer struct { ObjectAttrsStub func() *storagea.ObjectAttrs RunStub func(context.Context) (*storagea.ObjectAttrs, error) // contains filtered or unexported fields }
func (*FakeComposer) Invocations ¶
func (fake *FakeComposer) Invocations() map[string][][]interface{}
func (*FakeComposer) ObjectAttrs ¶
func (fake *FakeComposer) ObjectAttrs() *storagea.ObjectAttrs
func (*FakeComposer) ObjectAttrsCallCount ¶
func (fake *FakeComposer) ObjectAttrsCallCount() int
func (*FakeComposer) ObjectAttrsCalls ¶
func (fake *FakeComposer) ObjectAttrsCalls(stub func() *storagea.ObjectAttrs)
func (*FakeComposer) ObjectAttrsReturns ¶
func (fake *FakeComposer) ObjectAttrsReturns(result1 *storagea.ObjectAttrs)
func (*FakeComposer) ObjectAttrsReturnsOnCall ¶
func (fake *FakeComposer) ObjectAttrsReturnsOnCall(i int, result1 *storagea.ObjectAttrs)
func (*FakeComposer) Run ¶
func (fake *FakeComposer) Run(arg1 context.Context) (*storagea.ObjectAttrs, error)
func (*FakeComposer) RunArgsForCall ¶
func (fake *FakeComposer) RunArgsForCall(i int) context.Context
func (*FakeComposer) RunCallCount ¶
func (fake *FakeComposer) RunCallCount() int
func (*FakeComposer) RunCalls ¶
func (fake *FakeComposer) RunCalls(stub func(context.Context) (*storagea.ObjectAttrs, error))
func (*FakeComposer) RunReturns ¶
func (fake *FakeComposer) RunReturns(result1 *storagea.ObjectAttrs, result2 error)
func (*FakeComposer) RunReturnsOnCall ¶
func (fake *FakeComposer) RunReturnsOnCall(i int, result1 *storagea.ObjectAttrs, result2 error)
type FakeCopier ¶
type FakeCopier struct { ObjectAttrsStub func() *storagea.ObjectAttrs RunStub func(context.Context) (*storagea.ObjectAttrs, error) SetDestinationKMSKeyNameStub func(string) SetProgressFuncStub func(func(uint64, uint64)) SetRewriteTokenStub func(string) // contains filtered or unexported fields }
func (*FakeCopier) Invocations ¶
func (fake *FakeCopier) Invocations() map[string][][]interface{}
func (*FakeCopier) ObjectAttrs ¶
func (fake *FakeCopier) ObjectAttrs() *storagea.ObjectAttrs
func (*FakeCopier) ObjectAttrsCallCount ¶
func (fake *FakeCopier) ObjectAttrsCallCount() int
func (*FakeCopier) ObjectAttrsCalls ¶
func (fake *FakeCopier) ObjectAttrsCalls(stub func() *storagea.ObjectAttrs)
func (*FakeCopier) ObjectAttrsReturns ¶
func (fake *FakeCopier) ObjectAttrsReturns(result1 *storagea.ObjectAttrs)
func (*FakeCopier) ObjectAttrsReturnsOnCall ¶
func (fake *FakeCopier) ObjectAttrsReturnsOnCall(i int, result1 *storagea.ObjectAttrs)
func (*FakeCopier) Run ¶
func (fake *FakeCopier) Run(arg1 context.Context) (*storagea.ObjectAttrs, error)
func (*FakeCopier) RunArgsForCall ¶
func (fake *FakeCopier) RunArgsForCall(i int) context.Context
func (*FakeCopier) RunCallCount ¶
func (fake *FakeCopier) RunCallCount() int
func (*FakeCopier) RunCalls ¶
func (fake *FakeCopier) RunCalls(stub func(context.Context) (*storagea.ObjectAttrs, error))
func (*FakeCopier) RunReturns ¶
func (fake *FakeCopier) RunReturns(result1 *storagea.ObjectAttrs, result2 error)
func (*FakeCopier) RunReturnsOnCall ¶
func (fake *FakeCopier) RunReturnsOnCall(i int, result1 *storagea.ObjectAttrs, result2 error)
func (*FakeCopier) SetDestinationKMSKeyName ¶
func (fake *FakeCopier) SetDestinationKMSKeyName(arg1 string)
func (*FakeCopier) SetDestinationKMSKeyNameArgsForCall ¶
func (fake *FakeCopier) SetDestinationKMSKeyNameArgsForCall(i int) string
func (*FakeCopier) SetDestinationKMSKeyNameCallCount ¶
func (fake *FakeCopier) SetDestinationKMSKeyNameCallCount() int
func (*FakeCopier) SetDestinationKMSKeyNameCalls ¶
func (fake *FakeCopier) SetDestinationKMSKeyNameCalls(stub func(string))
func (*FakeCopier) SetProgressFunc ¶
func (fake *FakeCopier) SetProgressFunc(arg1 func(uint64, uint64))
func (*FakeCopier) SetProgressFuncArgsForCall ¶
func (fake *FakeCopier) SetProgressFuncArgsForCall(i int) func(uint64, uint64)
func (*FakeCopier) SetProgressFuncCallCount ¶
func (fake *FakeCopier) SetProgressFuncCallCount() int
func (*FakeCopier) SetProgressFuncCalls ¶
func (fake *FakeCopier) SetProgressFuncCalls(stub func(func(uint64, uint64)))
func (*FakeCopier) SetRewriteToken ¶
func (fake *FakeCopier) SetRewriteToken(arg1 string)
func (*FakeCopier) SetRewriteTokenArgsForCall ¶
func (fake *FakeCopier) SetRewriteTokenArgsForCall(i int) string
func (*FakeCopier) SetRewriteTokenCallCount ¶
func (fake *FakeCopier) SetRewriteTokenCallCount() int
func (*FakeCopier) SetRewriteTokenCalls ¶
func (fake *FakeCopier) SetRewriteTokenCalls(stub func(string))
type FakeObjectHandle ¶
type FakeObjectHandle struct { ACLStub func() storage.ACLHandle AttrsStub func(context.Context) (*storagea.ObjectAttrs, error) ComposerFromStub func(...storage.ObjectHandle) storage.Composer CopierFromStub func(storage.ObjectHandle) storage.Copier DeleteStub func(context.Context) error GenerationStub func(int64) storage.ObjectHandle IfStub func(storagea.Conditions) storage.ObjectHandle KeyStub func([]byte) storage.ObjectHandle NewRangeReaderStub func(context.Context, int64, int64) (storage.Reader, error) NewReaderStub func(context.Context) (storage.Reader, error) NewWriterStub func(context.Context) storage.Writer ReadCompressedStub func(bool) storage.ObjectHandle UpdateStub func(context.Context, storagea.ObjectAttrsToUpdate) (*storagea.ObjectAttrs, error) // contains filtered or unexported fields }
func (*FakeObjectHandle) ACL ¶
func (fake *FakeObjectHandle) ACL() storage.ACLHandle
func (*FakeObjectHandle) ACLCallCount ¶
func (fake *FakeObjectHandle) ACLCallCount() int
func (*FakeObjectHandle) ACLCalls ¶
func (fake *FakeObjectHandle) ACLCalls(stub func() storage.ACLHandle)
func (*FakeObjectHandle) ACLReturns ¶
func (fake *FakeObjectHandle) ACLReturns(result1 storage.ACLHandle)
func (*FakeObjectHandle) ACLReturnsOnCall ¶
func (fake *FakeObjectHandle) ACLReturnsOnCall(i int, result1 storage.ACLHandle)
func (*FakeObjectHandle) Attrs ¶
func (fake *FakeObjectHandle) Attrs(arg1 context.Context) (*storagea.ObjectAttrs, error)
func (*FakeObjectHandle) AttrsArgsForCall ¶
func (fake *FakeObjectHandle) AttrsArgsForCall(i int) context.Context
func (*FakeObjectHandle) AttrsCallCount ¶
func (fake *FakeObjectHandle) AttrsCallCount() int
func (*FakeObjectHandle) AttrsCalls ¶
func (fake *FakeObjectHandle) AttrsCalls(stub func(context.Context) (*storagea.ObjectAttrs, error))
func (*FakeObjectHandle) AttrsReturns ¶
func (fake *FakeObjectHandle) AttrsReturns(result1 *storagea.ObjectAttrs, result2 error)
func (*FakeObjectHandle) AttrsReturnsOnCall ¶
func (fake *FakeObjectHandle) AttrsReturnsOnCall(i int, result1 *storagea.ObjectAttrs, result2 error)
func (*FakeObjectHandle) ComposerFrom ¶
func (fake *FakeObjectHandle) ComposerFrom(arg1 ...storage.ObjectHandle) storage.Composer
func (*FakeObjectHandle) ComposerFromArgsForCall ¶
func (fake *FakeObjectHandle) ComposerFromArgsForCall(i int) []storage.ObjectHandle
func (*FakeObjectHandle) ComposerFromCallCount ¶
func (fake *FakeObjectHandle) ComposerFromCallCount() int
func (*FakeObjectHandle) ComposerFromCalls ¶
func (fake *FakeObjectHandle) ComposerFromCalls(stub func(...storage.ObjectHandle) storage.Composer)
func (*FakeObjectHandle) ComposerFromReturns ¶
func (fake *FakeObjectHandle) ComposerFromReturns(result1 storage.Composer)
func (*FakeObjectHandle) ComposerFromReturnsOnCall ¶
func (fake *FakeObjectHandle) ComposerFromReturnsOnCall(i int, result1 storage.Composer)
func (*FakeObjectHandle) CopierFrom ¶
func (fake *FakeObjectHandle) CopierFrom(arg1 storage.ObjectHandle) storage.Copier
func (*FakeObjectHandle) CopierFromArgsForCall ¶
func (fake *FakeObjectHandle) CopierFromArgsForCall(i int) storage.ObjectHandle
func (*FakeObjectHandle) CopierFromCallCount ¶
func (fake *FakeObjectHandle) CopierFromCallCount() int
func (*FakeObjectHandle) CopierFromCalls ¶
func (fake *FakeObjectHandle) CopierFromCalls(stub func(storage.ObjectHandle) storage.Copier)
func (*FakeObjectHandle) CopierFromReturns ¶
func (fake *FakeObjectHandle) CopierFromReturns(result1 storage.Copier)
func (*FakeObjectHandle) CopierFromReturnsOnCall ¶
func (fake *FakeObjectHandle) CopierFromReturnsOnCall(i int, result1 storage.Copier)
func (*FakeObjectHandle) DeleteArgsForCall ¶
func (fake *FakeObjectHandle) DeleteArgsForCall(i int) context.Context
func (*FakeObjectHandle) DeleteCallCount ¶
func (fake *FakeObjectHandle) DeleteCallCount() int
func (*FakeObjectHandle) DeleteCalls ¶
func (fake *FakeObjectHandle) DeleteCalls(stub func(context.Context) error)
func (*FakeObjectHandle) DeleteReturns ¶
func (fake *FakeObjectHandle) DeleteReturns(result1 error)
func (*FakeObjectHandle) DeleteReturnsOnCall ¶
func (fake *FakeObjectHandle) DeleteReturnsOnCall(i int, result1 error)
func (*FakeObjectHandle) Generation ¶
func (fake *FakeObjectHandle) Generation(arg1 int64) storage.ObjectHandle
func (*FakeObjectHandle) GenerationArgsForCall ¶
func (fake *FakeObjectHandle) GenerationArgsForCall(i int) int64
func (*FakeObjectHandle) GenerationCallCount ¶
func (fake *FakeObjectHandle) GenerationCallCount() int
func (*FakeObjectHandle) GenerationCalls ¶
func (fake *FakeObjectHandle) GenerationCalls(stub func(int64) storage.ObjectHandle)
func (*FakeObjectHandle) GenerationReturns ¶
func (fake *FakeObjectHandle) GenerationReturns(result1 storage.ObjectHandle)
func (*FakeObjectHandle) GenerationReturnsOnCall ¶
func (fake *FakeObjectHandle) GenerationReturnsOnCall(i int, result1 storage.ObjectHandle)
func (*FakeObjectHandle) If ¶
func (fake *FakeObjectHandle) If(arg1 storagea.Conditions) storage.ObjectHandle
func (*FakeObjectHandle) IfArgsForCall ¶
func (fake *FakeObjectHandle) IfArgsForCall(i int) storagea.Conditions
func (*FakeObjectHandle) IfCallCount ¶
func (fake *FakeObjectHandle) IfCallCount() int
func (*FakeObjectHandle) IfCalls ¶
func (fake *FakeObjectHandle) IfCalls(stub func(storagea.Conditions) storage.ObjectHandle)
func (*FakeObjectHandle) IfReturns ¶
func (fake *FakeObjectHandle) IfReturns(result1 storage.ObjectHandle)
func (*FakeObjectHandle) IfReturnsOnCall ¶
func (fake *FakeObjectHandle) IfReturnsOnCall(i int, result1 storage.ObjectHandle)
func (*FakeObjectHandle) Invocations ¶
func (fake *FakeObjectHandle) Invocations() map[string][][]interface{}
func (*FakeObjectHandle) Key ¶
func (fake *FakeObjectHandle) Key(arg1 []byte) storage.ObjectHandle
func (*FakeObjectHandle) KeyArgsForCall ¶
func (fake *FakeObjectHandle) KeyArgsForCall(i int) []byte
func (*FakeObjectHandle) KeyCallCount ¶
func (fake *FakeObjectHandle) KeyCallCount() int
func (*FakeObjectHandle) KeyCalls ¶
func (fake *FakeObjectHandle) KeyCalls(stub func([]byte) storage.ObjectHandle)
func (*FakeObjectHandle) KeyReturns ¶
func (fake *FakeObjectHandle) KeyReturns(result1 storage.ObjectHandle)
func (*FakeObjectHandle) KeyReturnsOnCall ¶
func (fake *FakeObjectHandle) KeyReturnsOnCall(i int, result1 storage.ObjectHandle)
func (*FakeObjectHandle) NewRangeReader ¶
func (*FakeObjectHandle) NewRangeReaderArgsForCall ¶
func (*FakeObjectHandle) NewRangeReaderCallCount ¶
func (fake *FakeObjectHandle) NewRangeReaderCallCount() int
func (*FakeObjectHandle) NewRangeReaderCalls ¶
func (*FakeObjectHandle) NewRangeReaderReturns ¶
func (fake *FakeObjectHandle) NewRangeReaderReturns(result1 storage.Reader, result2 error)
func (*FakeObjectHandle) NewRangeReaderReturnsOnCall ¶
func (fake *FakeObjectHandle) NewRangeReaderReturnsOnCall(i int, result1 storage.Reader, result2 error)
func (*FakeObjectHandle) NewReaderArgsForCall ¶
func (fake *FakeObjectHandle) NewReaderArgsForCall(i int) context.Context
func (*FakeObjectHandle) NewReaderCallCount ¶
func (fake *FakeObjectHandle) NewReaderCallCount() int
func (*FakeObjectHandle) NewReaderCalls ¶
func (*FakeObjectHandle) NewReaderReturns ¶
func (fake *FakeObjectHandle) NewReaderReturns(result1 storage.Reader, result2 error)
func (*FakeObjectHandle) NewReaderReturnsOnCall ¶
func (fake *FakeObjectHandle) NewReaderReturnsOnCall(i int, result1 storage.Reader, result2 error)
func (*FakeObjectHandle) NewWriter ¶
func (fake *FakeObjectHandle) NewWriter(arg1 context.Context) storage.Writer
func (*FakeObjectHandle) NewWriterArgsForCall ¶
func (fake *FakeObjectHandle) NewWriterArgsForCall(i int) context.Context
func (*FakeObjectHandle) NewWriterCallCount ¶
func (fake *FakeObjectHandle) NewWriterCallCount() int
func (*FakeObjectHandle) NewWriterCalls ¶
func (fake *FakeObjectHandle) NewWriterCalls(stub func(context.Context) storage.Writer)
func (*FakeObjectHandle) NewWriterReturns ¶
func (fake *FakeObjectHandle) NewWriterReturns(result1 storage.Writer)
func (*FakeObjectHandle) NewWriterReturnsOnCall ¶
func (fake *FakeObjectHandle) NewWriterReturnsOnCall(i int, result1 storage.Writer)
func (*FakeObjectHandle) ReadCompressed ¶
func (fake *FakeObjectHandle) ReadCompressed(arg1 bool) storage.ObjectHandle
func (*FakeObjectHandle) ReadCompressedArgsForCall ¶
func (fake *FakeObjectHandle) ReadCompressedArgsForCall(i int) bool
func (*FakeObjectHandle) ReadCompressedCallCount ¶
func (fake *FakeObjectHandle) ReadCompressedCallCount() int
func (*FakeObjectHandle) ReadCompressedCalls ¶
func (fake *FakeObjectHandle) ReadCompressedCalls(stub func(bool) storage.ObjectHandle)
func (*FakeObjectHandle) ReadCompressedReturns ¶
func (fake *FakeObjectHandle) ReadCompressedReturns(result1 storage.ObjectHandle)
func (*FakeObjectHandle) ReadCompressedReturnsOnCall ¶
func (fake *FakeObjectHandle) ReadCompressedReturnsOnCall(i int, result1 storage.ObjectHandle)
func (*FakeObjectHandle) Update ¶
func (fake *FakeObjectHandle) Update(arg1 context.Context, arg2 storagea.ObjectAttrsToUpdate) (*storagea.ObjectAttrs, error)
func (*FakeObjectHandle) UpdateArgsForCall ¶
func (fake *FakeObjectHandle) UpdateArgsForCall(i int) (context.Context, storagea.ObjectAttrsToUpdate)
func (*FakeObjectHandle) UpdateCallCount ¶
func (fake *FakeObjectHandle) UpdateCallCount() int
func (*FakeObjectHandle) UpdateCalls ¶
func (fake *FakeObjectHandle) UpdateCalls(stub func(context.Context, storagea.ObjectAttrsToUpdate) (*storagea.ObjectAttrs, error))
func (*FakeObjectHandle) UpdateReturns ¶
func (fake *FakeObjectHandle) UpdateReturns(result1 *storagea.ObjectAttrs, result2 error)
func (*FakeObjectHandle) UpdateReturnsOnCall ¶
func (fake *FakeObjectHandle) UpdateReturnsOnCall(i int, result1 *storagea.ObjectAttrs, result2 error)
type FakeObjectIterator ¶
type FakeObjectIterator struct { NextStub func() (*storagea.ObjectAttrs, error) PageInfoStub func() *iterator.PageInfo // contains filtered or unexported fields }
func (*FakeObjectIterator) Invocations ¶
func (fake *FakeObjectIterator) Invocations() map[string][][]interface{}
func (*FakeObjectIterator) Next ¶
func (fake *FakeObjectIterator) Next() (*storagea.ObjectAttrs, error)
func (*FakeObjectIterator) NextCallCount ¶
func (fake *FakeObjectIterator) NextCallCount() int
func (*FakeObjectIterator) NextCalls ¶
func (fake *FakeObjectIterator) NextCalls(stub func() (*storagea.ObjectAttrs, error))
func (*FakeObjectIterator) NextReturns ¶
func (fake *FakeObjectIterator) NextReturns(result1 *storagea.ObjectAttrs, result2 error)
func (*FakeObjectIterator) NextReturnsOnCall ¶
func (fake *FakeObjectIterator) NextReturnsOnCall(i int, result1 *storagea.ObjectAttrs, result2 error)
func (*FakeObjectIterator) PageInfo ¶
func (fake *FakeObjectIterator) PageInfo() *iterator.PageInfo
func (*FakeObjectIterator) PageInfoCallCount ¶
func (fake *FakeObjectIterator) PageInfoCallCount() int
func (*FakeObjectIterator) PageInfoCalls ¶
func (fake *FakeObjectIterator) PageInfoCalls(stub func() *iterator.PageInfo)
func (*FakeObjectIterator) PageInfoReturns ¶
func (fake *FakeObjectIterator) PageInfoReturns(result1 *iterator.PageInfo)
func (*FakeObjectIterator) PageInfoReturnsOnCall ¶
func (fake *FakeObjectIterator) PageInfoReturnsOnCall(i int, result1 *iterator.PageInfo)
type FakeReader ¶
type FakeReader struct { CacheControlStub func() string CloseStub func() error ContentEncodingStub func() string ContentTypeStub func() string ReadStub func([]byte) (int, error) RemainStub func() int64 SizeStub func() int64 // contains filtered or unexported fields }
func (*FakeReader) CacheControl ¶
func (fake *FakeReader) CacheControl() string
func (*FakeReader) CacheControlCallCount ¶
func (fake *FakeReader) CacheControlCallCount() int
func (*FakeReader) CacheControlCalls ¶
func (fake *FakeReader) CacheControlCalls(stub func() string)
func (*FakeReader) CacheControlReturns ¶
func (fake *FakeReader) CacheControlReturns(result1 string)
func (*FakeReader) CacheControlReturnsOnCall ¶
func (fake *FakeReader) CacheControlReturnsOnCall(i int, result1 string)
func (*FakeReader) Close ¶
func (fake *FakeReader) Close() error
func (*FakeReader) CloseCallCount ¶
func (fake *FakeReader) CloseCallCount() int
func (*FakeReader) CloseCalls ¶
func (fake *FakeReader) CloseCalls(stub func() error)
func (*FakeReader) CloseReturns ¶
func (fake *FakeReader) CloseReturns(result1 error)
func (*FakeReader) CloseReturnsOnCall ¶
func (fake *FakeReader) CloseReturnsOnCall(i int, result1 error)
func (*FakeReader) ContentEncoding ¶
func (fake *FakeReader) ContentEncoding() string
func (*FakeReader) ContentEncodingCallCount ¶
func (fake *FakeReader) ContentEncodingCallCount() int
func (*FakeReader) ContentEncodingCalls ¶
func (fake *FakeReader) ContentEncodingCalls(stub func() string)
func (*FakeReader) ContentEncodingReturns ¶
func (fake *FakeReader) ContentEncodingReturns(result1 string)
func (*FakeReader) ContentEncodingReturnsOnCall ¶
func (fake *FakeReader) ContentEncodingReturnsOnCall(i int, result1 string)
func (*FakeReader) ContentType ¶
func (fake *FakeReader) ContentType() string
func (*FakeReader) ContentTypeCallCount ¶
func (fake *FakeReader) ContentTypeCallCount() int
func (*FakeReader) ContentTypeCalls ¶
func (fake *FakeReader) ContentTypeCalls(stub func() string)
func (*FakeReader) ContentTypeReturns ¶
func (fake *FakeReader) ContentTypeReturns(result1 string)
func (*FakeReader) ContentTypeReturnsOnCall ¶
func (fake *FakeReader) ContentTypeReturnsOnCall(i int, result1 string)
func (*FakeReader) Invocations ¶
func (fake *FakeReader) Invocations() map[string][][]interface{}
func (*FakeReader) ReadArgsForCall ¶
func (fake *FakeReader) ReadArgsForCall(i int) []byte
func (*FakeReader) ReadCallCount ¶
func (fake *FakeReader) ReadCallCount() int
func (*FakeReader) ReadReturns ¶
func (fake *FakeReader) ReadReturns(result1 int, result2 error)
func (*FakeReader) ReadReturnsOnCall ¶
func (fake *FakeReader) ReadReturnsOnCall(i int, result1 int, result2 error)
func (*FakeReader) Remain ¶
func (fake *FakeReader) Remain() int64
func (*FakeReader) RemainCallCount ¶
func (fake *FakeReader) RemainCallCount() int
func (*FakeReader) RemainCalls ¶
func (fake *FakeReader) RemainCalls(stub func() int64)
func (*FakeReader) RemainReturns ¶
func (fake *FakeReader) RemainReturns(result1 int64)
func (*FakeReader) RemainReturnsOnCall ¶
func (fake *FakeReader) RemainReturnsOnCall(i int, result1 int64)
func (*FakeReader) Size ¶
func (fake *FakeReader) Size() int64
func (*FakeReader) SizeCallCount ¶
func (fake *FakeReader) SizeCallCount() int
func (*FakeReader) SizeCalls ¶
func (fake *FakeReader) SizeCalls(stub func() int64)
func (*FakeReader) SizeReturns ¶
func (fake *FakeReader) SizeReturns(result1 int64)
func (*FakeReader) SizeReturnsOnCall ¶
func (fake *FakeReader) SizeReturnsOnCall(i int, result1 int64)
type FakeWriter ¶
type FakeWriter struct { AttrsStub func() *storagea.ObjectAttrs CloseStub func() error CloseWithErrorStub func(error) error ObjectAttrsStub func() *storagea.ObjectAttrs SetCRC32CStub func(uint32) SetChunkSizeStub func(int) SetProgressFuncStub func(func(int64)) WriteStub func([]byte) (int, error) // contains filtered or unexported fields }
func (*FakeWriter) Attrs ¶
func (fake *FakeWriter) Attrs() *storagea.ObjectAttrs
func (*FakeWriter) AttrsCallCount ¶
func (fake *FakeWriter) AttrsCallCount() int
func (*FakeWriter) AttrsCalls ¶
func (fake *FakeWriter) AttrsCalls(stub func() *storagea.ObjectAttrs)
func (*FakeWriter) AttrsReturns ¶
func (fake *FakeWriter) AttrsReturns(result1 *storagea.ObjectAttrs)
func (*FakeWriter) AttrsReturnsOnCall ¶
func (fake *FakeWriter) AttrsReturnsOnCall(i int, result1 *storagea.ObjectAttrs)
func (*FakeWriter) Close ¶
func (fake *FakeWriter) Close() error
func (*FakeWriter) CloseCallCount ¶
func (fake *FakeWriter) CloseCallCount() int
func (*FakeWriter) CloseCalls ¶
func (fake *FakeWriter) CloseCalls(stub func() error)
func (*FakeWriter) CloseReturns ¶
func (fake *FakeWriter) CloseReturns(result1 error)
func (*FakeWriter) CloseReturnsOnCall ¶
func (fake *FakeWriter) CloseReturnsOnCall(i int, result1 error)
func (*FakeWriter) CloseWithError ¶
func (fake *FakeWriter) CloseWithError(arg1 error) error
func (*FakeWriter) CloseWithErrorArgsForCall ¶
func (fake *FakeWriter) CloseWithErrorArgsForCall(i int) error
func (*FakeWriter) CloseWithErrorCallCount ¶
func (fake *FakeWriter) CloseWithErrorCallCount() int
func (*FakeWriter) CloseWithErrorCalls ¶
func (fake *FakeWriter) CloseWithErrorCalls(stub func(error) error)
func (*FakeWriter) CloseWithErrorReturns ¶
func (fake *FakeWriter) CloseWithErrorReturns(result1 error)
func (*FakeWriter) CloseWithErrorReturnsOnCall ¶
func (fake *FakeWriter) CloseWithErrorReturnsOnCall(i int, result1 error)
func (*FakeWriter) Invocations ¶
func (fake *FakeWriter) Invocations() map[string][][]interface{}
func (*FakeWriter) ObjectAttrs ¶
func (fake *FakeWriter) ObjectAttrs() *storagea.ObjectAttrs
func (*FakeWriter) ObjectAttrsCallCount ¶
func (fake *FakeWriter) ObjectAttrsCallCount() int
func (*FakeWriter) ObjectAttrsCalls ¶
func (fake *FakeWriter) ObjectAttrsCalls(stub func() *storagea.ObjectAttrs)
func (*FakeWriter) ObjectAttrsReturns ¶
func (fake *FakeWriter) ObjectAttrsReturns(result1 *storagea.ObjectAttrs)
func (*FakeWriter) ObjectAttrsReturnsOnCall ¶
func (fake *FakeWriter) ObjectAttrsReturnsOnCall(i int, result1 *storagea.ObjectAttrs)
func (*FakeWriter) SetCRC32C ¶
func (fake *FakeWriter) SetCRC32C(arg1 uint32)
func (*FakeWriter) SetCRC32CArgsForCall ¶
func (fake *FakeWriter) SetCRC32CArgsForCall(i int) uint32
func (*FakeWriter) SetCRC32CCallCount ¶
func (fake *FakeWriter) SetCRC32CCallCount() int
func (*FakeWriter) SetCRC32CCalls ¶
func (fake *FakeWriter) SetCRC32CCalls(stub func(uint32))
func (*FakeWriter) SetChunkSize ¶
func (fake *FakeWriter) SetChunkSize(arg1 int)
func (*FakeWriter) SetChunkSizeArgsForCall ¶
func (fake *FakeWriter) SetChunkSizeArgsForCall(i int) int
func (*FakeWriter) SetChunkSizeCallCount ¶
func (fake *FakeWriter) SetChunkSizeCallCount() int
func (*FakeWriter) SetChunkSizeCalls ¶
func (fake *FakeWriter) SetChunkSizeCalls(stub func(int))
func (*FakeWriter) SetProgressFunc ¶
func (fake *FakeWriter) SetProgressFunc(arg1 func(int64))
func (*FakeWriter) SetProgressFuncArgsForCall ¶
func (fake *FakeWriter) SetProgressFuncArgsForCall(i int) func(int64)
func (*FakeWriter) SetProgressFuncCallCount ¶
func (fake *FakeWriter) SetProgressFuncCallCount() int
func (*FakeWriter) SetProgressFuncCalls ¶
func (fake *FakeWriter) SetProgressFuncCalls(stub func(func(int64)))
func (*FakeWriter) WriteArgsForCall ¶
func (fake *FakeWriter) WriteArgsForCall(i int) []byte
func (*FakeWriter) WriteCallCount ¶
func (fake *FakeWriter) WriteCallCount() int
func (*FakeWriter) WriteCalls ¶
func (fake *FakeWriter) WriteCalls(stub func([]byte) (int, error))
func (*FakeWriter) WriteReturns ¶
func (fake *FakeWriter) WriteReturns(result1 int, result2 error)
func (*FakeWriter) WriteReturnsOnCall ¶
func (fake *FakeWriter) WriteReturnsOnCall(i int, result1 int, result2 error)
Click to show internal directories.
Click to hide internal directories.