engine

package
v0.0.20 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CraneEngine

type CraneEngine struct {
	Config certification.Config
	// Image is what is being tested, and should contain the
	// fully addressable path (including registry, namespaces, etc)
	// to the image
	Image string
	// Checks is an array of all checks to be executed against
	// the image provided.
	Checks []certification.Check

	// IsBundle is an indicator that the asset is a bundle.
	IsBundle bool

	// IsScratch is an indicator that the asset is a scratch image
	IsScratch bool
	// contains filtered or unexported fields
}

CraneEngine implements a certification.CheckEngine, and leverage crane to interact with the container registry and target image.

func (*CraneEngine) ExecuteChecks

func (c *CraneEngine) ExecuteChecks(ctx context.Context) error

func (*CraneEngine) Results

func (c *CraneEngine) Results(ctx context.Context) runtime.Results

Results will return the results of check execution.

Jump to

Keyboard shortcuts

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