package buildflags

import "github.com/docker/buildx/util/buildflags"

Index

Functions

func CanonicalizeAttest

func CanonicalizeAttest(attestType string, in string) string

func IsGitSSH

func IsGitSSH(url string) bool

IsGitSSH returns true if the given repo URL is accessed over ssh

func ParseAttests

func ParseAttests(in []string) ([]*controllerapi.Attest, error)

func ParseCacheEntry

func ParseCacheEntry(in []string) ([]*controllerapi.CacheOptionsEntry, error)

func ParseContextNames

func ParseContextNames(values []string) (map[string]string, error)

func ParseEntitlements

func ParseEntitlements(in []string) ([]entitlements.Entitlement, error)

func ParseExports

func ParseExports(inp []string) ([]*controllerapi.ExportEntry, error)

func ParsePrintFunc

func ParsePrintFunc(str string) (*controllerapi.PrintFunc, error)

func ParseSSHSpecs

func ParseSSHSpecs(sl []string) ([]*controllerapi.SSH, error)

func ParseSecretSpecs

func ParseSecretSpecs(sl []string) ([]*controllerapi.Secret, error)

Source Files

attests.go cache.go context.go entitlements.go export.go printfunc.go secrets.go ssh.go

Version
v0.11.0-rc1
Published
May 12, 2023
Platform
js/wasm
Imports
13 packages
Last checked
6 hours ago

Tools for package owners.