Documentation ¶
Overview ¶
Package packer2llb is the main integration point for plugins that implement support for various ecosystems.
Index ¶
Constants ¶
View Source
const DirInstall = "/usr/local/bin"
DirInstall specifies the target path that the binaries will be installed in.
Variables ¶
View Source
var ErrActivate = errors.New("packer2llb: activate plugin")
ErrActivate is returned by plugin's Detect function when plugin detected a compatible project.
Functions ¶
Types ¶
type Plugin ¶
type Plugin interface { // Detect if this plugin is compatible with the project (in which case // ErrActivate is returned). Detect(ctx context.Context, src client.Reference, config *config.Config) error // Build a container image for the project with this plugin. Build(ctx context.Context, platform *specs.Platform, build cib.Service) (*llb.State, *dockerfile2llb.Image, error) }
Plugin represents an ecosystem integration.
Click to show internal directories.
Click to hide internal directories.