package build
import "github.com/moby/buildkit/cmd/buildctl/build"
Index ¶
- func ParseAllow(inp []string) ([]entitlements.Entitlement, error)
- func ParseExportCache(exportCaches, legacyExportCacheOpts []string) ([]client.CacheOptionsEntry, error)
- func ParseImportCache(importCaches []string) ([]client.CacheOptionsEntry, error)
- func ParseLegacyExporter(legacyExporter string, legacyExporterOpts []string) ([]client.ExportEntry, error)
- func ParseLocal(locals []string) (map[string]string, error)
- func ParseOpt(opts, legacyFrontendOpts []string) (map[string]string, error)
- func ParseOutput(exports []string) ([]client.ExportEntry, error)
- func ParseSSH(inp []string) ([]sshprovider.AgentConfig, error)
- func ParseSecret(sl []string) (session.Attachable, error)
Functions ¶
func ParseAllow ¶
func ParseAllow(inp []string) ([]entitlements.Entitlement, error)
ParseAllow parses --allow
func ParseExportCache ¶
func ParseExportCache(exportCaches, legacyExportCacheOpts []string) ([]client.CacheOptionsEntry, error)
ParseExportCache parses --export-cache (and legacy --export-cache-opt)
func ParseImportCache ¶
func ParseImportCache(importCaches []string) ([]client.CacheOptionsEntry, error)
ParseImportCache parses --import-cache
func ParseLegacyExporter ¶
func ParseLegacyExporter(legacyExporter string, legacyExporterOpts []string) ([]client.ExportEntry, error)
ParseLegacyExporter parses legacy --exporter <type> --exporter-opt <opt>=<optval>
func ParseLocal ¶
ParseLocal parses --local
func ParseOpt ¶
func ParseOutput ¶
func ParseOutput(exports []string) ([]client.ExportEntry, error)
ParseOutput parses --output
func ParseSSH ¶
func ParseSSH(inp []string) ([]sshprovider.AgentConfig, error)
ParseSSH parses --ssh
func ParseSecret ¶
func ParseSecret(sl []string) (session.Attachable, error)
ParseSecret parses --secret
Source Files ¶
allow.go build.go exportcache.go importcache.go local.go opt.go output.go secret.go ssh.go
- Version
- v0.7.0
- Published
- Mar 25, 2020
- Platform
- js/wasm
- Imports
- 12 packages
- Last checked
- 9 seconds ago –
Tools for package owners.