docker

package
v1.0.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	APK   = "apk"
	DPKG  = "dpkg"
	RPM   = "rpm"
	Image = "image"
)
View Source
const AssetType = "docker"

Variables

View Source
var ErrNotFound = errors.New("not found")

Functions

func IsDocker

func IsDocker(a artifact.Artifact) bool

Types

type DockerArtifact

type DockerArtifact struct {
	artifact.GenericArtifact
	// contains filtered or unexported fields
}

func New

func New(path string) (*DockerArtifact, error)

New returns new DockerArtifact object unlike other environments, this New() is not called from bom.New()

func (*DockerArtifact) FileHash

func (a *DockerArtifact) FileHash(name string) (string, error)

func (DockerArtifact) Path

func (p DockerArtifact) Path() string

func (*DockerArtifact) ResolveDependencies

func (a *DockerArtifact) ResolveDependencies(output artifact.OutputOptions) ([]artifact.Dependency, error)

func (DockerArtifact) Type

func (p DockerArtifact) Type() string

Jump to

Keyboard shortcuts

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