MCPcopy Index your code
hub / github.com/cortexlabs/cortex / Interface

Function Interface

pkg/lib/configreader/interface.go:39–41  ·  view source on GitHub ↗
(inter interface{}, v *InterfaceValidation)

Source from the content-addressed store, hash-verified

37}
38
39func Interface(inter interface{}, v *InterfaceValidation) (interface{}, error) {
40 return ValidateInterfaceProvided(inter, v)
41}
42
43func InterfaceFromInterfaceMap(key string, iMap map[string]interface{}, v *InterfaceValidation) (interface{}, error) {
44 inter, ok := ReadInterfaceMapValue(key, iMap)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected