(ctx context.Context)
| 101 | } |
| 102 | |
| 103 | func InstanceHasJITConfig(ctx context.Context) bool { |
| 104 | elem := ctx.Value(instanceHasJITConfig) |
| 105 | if elem == nil { |
| 106 | return false |
| 107 | } |
| 108 | return elem.(bool) |
| 109 | } |
| 110 | |
| 111 | func SetInstanceParams(ctx context.Context, instance params.Instance) context.Context { |
| 112 | return context.WithValue(ctx, instanceParams, instance) |
no outgoing calls
no test coverage detected