benchmark

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: Apache-2.0 Imports: 15 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OverlayFSFullRun

func OverlayFSFullRun(
	ctx context.Context,
	b *testing.B,
	imageRef string,
	readyLine string,
	testName string)

func PullImageFromECR

func PullImageFromECR(ctx context.Context, b *testing.B, imageRef string)

func SociFullRun

func SociFullRun(
	ctx context.Context,
	b *testing.B,
	imageRef string,
	indexDigest string,
	readyLine string,
	testName string)

func SociRPullPullImage

func SociRPullPullImage(
	ctx context.Context,
	b *testing.B,
	imageRef string,
	indexDigest string)

func StargzFullRun

func StargzFullRun(
	ctx context.Context,
	b *testing.B,
	imageRef string,
	readyLine string,
	stargzBinary string)

Types

type ImageDescriptor

type ImageDescriptor struct {
	ShortName            string
	ImageRef             string
	SociIndexManifestRef string
	ReadyLine            string
}

func GetImageListFromCsv

func GetImageListFromCsv(csvLoc string) ([]ImageDescriptor, error)

type SociContainerdProcess

type SociContainerdProcess struct {
	*framework.ContainerdProcess
}

func (*SociContainerdProcess) CreateSociContainer

func (proc *SociContainerdProcess) CreateSociContainer(
	ctx context.Context,
	image containerd.Image) (containerd.Container, func(), error)

func (*SociContainerdProcess) SociRPullImageFromECR

func (proc *SociContainerdProcess) SociRPullImageFromECR(
	ctx context.Context,
	imageRef string,
	sociIndexDigest string,
	awsSecretFile string) (containerd.Image, error)

type SociProcess

type SociProcess struct {
	// contains filtered or unexported fields
}

func StartSoci

func StartSoci(
	sociBinary string,
	sociAddress string,
	sociRoot string,
	containerdAddress string,
	configFile string,
	outputDir string) (*SociProcess, error)

func (*SociProcess) StopProcess

func (proc *SociProcess) StopProcess()

type StargzContainerdProcess

type StargzContainerdProcess struct {
	*framework.ContainerdProcess
}

func (*StargzContainerdProcess) StargzRpullImageFromECR

func (proc *StargzContainerdProcess) StargzRpullImageFromECR(
	ctx context.Context,
	imageRef string,
	awsSecretFile string) (containerd.Image, error)

type StargzProcess

type StargzProcess struct {
	// contains filtered or unexported fields
}

func StartStargz

func StartStargz(
	stargzBinary string,
	stargzAddress string,
	stargzConfig string,
	stargzRoot string,
	outputDir string) (*StargzProcess, error)

func (*StargzProcess) StopProcess

func (proc *StargzProcess) StopProcess()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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