Runtime returns the name of the runtime being used
()
| 252 | |
| 253 | // Runtime returns the name of the runtime being used |
| 254 | func (c *Client) Runtime() string { |
| 255 | runtime, _ := c.defaultRuntime(context.TODO()) |
| 256 | return runtime |
| 257 | } |
| 258 | |
| 259 | func (c *Client) defaultRuntime(ctx context.Context) (string, error) { |
| 260 | c.defaults.mut.Lock() |
nothing calls this directly
no test coverage detected