Versions in this module Expand all Collapse all v1 v1.1.10 Dec 12, 2023 Changes in this version + const ShipyardBuildType + func FilterArgs(m map[string]string) map[string]string + type BuildConfig struct + Definition []BuildStep + DigestMapping map[digest.Digest]string + type BuildStep struct + ID string + Inputs []string + Op pb.Op + ResourceUsage *resourcestypes.Samples + type Capture struct + Args map[string]string + Frontend string + IncompleteMaterials bool + NetworkAccess bool + SSH []SSH + Samples map[digest.Digest]*resourcestypes.Samples + Secrets []Secret + Sources Sources + func (c *Capture) AddGit(g GitSource) + func (c *Capture) AddHTTP(h HTTPSource) + func (c *Capture) AddImage(i ImageSource) + func (c *Capture) AddLocal(l LocalSource) + func (c *Capture) AddSSH(s SSH) + func (c *Capture) AddSamples(dgst digest.Digest, samples *resourcestypes.Samples) + func (c *Capture) AddSecret(s Secret) + func (c *Capture) Merge(c2 *Capture) error + func (c *Capture) OptimizeImageSources() error + func (c *Capture) Sort() + type Environment struct + Platform string + type GitSource struct + Commit string + URL string + type HTTPSource struct + Digest digest.Digest + URL string + type ImageSource struct + Digest digest.Digest + Local bool + Platform *ocispecs.Platform + Ref string + type LocalSource struct + Name string + type Parameters struct + Args map[string]string + Frontend string + Locals []*LocalSource + SSH []*SSH + Secrets []*Secret + type ProvenanceInvocation struct + ConfigSource slsa02.ConfigSource + Environment Environment + Parameters Parameters + type ProvenanceMetadata struct + Hermetic bool + ShipyardMetadata ShipyardMetadata + type ProvenancePredicate struct + BuildConfig *BuildConfig + Invocation ProvenanceInvocation + Metadata *ProvenanceMetadata + func NewPredicate(c *Capture) (*ProvenancePredicate, error) + type Result = result.Result[*Capture] + type SSH struct + ID string + Optional bool + type Secret struct + ID string + Optional bool + type ShipyardMetadata struct + Layers map[string][][]ocispecs.Descriptor + Source *Source + SysUsage []*resourcetypes.SysSample + VCS map[string]string + type Source struct + Infos []SourceInfo + Locations map[string]*pb.Locations + type SourceInfo struct + Data []byte + Definition []BuildStep + DigestMapping map[digest.Digest]string + Filename string + Language string + type Sources struct + Git []GitSource + HTTP []HTTPSource + Images []ImageSource + Local []LocalSource