(id string, streamMode bool)
| 116 | } |
| 117 | |
| 118 | func (m *ContainerMap) UpdateContainerStreamMode(id string, streamMode bool) (err error) { |
| 119 | info, exist := m.Exist(id) |
| 120 | if !exist { |
| 121 | return ContainerNotExists |
| 122 | } |
| 123 | info.WithStreamMode = streamMode |
| 124 | return nil |
| 125 | } |
| 126 | |
| 127 | func InitContainerMap(podName string, num int) *ContainerMap { |
| 128 | cMap := &ContainerMap{ |
no test coverage detected