Documentation
¶
Index ¶
- Constants
- func DeepCopy(data interface{}) interface{}
- func DeepCopyMap(data map[string]interface{}) map[string]interface{}
- func GetMaxStepCount() int
- func IsValidTaskType(modelName string, taskType string) bool
- func RegisterModelValidator(modelName string, validator ModelValidator)
- type ModelValidator
Constants ¶
View Source
const ( FlogoStepCountEnv = "FLOGO_MAX_STEP_COUNT" MaxStepCountDefault = 10000000 )
Variables ¶
This section is empty.
Functions ¶
func DeepCopyMap ¶ added in v1.4.0
func GetMaxStepCount ¶ added in v1.6.8
func GetMaxStepCount() int
GetMaxStepCount returns the step limit
func IsValidTaskType ¶
func RegisterModelValidator ¶
func RegisterModelValidator(modelName string, validator ModelValidator)
Types ¶
type ModelValidator ¶
func GetModelValidator ¶
func GetModelValidator(modelName string) ModelValidator
Click to show internal directories.
Click to hide internal directories.