artifacts

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArtifactBroker

type ArtifactBroker interface {
	// Allows the test case to publish a log file located at the given path to
	// the output directory given to the runnable, when provided. If a log
	// directory was not provided to the runnable, this function will be a
	// no-op.
	//
	// The path must be an absolute path to a file on the local filesystem. When
	// successful, the log file will be copied to the output directory and
	// renamed to `<log_dir>/<test_case_name>/<name>`. If multiple files are
	// published with the same name, only the last one will be kept. The
	// `<name>` may be a path, in which case the directories will be created as
	// needed.
	//
	// If the path does not resolve to a file, or any other error occurs, the
	// test will be marked as an error.
	PublishLogFile(name string, path string)
}

Jump to

Keyboard shortcuts

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