bundleTestSupport

package
v0.65.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cleanup

func Cleanup(path string)

func GetTestBundle

func GetTestBundle(path string) ([]byte, error)

GetTestBundle returns tar/gziped bundle from the specified path

func GetTestBundlePath

func GetTestBundlePath(bundle string) string

GetTestBundlePath returns a path relative to the package

func InitTestBundlesDir

func InitTestBundlesDir(data []byte) string

func InitTestEmptyBundleDir added in v0.65.0

func InitTestEmptyBundleDir(t *testing.T) string

func PrepareBundleUploadRequest

func PrepareBundleUploadRequest(path string) (*http.Request, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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