k3s/vendor/github.com/containerd/continuity/devices
Jacob Blain Christen 618b0f98bf
registry mirror repository rewrites (#3064)
Support repository regex rewrite rules when fetching image content.

Example configuration:
```yaml
# /etc/rancher/k3s/registries.yaml
mirrors:
  "docker.io":
    endpoint:
    - "https://registry-1.docker.io/v2"
    rewrite:
      "^library/alpine$": "my-org/alpine"
```

This will instruct k3s containerd to fetch content for `alpine` images
from `docker.io/my-org/alpine` instead of the default
`docker.io/library/alpine` locations.

Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2021-03-15 16:17:27 -07:00
..
devices_unix.go registry mirror repository rewrites (#3064) 2021-03-15 16:17:27 -07:00
devices_windows.go Update vendor 2019-01-11 21:58:27 -07:00
devices.go Update vendor 2019-01-11 21:58:27 -07:00
mknod_freebsd.go registry mirror repository rewrites (#3064) 2021-03-15 16:17:27 -07:00
mknod_unix.go registry mirror repository rewrites (#3064) 2021-03-15 16:17:27 -07:00