handler

package
v0.13.0-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 50 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DBModelDefinitionToPBModelDefinition

func DBModelDefinitionToPBModelDefinition(dbModelDefinition *datamodel.ModelDefinition) *modelPB.ModelDefinition

func DBModelInstanceToPBModelInstance

func DBModelInstanceToPBModelInstance(modelDef *datamodel.ModelDefinition, model *datamodel.Model, dbModelInstance *datamodel.ModelInstance) *modelPB.ModelInstance

func DBModelToPBModel

func DBModelToPBModel(modelDef *datamodel.ModelDefinition, dbModel *datamodel.Model) *modelPB.Model

func HandleCreateModelByMultiPartFormData

func HandleCreateModelByMultiPartFormData(w http.ResponseWriter, r *http.Request, pathParams map[string]string)

HandleCreateModelByMultiPartFormData is a custom handler

func HandleTestModelInstanceByUpload

func HandleTestModelInstanceByUpload(w http.ResponseWriter, r *http.Request, pathParams map[string]string)

func HandleTriggerModelInstanceByUpload

func HandleTriggerModelInstanceByUpload(w http.ResponseWriter, r *http.Request, pathParams map[string]string)

func PBModelToDBModel

func PBModelToDBModel(owner string, pbModel *modelPB.Model) *datamodel.Model

Types

This section is empty.

Jump to

Keyboard shortcuts

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