Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConditionalClient ¶
type ConditionalClient struct {
UploadClient
// contains filtered or unexported fields
}
ConditionalClient is a fake conditional client that can limit actions to matching conditions.
func (ConditionalClient) If ¶
func (cc ConditionalClient) If(read, write *storage.Conditions) gcs.ConditionalClient
If returns a fake conditional client.
type Iterator ¶
type Iterator struct {
Objects []storage.ObjectAttrs
Idx int
Err int // must be > 0
Offset string
// contains filtered or unexported fields
}
An Iterator returns the attributes of the listed objects or an iterator.Done error.
type Stat ¶
type Stat struct {
Err error
Attrs storage.ObjectAttrs
}
Stat contains object attributes for a given path.
type UploadClient ¶
UploadClient is a fake upload client
func (UploadClient) If ¶
func (fuc UploadClient) If(read, write *storage.Conditions) gcs.ConditionalClient
If returns a fake upload client.
Click to show internal directories.
Click to hide internal directories.