client

package
v0.0.0-...-0cee358 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Package client is a package for simplifying the upload request made by a client to the results receiver upload endpoint (/api/results/upload).

Index

Constants

View Source
const UploadTimeout = time.Minute

UploadTimeout is the timeout to upload results to the results receiver.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	CreateRun(
		sha,
		username string,
		password string,
		resultURLs []string,
		screenshotURLs []string,
		archiveURLs []string,
		labels []string) error
}

Client is the interface for the client.

func NewClient

func NewClient(aeAPI shared.AppEngineAPI) Client

NewClient returns a client impl. nolint:ireturn // TODO: Fix ireturn lint error

Jump to

Keyboard shortcuts

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