Documentation
¶
Index ¶
- func NewChiMux(layerHandler LayerHandler, functionHandler FunctionHandler, ...) *chi.Mux
- type EventSourceHandler
- type FunctionHandler
- func (f FunctionHandler) GetFunctionCodeSigning(response http.ResponseWriter, request *http.Request)
- func (f FunctionHandler) GetFunctionVersions(response http.ResponseWriter, request *http.Request)
- func (f FunctionHandler) GetLambdaFunction(response http.ResponseWriter, request *http.Request)
- func (f FunctionHandler) PostLambdaFunction(writer http.ResponseWriter, request *http.Request)
- func (f FunctionHandler) PutLambdaConfiguration(response http.ResponseWriter, request *http.Request)
- type LayerHandler
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)
Click to show internal directories.
Click to hide internal directories.