Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add symlink and new file structure to loader.go binary (bazelbuild#951)
* Add symlink to puller's OCI intermediate format * modify symlink generator to account for new pulled image file structure * amend puller to take in general output directory so as to maintain image convention and add image-oci * simplify directory logic for new file structure and add error checking for safe os operations * refactor utility function into a utility package * rename functions in package and export consts * export ImageDir for consistency and expand error checking * refactor puller binary with const and integrate compat package * add docs for symlink function * Add symlink to puller's OCI intermediate format * modify symlink generator to account for new pulled image file structure * amend puller to take in general output directory so as to maintain image convention and add image-oci * simplify directory logic for new file structure and add error checking for safe os operations * refactor utility function into a utility package * rename functions in package and export consts * export ImageDir for consistency and expand error checking * refactor puller binary with const and integrate compat package * add docs for symlink function * Add symlink and new file structure to loader.go binary * rebase on puller_go to add dependency to loader binary * rebase on puller_go branch and use exported constant in loader binary * update loader binary to be compatible with updated compat package * rename symlink naming to convention src to dst * clarify symlink in docs * Add symlink and new file structure to loader.go binary * rebase on puller_go to add dependency to loader binary * rebase on puller_go branch and use exported constant in loader binary * update loader binary to be compatible with updated compat package * rename variables and remove comments mentioning symlinks
- Loading branch information