container

package module
v0.0.0-...-43070de Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fuzz

func Fuzz(data []byte) int

func GetImageBytes

func GetImageBytes(f *fuzz.ConsumeFuzzer) ([]byte, error)

GetImageBytes gets valid bytes for a container image in .tar format. This is the API that users interact with.

Usage:

f := NewConsumer(data)
imageBytes, err := f.GetImageBytes()

func Image

func Image(f *fuzz.ConsumeFuzzer) (v1.Image, error)

func Layer

func Layer(f *fuzz.ConsumeFuzzer, mt types.MediaType) (v1.Layer, error)

Layer returns a layer with pseudo-randomly generated content.

Types

This section is empty.

Jump to

Keyboard shortcuts

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