package pb

import "github.com/docker/buildx/controller/pb"

Index

Functions

func CreateAttestations

func CreateAttestations(attests []*Attest) map[string]*string

func CreateCaches

func CreateCaches(entries []*CacheOptionsEntry) []client.CacheOptionsEntry

func CreateExports

func CreateExports(entries []*ExportEntry) ([]client.ExportEntry, []string, error)

func CreateSSH

func CreateSSH(ssh []*SSH) (session.Attachable, error)

func CreateSecrets

func CreateSecrets(secrets []*Secret) (session.Attachable, error)

Types

type Attest

type Attest struct {
	Type     string
	Disabled bool
	Attrs    string
}

type CacheOptionsEntry

type CacheOptionsEntry struct {
	Type  string
	Attrs map[string]string
}

type CallFunc

type CallFunc struct {
	Name         string
	Format       string
	IgnoreStatus bool
}

func (*CallFunc) String

func (x *CallFunc) String() string

type ExportEntry

type ExportEntry struct {
	Type        string
	Attrs       map[string]string
	Destination string
}

type InvokeConfig

type InvokeConfig struct {
	Entrypoint []string
	Cmd        []string
	NoCmd      bool
	Env        []string
	User       string
	NoUser     bool
	Cwd        string
	NoCwd      bool
	Tty        bool
	Rollback   bool
	Initial    bool
}

type SSH

type SSH struct {
	ID    string
	Paths []string
}

type Secret

type Secret struct {
	ID       string
	FilePath string
	Env      string
}

type Ulimit

type Ulimit struct {
	Name string
	Hard int64
	Soft int64
}

type UlimitOpt

type UlimitOpt struct {
	Values map[string]*Ulimit
}

Source Files

attest.go cache.go export.go invoke.go secrets.go ssh.go ulimit.go

Version
v0.24.0-rc1
Published
May 14, 2025
Platform
js/wasm
Imports
13 packages
Last checked
3 hours ago

Tools for package owners.