Documentation ¶
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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ¶ added in v0.12.0
func (c *Capture) AddSamples(dgst digest.Digest, samples *resourcestypes.Samples)
func (*Capture) AddSecret ¶
func (c *Capture) AddSecret(s provenancetypes.Secret)
func (*Capture) OptimizeImageSources ¶
OptimizeImageSources filters out image sources by digest reference if same digest is already present by a tag reference.
Click to show internal directories.
Click to hide internal directories.