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 ¶
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) 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
Click to show internal directories.
Click to hide internal directories.