Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAlreadyInitialized = errors.New("operation was already initialized")
ErrAlreadyInitialized happened when Init() func called twice
View Source
var ErrAlreadyStarted = errors.New("operation was already started")
ErrAlreadyStarted happened when Run() func called twice
View Source
var ErrNotInitialized = errors.New("operation have not been initialized")
ErrNotInitialized happened when instance wasn't initialized by Init() func
Functions ¶
This section is empty.
Types ¶
type ConcatOperation ¶ added in v0.8.2
type ConcatOperation struct {
// contains filtered or unexported fields
}
ConcatOperation _
func NewConcatOperation ¶ added in v0.8.2
func NewConcatOperation(ctx context.Context) *ConcatOperation
NewConcatOperation _
func (*ConcatOperation) Closed ¶ added in v0.8.2
func (co *ConcatOperation) Closed() <-chan struct{}
Closed _
func (*ConcatOperation) Init ¶ added in v0.8.2
func (co *ConcatOperation) Init(req ConcatRequest) error
Init _
func (*ConcatOperation) Run ¶ added in v0.8.2
func (co *ConcatOperation) Run() (progress chan ff.Progressable, failures chan error)
Run _
type ConcatRequest ¶ added in v0.8.2
ConcatRequest _
type SliceOperation ¶ added in v0.8.2
type SliceOperation struct {
// contains filtered or unexported fields
}
SliceOperation _
func NewSliceOperation ¶ added in v0.8.2
func NewSliceOperation(ctx context.Context) *SliceOperation
NewSliceOperation _
func (*SliceOperation) Closed ¶ added in v0.8.2
func (so *SliceOperation) Closed() <-chan struct{}
Closed _
func (*SliceOperation) Init ¶ added in v0.8.2
func (so *SliceOperation) Init(req SliceRequest) error
Init _
func (*SliceOperation) Purge ¶ added in v0.8.2
func (so *SliceOperation) Purge() error
Purge removes all segments from tmp directory & also tmp directory itself
func (*SliceOperation) Run ¶ added in v0.8.2
func (so *SliceOperation) Run() ( progress chan ff.Progressable, segments chan *Segment, failures chan error, )
Run _
Click to show internal directories.
Click to hide internal directories.