actions

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadImage

func DownloadImage(image string, containerEngine string) error

func ExtractIndexDB

func ExtractIndexDB(image string, containerEngine string) error

func GetDataFromBundleImage

func GetDataFromBundleImage(auditBundle *models.AuditBundle,
	disableScorecard,
	disableValidators,
	serverMode bool,
	label,
	labelValue string,
	containerEngine string,
	indexImage string) *models.AuditBundle

GetDataFromBundleImage returns the bundle from the image

func RunScorecard

func RunScorecard(bundleDir string, auditBundle *models.AuditBundle) *models.AuditBundle

func RunValidators

func RunValidators(bundlePath string, auditBundle *models.AuditBundle, indexImage string) *models.AuditBundle

Types

type BundleAnnotations

type BundleAnnotations struct {
	Annotations map[string]string `yaml:"annotations,omitempty"`
}

type Manifest

type Manifest struct {
	Config string
	Layers []string
}

Manifest define the manifest.json which is required to read the bundle

Jump to

Keyboard shortcuts

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