Skip to content

Commit

Permalink
Add initial code for layer scanning. The Image struct is created fr…
Browse files Browse the repository at this point in the history
…om a `v1.Image` which will support layer scanning capabilities. The `Image` struct has chain layers which can be used to extract inventory and also determine the origin layer of packages.

PiperOrigin-RevId: 698401014
  • Loading branch information
Mario Leyva authored and copybara-github committed Nov 20, 2024
1 parent 7ef3529 commit 4df985d
Show file tree
Hide file tree
Showing 29 changed files with 867 additions and 2 deletions.
2 changes: 0 additions & 2 deletions artifact/image/layerscanning/find_base_image.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Package image provides functionality to scan a container image by layers for software
// inventory.
package image

import (
Expand Down
Loading

0 comments on commit 4df985d

Please sign in to comment.