GoogleContainerTools / container-debug-support

Language-runtime support files for in-container debugging
Apache License 2.0
93 stars 25 forks source link

Adds UserCacheHome. #2

Closed coollog closed 6 years ago

coollog commented 6 years ago

This is directly ported from Jib: https://github.com/GoogleContainerTools/jib/blob/master/jib-core/src/main/java/com/google/cloud/tools/jib/filesystem/UserCacheHome.java

This class will be useful for the auto-download of skaffold - it will download and cache the executable within a user-level cache at, for example, ~/.cache/google-cloud-tools-java/skaffold/....