package build

import "github.com/moby/buildkit/cmd/buildctl/build"

Index

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

func ParseLocal(locals []string) (map[string]string, error)

ParseLocal parses --local

func ParseOpt

func ParseOpt(opts, legacyFrontendOpts []string) (map[string]string, error)

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.10.2
Published
Apr 27, 2022
Platform
js/wasm
Imports
12 packages
Last checked
1 minute ago

Tools for package owners.