Documentation
¶
Index ¶
- func BuildCmd(ctx context.Context, imageRef, output string, archs []types.Architecture, ...) error
- func BuildMinirootFSCmd(ctx context.Context, opts ...build.Option) error
- func DotCmd(ctx context.Context, configFile string, archs []types.Architecture, ...) error
- func New() *cobra.Command
- func PublishCmd(ctx context.Context, outputRefs string, archs []types.Architecture, ...) error
- func ResolveCmd(ctx context.Context, output string, archs []types.Architecture, ...) error
- func ShowConfigCmd(ctx context.Context, opts ...build.Option) error
- func ShowPackagesCmd(ctx context.Context, format string, archs []types.Architecture, ...) error
- type PublishOption
- func WithLocal(local bool) PublishOption
- func WithLogger(logger log.Logger) PublishOption
- func WithPackageVersionTag(pvt string) PublishOption
- func WithPackageVersionTagPrefix(packageVersionTagPrefix string) PublishOption
- func WithPackageVersionTagStem(packageVersionTagStem bool) PublishOption
- func WithStageTags(stageTags string) PublishOption
- func WithTagSuffix(tagSuffix string) PublishOption
- func WithTags(tags ...string) PublishOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PublishCmd ¶
func ResolveCmd ¶ added in v0.11.0
func ShowPackagesCmd ¶ added in v0.7.0
Types ¶
type PublishOption ¶ added in v0.9.0
type PublishOption func(*publishOpt) error
PublishOption is an option for publishing
func WithLocal ¶ added in v0.9.0
func WithLocal(local bool) PublishOption
WithLocal sets whether to publish image to local Docker daemon.
func WithLogger ¶ added in v0.9.0
func WithLogger(logger log.Logger) PublishOption
WithLogger logger to use
func WithPackageVersionTag ¶ added in v0.9.0
func WithPackageVersionTag(pvt string) PublishOption
WithPackageVersionTag sets a tag to use, e.g. `glibc-2.31`.
func WithPackageVersionTagPrefix ¶ added in v0.9.0
func WithPackageVersionTagPrefix(packageVersionTagPrefix string) PublishOption
WithPackageVersionTagPrefix sets a tag prefix to use, e.g. `glibc-`.
func WithPackageVersionTagStem ¶ added in v0.9.0
func WithPackageVersionTagStem(packageVersionTagStem bool) PublishOption
WithPackageVersionTagStem sets whether to use the package version tag stem, e.g. `glibc`.
func WithStageTags ¶ added in v0.9.0
func WithStageTags(stageTags string) PublishOption
WithStageTags prevents tagging, and innstead writes all tags to the filename provided.
func WithTagSuffix ¶ added in v0.9.0
func WithTagSuffix(tagSuffix string) PublishOption
WithTagSuffix sets a tag suffix to use, e.g. `-glibc`.
Click to show internal directories.
Click to hide internal directories.