Documentation ¶ Index ¶ type Source func NewSource(opt SourceOpt) (*Source, error) func (is *Source) ID() string 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, ...) (digest.Digest, []byte, error) type SourceOpt Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Source ¶ added in v0.8.0 type Source struct { SourceOpt // contains filtered or unexported fields } func NewSource ¶ func NewSource(opt SourceOpt) (*Source, error) func (*Source) ID ¶ added in v0.8.0 func (is *Source) ID() string func (*Source) Resolve ¶ added in v0.8.0 func (is *Source) Resolve(ctx context.Context, id source.Identifier, sm *session.Manager, vtx solver.Vertex) (source.SourceInstance, error) func (*Source) ResolveImageConfig ¶ added in v0.8.0 func (is *Source) ResolveImageConfig(ctx context.Context, ref string, opt llb.ResolveImageConfigOpt, sm *session.Manager, g session.Group) (digest.Digest, []byte, error) type SourceOpt ¶ type SourceOpt struct { Snapshotter snapshot.Snapshotter ContentStore content.Store Applier diff.Applier CacheAccessor cache.Accessor ImageStore images.Store // optional RegistryHosts docker.RegistryHosts LeaseManager leases.Manager } Source Files ¶ View all Source files pull.go Click to show internal directories. Click to hide internal directories.