Documentation
¶
Overview ¶
Package pluginzip creates distributable zip archives for plugins. Each archive contains the plugin's buf.plugin.yaml and an image.tar produced by "docker save" of a locally available image.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create( ctx context.Context, logger *slog.Logger, p *plugin.Plugin, imageRef string, outputDir string, ) (string, error)
Create writes <outputDir>/<Name(p)> containing the plugin's buf.plugin.yaml and an image.tar produced by "docker save imageRef". The image must already be available to the local Docker daemon. Returns the path to the zip file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.