anchore

package
v0.0.0-...-1dc87c9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckImage

func CheckImage(image string, isCached bool, isWhiteListed bool) (v1alpha1.AuditImage, bool)

CheckImage checking Image with Anchore

Types

type Check

type Check struct {
	LastEvaluation string `json:"last_evaluation"`
	PolicyID       string `json:"policy_id"`
	Status         string `json:"status"`
}

Check type for Anchore check.

type Image

type Image struct {
	ImageDigest string `json:"imageDigest"`
	LastUpdated string `json:"last_updated"`
}

Image type for Anchore image.

type SHAResult

type SHAResult struct {
	Status string
}

SHAResult type for Anchore result.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL