(req *PathRequest)
| 176 | } |
| 177 | |
| 178 | func (p *testPlugin) Path(req *PathRequest) (*PathResponse, error) { |
| 179 | p.path++ |
| 180 | for _, v := range p.volumes { |
| 181 | if v == req.Name { |
| 182 | return &PathResponse{}, nil |
| 183 | } |
| 184 | } |
| 185 | return &PathResponse{}, fmt.Errorf("no such volume") |
| 186 | } |
| 187 | |
| 188 | func (p *testPlugin) Mount(req *MountRequest) (*MountResponse, error) { |
| 189 | p.mount++ |
nothing calls this directly
no outgoing calls
no test coverage detected