modify

package
v0.0.0-...-0c09a8f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GcsUploadEvent

func GcsUploadEvent(a *App) func(context.Context, cloudevents.Event) error

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func NewApp

func NewApp(logger *logging.Logger, bucket *storage.Client) *App

type EventData

type EventData struct {
	Bucket string `json:"bucket"`
	Name   string `json:"name"`
}

EventData is this applications specific event payload data needed to modify the GCS object.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL