Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ArchivesDir holds the location of the available rootfs ArchivesDir = filepath.Join("test-artifacts", "archives") // BundlesRoot holds the location where OCI Bundles are stored BundlesRoot = filepath.Join("test-artifacts", "oci-bundles") // OutputDirFormat holds the standard format used when creating a // new test output directory OutputDirFormat = filepath.Join("test-artifacts", "runs", "%s") // RefOciSpecsPath holds the path to the generic OCI config RefOciSpecsPath = filepath.Join(BundlesRoot, "config.json") // StateDir holds the path to the directory used by the containerd // started by tests StateDir = "/run/containerd-bench-test" )
Functions ¶
func CreateBundle ¶
CreateBundle generates a valid OCI bundle from the given rootfs
func CreateBusyboxBundle ¶
CreateBusyboxBundle generates a bundle based on the busybox rootfs
func GenerateReferenceSpecs ¶
GenerateReferenceSpecs generates a default OCI specs via `runc spec`
func GetTestOutDir ¶
func GetTestOutDir() string
GetTestOutDir returns the output directory for testing and benchmark artifacts
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.