(prev bool)
| 50 | } |
| 51 | |
| 52 | func (d *Deploy) logOptions(prev bool) (*dao.LogOptions, error) { |
| 53 | path := d.GetTable().GetSelectedItem() |
| 54 | if path == "" { |
| 55 | return nil, errors.New("you must provide a selection") |
| 56 | } |
| 57 | dp, err := d.getInstance(path) |
| 58 | if err != nil { |
| 59 | return nil, err |
| 60 | } |
| 61 | |
| 62 | return podLogOptions(d.App(), path, prev, &dp.ObjectMeta, &dp.Spec.Template.Spec), nil |
| 63 | } |
| 64 | |
| 65 | func (d *Deploy) replicaSetsCmd(evt *tcell.EventKey) *tcell.EventKey { |
| 66 | dName := d.GetTable().GetSelectedItem() |
nothing calls this directly
no test coverage detected