lambdaapi

package
v0.0.0-...-62d34d7 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LambdaCrdAPI

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

LambdaCrdAPI Lambda implementation of CrdAPI

func NewLambdaCrdAPI

func NewLambdaCrdAPI(repo repository.KeyValueRepo, toStructFunction func(jsonString string) (interface{}, error)) *LambdaCrdAPI

NewLambdaCrdAPI generating a struct to allow CRD actions

func (*LambdaCrdAPI) Delete

Delete removes an entity

func (*LambdaCrdAPI) Get

Get method returns all stored entities

func (*LambdaCrdAPI) HTTPMethodProxy

func (lambdaCrdAPI *LambdaCrdAPI) HTTPMethodProxy(request events.APIGatewayProxyRequest) (*events.APIGatewayProxyResponse, error)

HTTPMethodProxy proxies requests to CRD method based on HTTP method

func (*LambdaCrdAPI) Post

Post method create a new entity

Jump to

Keyboard shortcuts

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