data

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Overview

TODO: find a better name, this package is required to prevent cyclic dependencies.

It's used to provide functions and tool that "connects" runners, tasks, etc.
Since task is a generic wire format, and runners and builder have specific implementation,
 we need this module to interpret task result with run/builder specific implementation.

TODO: rethink the genericity model so that this module becomes unnecessary.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeRunnerResult

func DecodeRunnerResult(result interface{}) *runner.Result

func DecodeTaskOutcome

func DecodeTaskOutcome(t *task.Task) (task.Outcome, error)

func IsOutcomeSuccess

func IsOutcomeSuccess(outcome task.Outcome) bool

func IsTaskOutcomeInError

func IsTaskOutcomeInError(t *task.Task) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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