package provenance
import "github.com/moby/buildkit/solver/llbsolver/provenance"
Index ¶
- func FilterArgs(m map[string]string) map[string]string
- func NewPredicate(c *Capture) (*provenancetypes.ProvenancePredicate, error)
- type Capture
- func (c *Capture) AddGit(g provenancetypes.GitSource)
- func (c *Capture) AddHTTP(h provenancetypes.HTTPSource)
- func (c *Capture) AddImage(i provenancetypes.ImageSource)
- func (c *Capture) AddLocal(l provenancetypes.LocalSource)
- func (c *Capture) AddSSH(s provenancetypes.SSH)
- func (c *Capture) AddSamples(dgst digest.Digest, samples *resourcestypes.Samples)
- func (c *Capture) AddSecret(s provenancetypes.Secret)
- func (c *Capture) Merge(c2 *Capture) error
- func (c *Capture) OptimizeImageSources() error
- func (c *Capture) Sort()
- type Result
Functions ¶
func FilterArgs ¶
func NewPredicate ¶
func NewPredicate(c *Capture) (*provenancetypes.ProvenancePredicate, error)
Types ¶
type Capture ¶
type Capture struct { Frontend string Args map[string]string Sources provenancetypes.Sources Secrets []provenancetypes.Secret SSH []provenancetypes.SSH NetworkAccess bool IncompleteMaterials bool Samples map[digest.Digest]*resourcestypes.Samples }
func (*Capture) AddGit ¶
func (c *Capture) AddGit(g provenancetypes.GitSource)
func (*Capture) AddHTTP ¶
func (c *Capture) AddHTTP(h provenancetypes.HTTPSource)
func (*Capture) AddImage ¶
func (c *Capture) AddImage(i provenancetypes.ImageSource)
func (*Capture) AddLocal ¶
func (c *Capture) AddLocal(l provenancetypes.LocalSource)
func (*Capture) AddSSH ¶
func (c *Capture) AddSSH(s provenancetypes.SSH)
func (*Capture) AddSamples ¶
func (c *Capture) AddSamples(dgst digest.Digest, samples *resourcestypes.Samples)
func (*Capture) AddSecret ¶
func (c *Capture) AddSecret(s provenancetypes.Secret)
func (*Capture) Merge ¶
func (*Capture) OptimizeImageSources ¶
OptimizeImageSources filters out image sources by digest reference if same digest is already present by a tag reference.
func (*Capture) Sort ¶
func (c *Capture) Sort()
type Result ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
solver/llbsolver/provenance/types |
- Version
- v0.16.0-rc2
- Published
- Sep 9, 2024
- Platform
- js/wasm
- Imports
- 13 packages
- Last checked
- 1 hour ago –
Tools for package owners.