()
| 118 | } |
| 119 | |
| 120 | func (c *VolumeCache) Type() Type { |
| 121 | return Volume |
| 122 | } |
| 123 | |
| 124 | // note image names and volume names are validated using the same restrictions: |
| 125 | // see https://github.com/moby/moby/blob/f266f13965d5bfb1825afa181fe6c32f3a597fa3/daemon/names/names.go#L5 |