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
Click to show internal directories.
Click to hide internal directories.