utils

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyDir added in v0.0.3

func CopyDir(src, dest string) error

func CopyOldMergedToNewContainerMerged added in v0.0.3

func CopyOldMergedToNewContainerMerged(oldContainer, newContainer string) error

CopyOldMergedToNewContainerMerged is used to copy the merged layer from the old container to the new container during patch operations.

func CopyOldMountPointToContainerMountPoint added in v0.0.3

func CopyOldMountPointToContainerMountPoint(oldVolume, newVolume string) error

CopyOldMountPointToContainerMountPoint is used to copy the volume data from the old container to the new container during patch operations.

func DirSize

func DirSize(path string) (int64, error)

func GetContainerMergedLayer added in v0.0.3

func GetContainerMergedLayer(name string) (string, error)

func GetVolumeMountPoint added in v0.0.3

func GetVolumeMountPoint(name string) (string, error)

func IsDir added in v0.0.3

func IsDir(src string) error

func ToBytes

func ToBytes(origin string) (int64, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL