Help us shape the future of Go! Take the 2026 Go Developer Survey

statusutils

package
v0.112.17 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type V1RunStatus

type V1RunStatus string
const (
	V1RunStatusQueued    V1RunStatus = "QUEUED"
	V1RunStatusRunning   V1RunStatus = "RUNNING"
	V1RunStatusEvicted   V1RunStatus = "EVICTED"
	V1RunStatusCancelled V1RunStatus = "CANCELLED"
	V1RunStatusFailed    V1RunStatus = "FAILED"
	V1RunStatusCompleted V1RunStatus = "COMPLETED"
)

func DeriveWorkflowRunStatus

func DeriveWorkflowRunStatus(ctx context.Context, statuses []V1RunStatus) (*V1RunStatus, error)

func V1RunStatusFromEventType

func V1RunStatusFromEventType(eventType sqlcv1.V1TaskEventType) (*V1RunStatus, error)

func V1RunStatusFromProto

func V1RunStatusFromProto(status contracts.RunStatus) (*V1RunStatus, error)

func (*V1RunStatus) IsEvicted added in v0.80.0

func (s *V1RunStatus) IsEvicted() bool

func (*V1RunStatus) ToProto

func (s *V1RunStatus) ToProto() (*contracts.RunStatus, error)

Jump to

Keyboard shortcuts

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