k3s/vendor/github.com/containerd/continuity/sysx
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
..
generate.sh
nodata_linux.go
nodata_solaris.go
nodata_unix.go registry mirror repository rewrites (#3064) 2021-03-15 16:17:27 -07:00
README.md
xattr_unsupported.go registry mirror repository rewrites (#3064) 2021-03-15 16:17:27 -07:00
xattr.go registry mirror repository rewrites (#3064) 2021-03-15 16:17:27 -07:00

This package is for internal use only. It is intended to only have temporary changes before they are upstreamed to golang.org/x/sys/ (a.k.a. https://github.com/golang/sys).