prevents garbage collection from removing pinned images

This commit is contained in:
Skyler Clark
2021-11-02 14:42:10 -04:00
parent 4c849acea6
commit d3ae0a381a
7 changed files with 105 additions and 4 deletions

View File

@@ -371,6 +371,8 @@ type Image struct {
Size int64
// ImageSpec for the image which include annotations.
Spec ImageSpec
// Pin for preventing garbage collection
Pinned bool
}
// EnvVar represents the environment variable.