Versions in this module Expand all Collapse all v1 v1.1.10 Dec 12, 2023 Changes in this version + type ImageIdentifier struct + LayerLimit *int + Platform *ocispecs.Platform + RecordType client.UsageRecordType + Reference reference.Spec + ResolveMode resolver.ResolveMode + func NewImageIdentifier(str string) (*ImageIdentifier, error) + func (*ImageIdentifier) Scheme() string + func (id *ImageIdentifier) Capture(c *provenance.Capture, pin string) error + type OCIIdentifier struct + LayerLimit *int + Platform *ocispecs.Platform + Reference reference.Spec + SessionID string + StoreID string + func NewOCIIdentifier(str string) (*OCIIdentifier, error) + func (*OCIIdentifier) Scheme() string + func (id *OCIIdentifier) Capture(c *provenance.Capture, pin string) error + type ResolverType int + const ResolverTypeOCILayout + const ResolverTypeRegistry + type Source struct + func NewSource(opt SourceOpt) (*Source, error) + func (is *Source) Identifier(scheme, ref string, attrs map[string]string, platform *pb.Platform) (source.Identifier, error) + func (is *Source) Resolve(ctx context.Context, id source.Identifier, sm *session.Manager, ...) (source.SourceInstance, error) + func (is *Source) ResolveImageConfig(ctx context.Context, ref string, opt llb.ResolveImageConfigOpt, ...) (string, digest.Digest, []byte, error) + func (is *Source) Schemes() []string + type SourceOpt struct + Applier diff.Applier + CacheAccessor cache.Accessor + ContentStore content.Store + ImageStore images.Store + LeaseManager leases.Manager + RegistryHosts docker.RegistryHosts + Snapshotter snapshot.Snapshotter