package commands
import "github.com/docker/buildx/commands"
Index ¶
- func NewRootCmd(name string, isPlugin bool, dockerCli *command.DockerCli) *cobra.Command
- func RunBuild(ctx context.Context, dockerCli command.Cli, in *BuildOptions, inStream io.Reader, progress progress.Writer, bh *build.Handler) (*client.SolveResponse, *build.Inputs, error)
- type BuildOptions
Functions ¶
func NewRootCmd ¶
func RunBuild ¶
func RunBuild(ctx context.Context, dockerCli command.Cli, in *BuildOptions, inStream io.Reader, progress progress.Writer, bh *build.Handler) (*client.SolveResponse, *build.Inputs, error)
RunBuild runs the specified build and returns the result.
Types ¶
type BuildOptions ¶
type BuildOptions struct { ContextPath string DockerfileName string CallFunc *buildflags.CallFunc NamedContexts map[string]string Allow []string Attests buildflags.Attests BuildArgs map[string]string CacheFrom []*buildflags.CacheOptionsEntry CacheTo []*buildflags.CacheOptionsEntry CgroupParent string Exports []*buildflags.ExportEntry ExtraHosts []string Labels map[string]string NetworkMode string NoCacheFilter []string Platforms []string Secrets buildflags.Secrets ShmSize int64 SSH []*buildflags.SSH Tags []string Target string Ulimits *dockeropts.UlimitOpt Builder string NoCache bool Pull bool ExportPush bool ExportLoad bool SourcePolicy *sourcepolicy.Policy Ref string GroupRef string Annotations []string ProvenanceResponseMode string }
Source Files ¶
bake.go build.go create.go dial_stdio.go diskusage.go inspect.go install.go ls.go prune.go rm.go root.go stop.go uninstall.go use.go util.go version.go
Directories ¶
Path | Synopsis |
---|---|
commands/debug | |
commands/history | |
commands/imagetools |
- Version
- v0.25.0-rc2
- Published
- Jun 16, 2025
- Platform
- darwin/amd64
- Imports
- 91 packages
- Last checked
- 4 hours ago –
Tools for package owners.