Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttrSet ¶
type AttrSet struct {
// contains filtered or unexported fields
}
AttrSet used to set optional GCS object attributes in upload, write, and update operations
func (AttrSet) CacheControl ¶
CacheControl sets the Cache-Control attribute of an object
func (AttrSet) GetCacheControl ¶
GetCacheControl returns the configured Cache-Control object for this AttrSet. (nil if not set)
type AttrSetter ¶
AttrSetter used to set optional GCS object attributes in upload, write, and update operations
type Attrs ¶
type Attrs interface { Attrs() *storage.ObjectAttrs Operation }
Attrs reads the attributes of an object in a GCS bucket
type Operation ¶
type Operation interface { // Handler performs the call, given object and logger references Handler(object Object, logger zerolog.Logger) error // Kind returns the a description of the kind of this operation (eg. "delete", "upload") Kind() string }
Operation is an interface for operations on GCS bucket objects
type Update ¶
type Update interface { Operation }
Update updates attributes of an object in a GCS bucket
Click to show internal directories.
Click to hide internal directories.