Documentation ¶
Index ¶
- func ApplyOverlaybd(ctx context.Context, dir string, opts ...string) error
- func ApplyTurboOCI(ctx context.Context, dir, gzipMetaFile string, opts ...string) error
- func Commit(ctx context.Context, dir, toDir string, sealed bool, opts ...string) error
- func ConvertLayer(ctx context.Context, opt *ConvertOption, fs_type string) error
- func Create(ctx context.Context, dir string, opts ...string) error
- func DiskUsageWithoutMountpoint(ctx context.Context, roots ...string) (fs.Usage, error)
- func GenerateTarMeta(ctx context.Context, srcTarFile string, dstTarMeta string) error
- func Seal(ctx context.Context, dir, toDir string, opts ...string) error
- type ConvertOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyOverlaybd ¶ added in v1.0.0
func ApplyTurboOCI ¶ added in v1.0.0
func ConvertLayer ¶ added in v1.0.3
func ConvertLayer(ctx context.Context, opt *ConvertOption, fs_type string) error
ConvertLayer produce a turbooci layer, target is path of ext4.fs.meta
func DiskUsageWithoutMountpoint ¶ added in v1.0.1
func GenerateTarMeta ¶ added in v1.0.3
Types ¶
type ConvertOption ¶ added in v1.0.3
type ConvertOption struct { // src options // (TODO) LayerPath string // path of layer.tgz or layer.tar TarMetaPath string // path of layer.tar.meta Config sn.OverlayBDBSConfig Workdir string // output options Ext4FSMetaPath string }
Click to show internal directories.
Click to hide internal directories.