Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/thesayyn/go-containerregistry
Go library and CLIs for working with container registries
https://github.com/thesayyn/go-containerregistry
876b8855d23c32bdb30f1929de2977ed3d1653ff authored over 5 years ago
342edc910ac5a0efefb73b303040dfcc5569e91d authored over 5 years ago
* Add Platform.features and platform matching checks for broadest compatibility
* Changed mat...
6991786f93129be24f857070fe94754a9ea02a0a authored over 5 years ago
Produced via:
`gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
...
* strawman cache impl
* comments, fixes
* some tests
* tests for fs, fix some bugs
*...
15879f261e2082fe64b9f92d6738f4d959615dfc authored over 5 years agobb17f50c1bc6808972811ed2894ecaaeb5de68ad authored over 5 years ago
* Retry layer upload on BLOB_UPLOAD_INVALID error
* remote write: make retry constants local
242243f1fd4caf9aa48a8036bc083089ba431035 authored over 5 years ago* Add error details in CheckPushPermission.
Really nasty to find know exactly where things we...
5025889e0b59c2bf3f190d070c4c2611f4baa620 authored over 5 years ago1c6c7f61e8a5402b606c3c6db169fdcd1b0712b7 authored almost 6 years ago
d1e67cf25ac607e7cf7d49ee881647a28d0a0ce6 authored almost 6 years ago
c3ea05f1377a4e5d434e9b020e427bc4556946fa authored almost 6 years ago
c0e9ae646c64850bcb030c80c1fdeb8fc8f5302e authored almost 6 years ago
b6d875c30fe7d51e952909e585882149f6fedf74 authored almost 6 years ago
* Remove unused *http.Client
* Remove unnecessary loop with append(...)
* drop unnecessary...
e217ba3818bb6684b741f7512daa4e1115b88dc6 authored almost 6 years agoAlso fix a off by 1 bug causing docker -> crane containers to break.
eed5c99a29d5bf81e96d7b79ed60e6b4b290bb2c authored almost 6 years ago* Add tests for Docker-Content-Digest and Location headers.
These fixes were added to get doc...
5882317425a3114dfd1fd065ba21e74396c919f5 authored almost 6 years agoThis allows the package comment to correctly show up in go doc.
7d6d1d3cd63b486f713ddf83be5956744f4e1bb3 authored almost 6 years ago* registry: Add basic support for manifests
* registry: Support monolithic direct uploads.
...
973decc16c27a948bc8fa8284fc4b4b2e56a3dc5 authored almost 6 years agoI accidentally forgot to commit some review changes
895606788f7b005ed5ee462bf62ac65c31659392 authored almost 6 years ago72e841a0a67096bac69241466bc03dc40b8c5952 authored almost 6 years ago
* registry: Create initial registry folder and support v2 version check.
* registry: Set the ...
8d7999607156dc5d8451d32c5eb5d81376684cc1 authored almost 6 years ago* Add crane export
This is useful for viewing the filesystem of a remote image without
havin...
Fixes #428
ec69c4a8a1bff25fcbe096fcb32c9a6543fbdccf authored almost 6 years ago* Remove ko from this repo
* Re-add ko's README as a pointer to its new home
f1df91a4a813cbc183527dc7b9a31ea6454557b5 authored almost 6 years ago* Rewrite remote streaming layer handling
Assume errors in v1.Layer.Digest are related to str...
eedaddc5e2c83048da48d5a427134d5ba422ba81 authored almost 6 years agoSigned-off-by: Dave Protasowski <[email protected]>
746d3d3a7303b11a0880748d1e1c1f211e6f761b authored almost 6 years ago
In #398 we changed the manifest resolution to default to amd64/linux but
didn't update the test...
80cc55a02b4234cd9424777ae149059ed1119828 authored almost 6 years ago
This is now the default.
7df26a6795af089f2cac25d48650d07960b2b33d authored almost 6 years ago* Refactor pkg/name to use options
This changes the Strictness parameter to be a more general...
e1c5762cb945605669ed5fcb3124e3f839e5cc79 authored almost 6 years ago4391daf33639a78d1296b4b3968cb9c6990f66ba authored almost 6 years ago
This provides a more idiomatic way to create
layers from readers without having to understand O...
Signed-off-by: Vincent Demeester <[email protected]>
148cd1779cb1714c4af0d75777eb24ee6b06f188 authored almost 6 years ago* Add remote.Descriptor
This resolves a mismatch between how registries actually work and our...
871d0d9dba6c1a9aa6aed154d5a936ebf7607a1d authored almost 6 years ago* add CheckPullPermission
* Add test against real registries, and a comment about GCR
* Up...
8621d738a07bc74b2adeafd175a3c738423577a0 authored almost 6 years ago
Having a RepoTags entry is optional, it is possible
to write without tags using digests - makin...
Produced via:
`gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
...
* Add pkg/v1/layout
This allows reading/writing images from/to an OCI image layout:
https://...
8c1640add99804503b4126abc718931a4d93c31a authored almost 6 years ago
* Resolve manifest lists to manifests in remote.Image
We currently rely on the registry to do...
77f32e8c86022abc77aeb24f9ff9bcb9d2701b1a authored almost 6 years ago88208fda663c6e2a91216cd34f917e6b0228b5e9 authored almost 6 years ago
Produced via:
`gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
...
678f6c51f585140f8d0c07f6f7e193f7a4c8e457 authored almost 6 years ago
* Dedupe layer uploads where possible
* Add test
* fix races
* review comments
1b9964cf67ca46b71156bd0107b7b5975a586404 authored almost 6 years ago4aac97bd085d96caedbc8213ddb6f489b7eb6706 authored almost 6 years ago
This was allowing a missing digest after "@" for weak validation. That
doesn't make sense for d...
* Add empty index
244d6ecfbae342821e8a1333f1e4c7e0f8a128d9 authored almost 6 years ago
Produced via:
`gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
...
fixes #351
16d6587b5a87052c861b30443f31c588a319e8d4 authored almost 6 years ago* Add index support to gcrane cp
* Add index support to crane cp
* Clean up fallback logic
abef0313a8efdcbd9e67bfca1f2e628a989067f3 authored almost 6 years ago* Implement remote.WriteIndex
* Reuse writer for remote.WriteIndex
* Test remote.WriteInde...
74bdd8ec357bec0f0c86d4a020c7d12a6518caf8 authored almost 6 years ago* Implement remote.Index
* Share remote code between image and index
* Test remote.Index
...
* Add validate.Image
This function ensures that we don't violate any invariants that we
expe...
* Update v1.ImageIndex to be more usable
1. Rename RawIndexManifest to RawManifest
2. Add Im...
* Name the app using the base of the importpath
* Create parent directory, handle invalid bas...
d3e6a441f49f6a3e4b52412a67fb260f8b22f70c authored almost 6 years agoFixes #372
bada66e31e55b96029f4e456f8eb107f58319629 authored almost 6 years ago
These are polluting our configs with default values, some of which
aren't present in the OCI co...
Produced via:
`gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
...
Produced via:
`gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
...
f8829ed13c9368617af154cb52a30f0781e86469 authored about 6 years ago
kaniko's tar files produced error messages about truncated files when
expanding the layers. Th...
* Add http fallback
This first attempts to use "https" for every request, falling back to
"h...
This was getting marshalled incorrectly when not a pointer.
492af5c3f2b67800ab4e3e14dc22dcd282f55cf6 authored about 6 years ago2s is pretty long, so this removes one digit.
Also fixes a bug in the test failure output.
adfc4ccc20f150b1bbc3212b89064870d93f8533 authored about 6 years ago
This was testing an image with 1024 layers, each 5 bytes, instead of 5
layers, each 1024 bytes.
51c402edb5b68081b2b2f390250207550e7c67c2 authored about 6 years ago
This works around buffering in kubectl that led me to workaround this issuewhen experimenting wi...
d39cafd17784ac21c49ab3a04b712894e1c58601 authored about 6 years agoThis fixes everything under golint ./cmd/... and golint ./pkg/...
52aa2729ea7597c8d5f7d6a977fa5cab9fc3a77a authored about 6 years ago
This is checked by some clients, and using empty.Image fails these
checks because it uses rando...
Fixes #339
[`gcr.io/distroless/static:latest`](https://github.com/GoogleContainerTools/distr...
1496eb6b0470a163639aaff730c61247df8ec0be authored about 6 years ago027a2ab1e725b121b60fef3d38c1f9824645ae1f authored about 6 years ago
4d5c197c631b43d5a2b258eb871512999bd817c5 authored about 6 years ago
This change assumes RFC1918 addresses are insecure and use the
http scheme. This is the same a...
* loading image only once.
* change logic of tagging.
* typo.
* removing newline.
* ...
efb7e1b888e142e2c66af20fd44e76a939b2cc3e authored about 6 years ago* Support overriding the tag while publishing an image.
* Add tag flag to resolve, apply and ...
686906b30117e91502533cb0569798af65a1769f authored about 6 years ago
Produced via:
`gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
...
* ko apply --watch
This adds experimental support for fsnotify integration for `ko apply`.
...
caf7c6e366716b04fb9876ca00d55dedb72e4f23 authored about 6 years ago* Move CheckError from remote to transport
We'd like to use this inside transport, but we can...
15b751c1c044fd2c31a13c46d9e97600a88eb8cb authored about 6 years ago
This cuts down on invocations of gcloud, which results in a dramatic
speedup for `gcrane ls -r`.
This always trips me up because every other project I work with puts
this stuff under hack/.
This adds an implementation of ko's `build.Interface` that simply records the targets that it is...
f7ba3f84707e73200b7584ee36e4b2ef05365773 authored about 6 years ago
We were buffering the output of resolveFilesToWriter instead of just
writing directly to kubect...
Today the resolution logic in `ko` resolves all files before it starts to feed anything to `kube...
445e1cc3dc60db728a864588d51a6828842bd0fe authored about 6 years ago
Produced via:
`gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
...
Before we were just publishing crane.
f43897669ed9bb8a4629e808c7a2f6040c5491d7 authored about 6 years ago* Upload config concurrently if we can
https://github.com/google/go-containerregistry/pull/30...
3f25dfd242e41e56595de74ade0ac59c2f4626a1 authored about 6 years ago
Signed-off-by: Emily Casey <[email protected]>
Signed-off-by: Matthew McNew <[email protected]>
This adds support for a `ko run` shortcut that effectively composes
`ko publish` and `kubectl r...
When you run a ko command, it outputs nothing for a few seconds while it
builds go binaries. Th...
* Reference `gcrane cp -r`
* Reference k8schain from top-level README
* Wordwrap at 80 columns.
1d7c260b3d3c1b33ff96c1ec002b70db42f7d877 authored about 6 years ago
* Delete broken symlinks which confuse gcloud builds submit
* ko publish -P
* Update updat...
d1ad8c8ce2a1445e5ea4bb93c70dcf1603d49fab authored about 6 years ago* Unignore genericclioptions in .gcloudignore
* Run dep ensure
8cbd761148bfa99f4330f503c56b21e373198a53 authored about 6 years ago
Produced via:
`gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
...
Produced via:
`gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
...
* Implement recursive copy for gcrane
* Use google.Keychain for auth
* Add googley auth mechanisms
Going through the credential helper for everything has some dra...
e08ad85eac0df6b98917680bbac6cdeb335f50f3 authored about 6 years ago* Vendor genericclioptions
* Pass kubectl global flags through for ko apply
This registers...
68537023cae86a3267a37354535baa614ad29924 authored about 6 years agoFixes #305
1b04aba5d42f04c4192818f896b0e18efed37cad authored about 6 years ago17999b05b92c9a1c8fcf47f7ece90ac0dfc04c27 authored about 6 years ago