dockerfile2llb

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: Apache-2.0 Imports: 36 Imported by: 63

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dockefile2Outline added in v0.11.0

func Dockefile2Outline(ctx context.Context, dt []byte, opt ConvertOpt) (*outline.Outline, error)

func ListTargets added in v0.11.0

func ListTargets(ctx context.Context, dt []byte) (*targets.List, error)

Types

type ConvertOpt

type ConvertOpt struct {
	dockerui.Config
	Client         *dockerui.Client
	SourceMap      *llb.SourceMap
	TargetPlatform *ocispecs.Platform
	MetaResolver   llb.ImageMetaResolver
	LLBCaps        *apicaps.CapSet
	Warn           func(short, url string, detail [][]byte, location *parser.Range)
}

type SBOMTargets added in v0.11.0

type SBOMTargets struct {
	Core   llb.State
	Extras map[string]llb.State

	IgnoreCache bool
}

func Dockerfile2LLB

func Dockerfile2LLB(ctx context.Context, dt []byte, opt ConvertOpt) (*llb.State, *image.Image, *SBOMTargets, error)

Jump to

Keyboard shortcuts

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