applier

package
v3.9.0-2849 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyLayers

func ApplyLayers(layers []types.BlobInfo) types.ArtifactDetail

ApplyLayers returns the merged layer nolint: gocyclo

Types

type Applier

type Applier interface {
	ApplyLayers(artifactID string, blobIDs []string) (detail ftypes.ArtifactDetail, err error)
}

Applier defines operation to scan image layers

func NewApplier

func NewApplier(c cache.LocalArtifactCache) Applier

type Config

type Config struct {
	ContainerConfig containerConfig `json:"container_config"`
	History         []History
}

type History

type History struct {
	Created   time.Time
	CreatedBy string `json:"created_by"`
}

Jump to

Keyboard shortcuts

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