k3s/vendor/github.com/containerd/cri/pkg
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
..
annotations Update go.mod for k8s 1.19 2020-08-28 17:18:31 -07:00
api/runtimeoptions/v1 Update go.mod for k8s 1.19 2020-08-28 17:18:31 -07:00
atomic Update go.mod for k8s 1.19 2020-08-28 17:18:31 -07:00
config registry mirror repository rewrites (#3064) 2021-03-15 16:17:27 -07:00
constants Update go.mod for k8s 1.19 2020-08-28 17:18:31 -07:00
containerd registry mirror repository rewrites (#3064) 2021-03-15 16:17:27 -07:00
ioutil Update go.mod for k8s 1.19 2020-08-28 17:18:31 -07:00
netns Update go.mod for k8s 1.19 2020-08-28 17:18:31 -07:00
os Update go.mod for k8s 1.19 2020-08-28 17:18:31 -07:00
registrar Update go.mod for k8s 1.19 2020-08-28 17:18:31 -07:00
seccomp Update go.mod for k8s 1.19 2020-08-28 17:18:31 -07:00
server registry mirror repository rewrites (#3064) 2021-03-15 16:17:27 -07:00
store Update go.mod for k8s 1.19 2020-08-28 17:18:31 -07:00
streaming Update go.mod for k8s 1.19 2020-08-28 17:18:31 -07:00
util Update go.mod for k8s 1.19 2020-08-28 17:18:31 -07:00