structs

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RunState

type RunState string

RunState is the state of the run.

type RunStateTransition

type RunStateTransition struct {
	HasLogs   bool     `graphql:"hasLogs"`
	Note      *string  `graphql:"note"`
	State     RunState `graphql:"state"`
	Terminal  bool     `graphql:"terminal"`
	Timestamp int      `graphql:"timestamp"`
	Username  *string  `graphql:"username"`
}

RunStateTransition represents a single run state transition.

func (*RunStateTransition) About

func (r *RunStateTransition) About() string

About returns "header" information about the state transition.

func (*RunStateTransition) Error

func (r *RunStateTransition) Error() error

type RunType

type RunType string

RunType is the type of the run.

func NewRunType

func NewRunType(in string) *RunType

NewRunType takes a string and returns a pointer to a RunType.

Jump to

Keyboard shortcuts

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