package builder

import "github.com/docker/cli/cli/command/builder"

Index

Functions

func CachePrune

func CachePrune(ctx context.Context, dockerCli command.Cli, all bool, filter opts.FilterOpt) (uint64, string, error)

CachePrune executes a prune command for build cache

func NewBakeStubCommand

func NewBakeStubCommand(dockerCLI command.Streams) *cobra.Command

NewBakeStubCommand returns a cobra command "stub" for the "bake" subcommand. This command is a placeholder / stub that is dynamically replaced by an alias for "docker buildx bake" if BuildKit is enabled (and the buildx plugin installed).

func NewBuilderCommand

func NewBuilderCommand(dockerCli command.Cli) *cobra.Command

NewBuilderCommand returns a cobra command for `builder` subcommands

func NewPruneCommand

func NewPruneCommand(dockerCli command.Cli) *cobra.Command

NewPruneCommand returns a new cobra prune command for images

Source Files

cmd.go prune.go

Version
v28.1.0-rc.1+incompatible
Published
Apr 11, 2025
Platform
linux/amd64
Imports
14 packages
Last checked
19 minutes ago

Tools for package owners.