Documentation
¶
Index ¶
- Constants
- func Dockerfile2Outline(ctx context.Context, dt []byte, opt ConvertOpt) (*outline.Outline, error)
- func DockerfileLint(ctx context.Context, dt []byte, opt ConvertOpt) (*lint.LintResults, error)
- func ListTargets(ctx context.Context, dt []byte) (*targets.List, error)
- type ConvertOpt
- type PackageDownload
- type PackageInvocation
- func (i *PackageInvocation) Dispatch() error
- func (i *PackageInvocation) DownloadFiles(base llb.State, files []PackageDownload, destination string) (llb.State, error)
- func (i *PackageInvocation) ParseURIs(uris []byte) ([]PackageDownload, error)
- func (i *PackageInvocation) ReadFile(state llb.State, path string) ([]byte, error)
- func (i *PackageInvocation) Run(state llb.State, stageName string, withLayer bool, script []string, ...) (llb.State, error)
- type SBOMTargets
Constants ¶
View Source
const PackageStepCount = 3
Variables ¶
This section is empty.
Functions ¶
func Dockerfile2Outline ¶
func DockerfileLint ¶
func DockerfileLint(ctx context.Context, dt []byte, opt ConvertOpt) (*lint.LintResults, error)
Types ¶
type ConvertOpt ¶
type PackageDownload ¶
type PackageDownload struct {
// contains filtered or unexported fields
}
type PackageInvocation ¶
type PackageInvocation struct {
// contains filtered or unexported fields
}
func NewPackageInvocation ¶
func NewPackageInvocation(d *dispatchState, c *instructions.PackageCommand, dopt dispatchOpt) *PackageInvocation
func (*PackageInvocation) Dispatch ¶
func (i *PackageInvocation) Dispatch() error
func (*PackageInvocation) DownloadFiles ¶
func (i *PackageInvocation) DownloadFiles(base llb.State, files []PackageDownload, destination string) (llb.State, error)
func (*PackageInvocation) ParseURIs ¶
func (i *PackageInvocation) ParseURIs(uris []byte) ([]PackageDownload, error)
type SBOMTargets ¶
func Dockerfile2LLB ¶
func Dockerfile2LLB(ctx context.Context, dt []byte, opt ConvertOpt) (st *llb.State, img, baseImg *dockerspec.DockerOCIImage, sbom *SBOMTargets, err error)
Click to show internal directories.
Click to hide internal directories.