handler

package
v0.7.1-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2022 License: Apache-2.0 Imports: 46 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

type FileMeta

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

Jump to

Keyboard shortcuts

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