(ctx context.Context, field graphql.CollectedField)
| 1624 | } |
| 1625 | |
| 1626 | func (ec *executionContext) fieldContext_Model_deployment(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { |
| 1627 | fc = &graphql.FieldContext{ |
| 1628 | Object: "Model", |
| 1629 | Field: field, |
| 1630 | IsMethod: false, |
| 1631 | IsResolver: false, |
| 1632 | Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { |
| 1633 | switch field.Name { |
| 1634 | case "enabled": |
| 1635 | return ec.fieldContext_ModelDeployment_enabled(ctx, field) |
| 1636 | case "cpu": |
| 1637 | return ec.fieldContext_ModelDeployment_cpu(ctx, field) |
| 1638 | case "memory": |
| 1639 | return ec.fieldContext_ModelDeployment_memory(ctx, field) |
| 1640 | } |
| 1641 | return nil, fmt.Errorf("no field named %q was found under type ModelDeployment", field.Name) |
| 1642 | }, |
| 1643 | } |
| 1644 | return fc, nil |
| 1645 | } |
| 1646 | |
| 1647 | func (ec *executionContext) _ModelDeployment_enabled(ctx context.Context, field graphql.CollectedField, obj *model.ModelDeployment) (ret graphql.Marshaler) { |
| 1648 | fc, err := ec.fieldContext_ModelDeployment_enabled(ctx, field) |
no test coverage detected