response

package
v0.0.0-...-e560ebb Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package response provides a way to accumulate and summarize the response for a request.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Summarize

func Summarize(tss []*Invocation) *steps.ExecuteResponse

Summarize summarizes the response from a list of Invocations.

Types

type Invocation

type Invocation struct {
	Name string
	// contains filtered or unexported fields
}

Invocation accumulates the response for a single invocation

func NewInvocation

func NewInvocation(name string) *Invocation

NewInvocation returns a new Invocation with the given name.

func (*Invocation) LifeCycle

LifeCycle returns the test_platform TaskState LifeCycle for this invocation.

func (*Invocation) MarkNotRunnable

func (t *Invocation) MarkNotRunnable(rejectedTaskDims []types.TaskDimKeyVal)

MarkNotRunnable marks this invocation as being unable to run.

When the invocation is not runnable because of unsatisfiable dependencies, the rejected dimensions should be supplied as the rejectedTaskDims argument.

func (*Invocation) NotifyTask

func (t *Invocation) NotifyTask(task *testrunner.Build)

NotifyTask notifies the test task set of a new task for the test.

func (*Invocation) Verdict

Verdict returns the test_platform TaskState Verdict for this invocation.

Jump to

Keyboard shortcuts

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