package llb import ( "context" digest "github.com/opencontainers/go-digest" ) func WithMetaResolver(mr ImageMetaResolver) ImageOption { return ImageOptionFunc(func(ii *ImageInfo) { ii.metaResolver = mr }) } type ImageMetaResolver interface { ResolveImageConfig(ctx context.Context, ref string) (digest.Digest, []byte, error) }