Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWorkerOpt ¶
func NewWorkerOpt(root string, snFactory SnapshotterFactory, labels map[string]string) (base.WorkerOpt, error)
NewWorkerOpt creates a WorkerOpt. But it does not set the following fields:
- SessionManager
Types ¶
type SnapshotterFactory ¶
type SnapshotterFactory struct { Name string New func(root string) (ctdsnapshot.Snapshotter, error) }
SnapshotterFactory instantiates a snapshotter
Click to show internal directories.
Click to hide internal directories.