mirror of
https://github.com/project-zot/zot.git
synced 2025-01-27 23:01:43 -05:00
zot - A scale-out production-ready vendor-neutral OCI-native container image/artifact registry (purely based on OCI Distribution Specification)
be5ad66797
refactor(http): refactor http client to take options struct This commit updates the arguments for the `CreateHTTPClient` function to consume a struct which can be extended as required. It replaces the certPath argument with a struct of 3 paths for client ertificate, client key, and ca cert. It also adds a TLSEnabled option for when an HTTP Client is required without any further TLS config. Existing consumers of this function have been updated so that they can work as they do today. This change is a no-op for existing features. This allows for certificate paths to be customised and allows other modules to re-use the same HTTP client and get the benefits of mTLS support and per-host certificates. Signed-off-by: Vishwas Rajashekar <vrajashe@cisco.com> |
||
---|---|---|
.github | ||
.zap | ||
build | ||
cmd | ||
demos | ||
docs | ||
errors | ||
examples | ||
pkg | ||
scripts | ||
swagger | ||
test | ||
.gitignore | ||
CODE_OF_CONDUCT.md | ||
codecov.yml | ||
CODEOWNERS | ||
COMPARISON.md | ||
CONTRIBUTING.md | ||
go.mod | ||
go.sum | ||
golangcilint.yaml | ||
LICENSE | ||
MAINTAINERS.md | ||
Makefile | ||
NOTICE | ||
README.md | ||
README_fuzz.md | ||
SECURITY.md | ||
THIRD-PARTY-LICENSES.md | ||
tools.go | ||
zot.go |
zot
zot: a production-ready vendor-neutral OCI image registry - images stored in OCI image format, distribution specification on-the-wire, that's it!
Documentation for zot
is located at: https://zotregistry.dev
Code of conduct details are here.