package utils
import "github.com/containerd/accelerated-container-image/pkg/utils"
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 GenerateTarMeta(ctx context.Context, srcTarFile string, dstTarMeta string) error
- func Seal(ctx context.Context, dir, toDir string, opts ...string) error
- type ConvertOption
Functions ¶
func ApplyOverlaybd ¶
func ApplyTurboOCI ¶
func Commit ¶
func ConvertLayer ¶
func ConvertLayer(ctx context.Context, opt *ConvertOption, fs_type string) error
ConvertLayer produce a turbooci layer, target is path of ext4.fs.meta
func Create ¶
func GenerateTarMeta ¶
func Seal ¶
Types ¶
type ConvertOption ¶
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 }
Source Files ¶
- Version
- v1.3.0 (latest)
- Published
- Feb 13, 2025
- Platform
- windows/amd64
- Imports
- 11 packages
- Last checked
- now –
Tools for package owners.