package containerblob
import "github.com/moby/buildkit/source/containerblob"
Index ¶
- type ImageBlobIdentifier
- func NewImageBlobIdentifier(str string, scheme string) (*ImageBlobIdentifier, error)
- func (id *ImageBlobIdentifier) Capture(c *provenance.Capture, pin string) error
- func (id *ImageBlobIdentifier) Scheme() string
- type Source
- 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, vtx solver.Vertex) (source.SourceInstance, error)
- func (is *Source) Schemes() []string
- type SourceOpt
Types ¶
type ImageBlobIdentifier ¶
type ImageBlobIdentifier struct {
Reference reference.Spec
SchemeName string
SessionID string
StoreID string
RecordType client.UsageRecordType
Filename string
Perm int
UID int
GID int
}
func NewImageBlobIdentifier ¶
func NewImageBlobIdentifier(str string, scheme string) (*ImageBlobIdentifier, error)
func (*ImageBlobIdentifier) Capture ¶
func (id *ImageBlobIdentifier) Capture(c *provenance.Capture, pin string) error
func (*ImageBlobIdentifier) Scheme ¶
func (id *ImageBlobIdentifier) Scheme() string
type Source ¶
type Source struct {
SourceOpt
}
func NewSource ¶
func (*Source) Identifier ¶
func (is *Source) Identifier(scheme, ref string, attrs map[string]string, platform *pb.Platform) (source.Identifier, error)
func (*Source) Resolve ¶
func (is *Source) Resolve(ctx context.Context, id source.Identifier, sm *session.Manager, vtx solver.Vertex) (source.SourceInstance, error)
func (*Source) Schemes ¶
type SourceOpt ¶
type SourceOpt struct {
ContentStore content.Store
CacheAccessor cache.Accessor
RegistryHosts docker.RegistryHosts
}
Source Files ¶
identifier.go pull.go source.go
- Version
- v0.28.0-rc2
- Published
- Feb 26, 2026
- Platform
- darwin/amd64
- Imports
- 32 packages
- Last checked
- 20 minutes ago –
Tools for package owners.