mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
6fcb36ff14
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
16 lines
318 B
Go
16 lines
318 B
Go
package exporter
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/moby/buildkit/cache"
|
|
)
|
|
|
|
type Exporter interface {
|
|
Resolve(context.Context, map[string]string) (ExporterInstance, error)
|
|
}
|
|
|
|
type ExporterInstance interface {
|
|
Name() string
|
|
Export(context.Context, cache.ImmutableRef, map[string][]byte) (map[string]string, error)
|
|
}
|