stepresult

package
v0.0.0-...-569970b Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFTLResult

func CreateFTLResult(appSlug, buildSlug string, deviceContentMap DeviceToXMLContentMap) error

CreateFTLResult ...

func CreateFTLStepResult

func CreateFTLStepResult(testReport models.TestReport, stepInfo models.StepInfo, xmlData []byte) error

CreateFTLStepResult ...

func CreateStepResult

func CreateStepResult(
	testReport models.TestReport,
	xmlContent []byte,
	assetDownloadURLCreator testreportfiller.DownloadURLCreator,
) error

CreateStepResult ...

Types

type DeviceToXMLContentMap

type DeviceToXMLContentMap map[string][]byte

DeviceToXMLContentMap ...

func GetFTLTestResultXMLContents

func GetFTLTestResultXMLContents(ctx context.Context, buildSlug string, fAPI FTLTestResultXMLDownloadURLsFetcher, gcsBucket string, maxFileSize int64) (DeviceToXMLContentMap, error)

GetFTLTestResultXMLContents ...

type FTLTestResultXMLDownloadURLsFetcher

type FTLTestResultXMLDownloadURLsFetcher interface {
	GetTestResultXMLDownloadURLs(ctx context.Context, buildSlug, gcsBucket string) (map[string]string, error)
}

FTLTestResultXMLDownloadURLsFetcher ...

Jump to

Keyboard shortcuts

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