lambda

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CommandsLambda = map[string]v4.MagickOperation{
	"crop":       v4.CropCommand,
	"resize":     v4.ResizeCommand,
	"strip":      v4.StripMetadataCommand,
	"format":     v4.FormatCommand,
	"quality":    v4.QualityCommand,
	"sharpen":    v4.SharpenCommand,
	"brightness": v4.BrightnessCommand,
	"flipflop":   v4.FlipFlopCommand,
	"sepia":      v4.SepiaCommand,
	"grayscale":  v4.GrayscaleCommand,
	"autolevel":  v4.AutolevelCommand,
	"invert":     v4.InvertCommand,
	"rotate":     v4.RotateCommand,
	"thumbnail":  v4.ThumbnailCommand,
}

Functions

This section is empty.

Types

type RequestLambdaFunctionURL

type RequestLambdaFunctionURL struct {
	v5.RequestV5
}

func NewLambdaFunctionURLRequest

func NewLambdaFunctionURLRequest(event events.LambdaFunctionURLRequest, config dims.Config) *RequestLambdaFunctionURL

type RequestLambdaS3Object

type RequestLambdaS3Object struct {
	v5.RequestV5
}

func NewS3ObjectRequest

func NewS3ObjectRequest(event events.S3ObjectLambdaEvent, config dims.Config) *RequestLambdaS3Object

func (*RequestLambdaS3Object) FetchImage

func (r *RequestLambdaS3Object) FetchImage() error

FetchImage downloads the image from the given URL.

Jump to

Keyboard shortcuts

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