0
Fork 0
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)
Find a file
Vishwas R be5ad66797
refactor(http): refactor http client to accept more customisable options (#2414)
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>
2024-05-06 13:43:41 -07:00
.github chore: fix dependabot alerts (#2399) 2024-04-22 12:52:46 -07:00
.zap feat(ui): update zui version (#2162) 2024-01-17 17:22:33 +02:00
build ci: add description field to our published images (#2354) 2024-04-01 08:40:09 -07:00
cmd refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
demos refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
docs swagger: rename 'docs/' to 'swagger/' 2021-10-21 13:46:14 -07:00
errors fix: additional input validation for CVE graphQL query (#2408) 2024-04-24 09:23:17 +03:00
examples Add a job to check zot config examples (and fix existing examples) (#2322) 2024-03-21 10:23:37 -07:00
pkg refactor(http): refactor http client to accept more customisable options (#2414) 2024-05-06 13:43:41 -07:00
scripts build(go): switch to go 1.21 (#2049) 2024-02-07 10:54:28 -08:00
swagger fix(oras)!: remove ORAS artifact references support (#2294) 2024-03-06 12:16:42 -08:00
test ci: add a ML model artifact test case (#2332) 2024-03-21 22:30:43 +02:00
.gitignore refactor(metadb): improve UX by speeding up metadb serialize/deserialize (#1842) 2023-10-30 13:06:04 -07:00
CODE_OF_CONDUCT.md
codecov.yml refactor(metadb): improve UX by speeding up metadb serialize/deserialize (#1842) 2023-10-30 13:06:04 -07:00
CODEOWNERS add a CODEOWNERS file 2022-05-04 11:52:28 -07:00
COMPARISON.md move references to zotregistry.io and project-zot 2021-12-05 10:52:27 -08:00
CONTRIBUTING.md build: fix container image targets (#1856) 2023-10-04 09:12:56 -07:00
go.mod chore: fix dependabot alerts (#2411) 2024-04-30 11:10:38 +03:00
go.sum chore: fix dependabot alerts (#2411) 2024-04-30 11:10:38 +03:00
golangcilint.yaml chore: fix dependabot alerts (#2352) 2024-03-26 11:33:25 -07:00
LICENSE docs: fix copyright related info for cncf onboarding (#1117) 2023-01-17 15:43:45 -08:00
MAINTAINERS.md docs: fix CNCF related documentation (#1099) 2023-01-10 15:52:11 -08:00
Makefile feat(ui): new signature UX (#2339) 2024-03-25 10:38:09 -07:00
NOTICE docs: fix copyright related info for cncf onboarding (#1117) 2023-01-17 15:43:45 -08:00
README.md chore: add ossf scorecard 2024-03-14 09:43:42 -07:00
README_fuzz.md Add fuzz tests for storage_fs (#601) 2022-07-27 20:37:55 +03:00
SECURITY.md chore: update support matrix 2024-03-14 09:43:42 -07:00
THIRD-PARTY-LICENSES.md chore: fix dependabot alerts (#2393) 2024-04-19 07:58:25 +03:00
tools.go chore(trivy): update trivy version and enforce OCI compliant repo names in local image storage (#1068) 2023-01-18 08:24:44 -08:00
zot.go

zot build test nightly jobs codecov.io Conformance Results CodeQL CII Best Practices OpenSSF Scorecard Go Reference

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.