()
| 350 | |
| 351 | func (c *SessionController) FenceToken() int64 { return c.fenceToken } |
| 352 | |
| 353 | func (c *SessionController) RuntimeIdentity() cluster.RuntimeIdentity { |
| 354 | return c.identity |
| 355 | } |
| 356 | |
| 357 | func (c *SessionController) RuntimeConfig() config.Config { |
| 358 | c.stateMu.Lock() |
| 359 | state := c.state |
| 360 | c.stateMu.Unlock() |
| 361 | cfg := c.cfg |
| 362 | if state != nil && state.YoloEnabled() { |
| 363 | cfg.Yolo = true |
| 364 | } |
| 365 | return cfg |
| 366 | } |
| 367 | |
| 368 | func (c *SessionController) Mount() { |
| 369 | c.stateMu.Lock() |
| 370 | state := c.state |
| 371 | c.stateMu.Unlock() |
| 372 | c.ui.MountStateSnapshot(state) |
no test coverage detected