Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attributes ¶
type Attributes struct {
NotificationConfig string `json:"notificationConfig"`
ObjectId string `json:"objectId"`
BucketId string `json:"bucketId"`
EventTime *time.Time `json:"eventTime"`
EventType string `json:"eventTime"`
}
Attributes represents attributes
type PubsubBucketNotification ¶
type PubsubBucketNotification struct {
Attributes *Attributes `json:"attributes"`
}
PubsubBucketNotification
func (*PubsubBucketNotification) StorageEvent ¶
func (e *PubsubBucketNotification) StorageEvent() *StorageEvent
StorageEvent returns a storage event
type S3Event ¶
S3Event represents s3 event
func NewS3EventForURL ¶
NewS3EventForURL creates s3 events for supplied URL
func NewS3EventFromJSON ¶
NewS3EventFromJSON creates a new s3 events
type StorageEvent ¶
StorageEvent is the payload of a GCS event.
func (StorageEvent) ProxyDestURL ¶
func (e StorageEvent) ProxyDestURL(destBucket string) string
ProxyDestURL returns dest URL
Click to show internal directories.
Click to hide internal directories.