()
| 46 | } |
| 47 | |
| 48 | func (a *contextPluginAdapter) manager() *ctxmgr.Manager { |
| 49 | if a.cli.contextHandler == nil { |
| 50 | return nil |
| 51 | } |
| 52 | return a.cli.contextHandler.GetManager() |
| 53 | } |
| 54 | |
| 55 | // validContextMode keeps the model from creating a context in a bogus mode. |
| 56 | func validContextMode(mode string) (ctxmgr.ProcessingMode, bool) { |
no test coverage detected