package buildflags

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

Index

Functions

func CanonicalizeAttest

func CanonicalizeAttest(attestType string, in string) string

func IsGitSSH

func IsGitSSH(repo string) bool

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

func ParseAnnotations

func ParseAnnotations(inp []string) (map[exptypes.AnnotationKey]string, error)

func ParseAttest

func ParseAttest(in string) (*controllerapi.Attest, error)

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.12.0-rc1
Published
Oct 26, 2023
Platform
js/wasm
Imports
17 packages
Last checked
12 hours ago

Tools for package owners.