http

package
v0.0.0-...-240b47d Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2022 License: BSD-3-Clause Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewChiMux

func NewChiMux(layerHandler LayerHandler, functionHandler FunctionHandler, eventHandler EventSourceHandler,
	docker *docker.Manager) *chi.Mux

Types

type EventSourceHandler

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

func NewEventSourceHandler

func NewEventSourceHandler(cfg *settings.Config, eventRepo domain.EventSourceRepository, functionRepo domain.FunctionRepository) EventSourceHandler

func (EventSourceHandler) GetEventSource

func (e EventSourceHandler) GetEventSource(writer http.ResponseWriter, request *http.Request)

func (EventSourceHandler) PostEventSource

func (e EventSourceHandler) PostEventSource(writer http.ResponseWriter, request *http.Request)

type FunctionHandler

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

func NewFunctionHandler

func NewFunctionHandler(cfg *settings.Config, functionRepo domain.FunctionRepository, layerRepo domain.LayerRepository,
	runtimeRepo domain.RuntimeRepository, docker *docker.Manager) FunctionHandler

func (FunctionHandler) GetFunctionCodeSigning

func (f FunctionHandler) GetFunctionCodeSigning(response http.ResponseWriter, request *http.Request)

func (FunctionHandler) GetFunctionVersions

func (f FunctionHandler) GetFunctionVersions(response http.ResponseWriter, request *http.Request)

func (FunctionHandler) GetLambdaFunction

func (f FunctionHandler) GetLambdaFunction(response http.ResponseWriter, request *http.Request)

func (FunctionHandler) PostLambdaFunction

func (f FunctionHandler) PostLambdaFunction(writer http.ResponseWriter, request *http.Request)

func (FunctionHandler) PutLambdaConfiguration

func (f FunctionHandler) PutLambdaConfiguration(response http.ResponseWriter, request *http.Request)

type LayerHandler

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

func NewLayerHandler

func NewLayerHandler(cfg *settings.Config, layerRepo domain.LayerRepository, runtimeRepo domain.RuntimeRepository) LayerHandler

func (LayerHandler) GetAllLayerVersions

func (h LayerHandler) GetAllLayerVersions(response http.ResponseWriter, request *http.Request)

func (LayerHandler) GetLayerVersion

func (h LayerHandler) GetLayerVersion(writer http.ResponseWriter, request *http.Request)

func (LayerHandler) PostLayerVersions

func (h LayerHandler) PostLayerVersions(writer http.ResponseWriter, request *http.Request)

Jump to

Keyboard shortcuts

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