aboutsummaryrefslogtreecommitdiff
path: root/export/exporter.go
blob: 208fbd73efc4cf7dfbc011b36431a5ff6aa5e1f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package export

import "io"

type Version struct {
	Input
	Output
}

type Input struct {
	Chunks io.WriteCloser
	Recipe io.WriteCloser
	Files  io.WriteCloser
}

type Output struct {
	Chunks io.ReadCloser
	Recipe io.ReadCloser
	Files  io.ReadCloser
}

type Exporter interface {
	ExportVersion() (input Input, end <-chan bool)
}