- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for newInstance (0.15 sec)
-
istioctl/pkg/validate/validate.go
func fromSchemaAndJSONMap(schema resource.Schema, data any) (config.Spec, error) { // Marshal to json bytes str, err := json.Marshal(data) if err != nil { return nil, err } out, err := schema.NewInstance() if err != nil { return nil, err } if err = config.ApplyJSONStrict(out, string(str)); err != nil { return nil, err } return out, nil
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Jan 22 17:58:52 GMT 2024 - 15K bytes - Viewed (0)