package buildflags
import "github.com/docker/buildx/util/buildflags"
Index ¶
- func CanonicalizeAttest(attestType string, in string) string
- func IsGitSSH(repo string) bool
- func ParseAnnotations(inp []string) (map[exptypes.AnnotationKey]string, error)
- func ParseAttest(in string) (*controllerapi.Attest, error)
- func ParseAttests(in []string) ([]*controllerapi.Attest, error)
- func ParseCacheEntry(in []string) ([]*controllerapi.CacheOptionsEntry, error)
- func ParseContextNames(values []string) (map[string]string, error)
- func ParseEntitlements(in []string) ([]entitlements.Entitlement, error)
- func ParseExports(inp []string) ([]*controllerapi.ExportEntry, error)
- func ParsePrintFunc(str string) (*controllerapi.PrintFunc, error)
- func ParseSSHSpecs(sl []string) ([]*controllerapi.SSH, error)
- func ParseSecretSpecs(sl []string) ([]*controllerapi.Secret, error)
Functions ¶
func CanonicalizeAttest ¶
func IsGitSSH ¶
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 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.13.0
- Published
- Mar 5, 2024
- Platform
- js/wasm
- Imports
- 17 packages
- Last checked
- 9 hours ago –
Tools for package owners.