forked from
tangled.org/core
Monorepo for Tangled — https://tangled.org
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
2
3package tangled
4
5// schema: sh.tangled.pipeline.status
6
7import (
8 "github.com/bluesky-social/indigo/lex/util"
9)
10
11const (
12 PipelineStatusNSID = "sh.tangled.pipeline.status"
13)
14
15func init() {
16 util.RegisterType("sh.tangled.pipeline.status", &PipelineStatus{})
17} //
18// RECORDTYPE: PipelineStatus
19type PipelineStatus struct {
20 LexiconTypeID string `json:"$type,const=sh.tangled.pipeline.status" cborgen:"$type,const=sh.tangled.pipeline.status"`
21 // createdAt: time of creation of this status update
22 CreatedAt string `json:"createdAt" cborgen:"createdAt"`
23 // error: error message if failed
24 Error *string `json:"error,omitempty" cborgen:"error,omitempty"`
25 // exitCode: exit code if failed
26 ExitCode *int64 `json:"exitCode,omitempty" cborgen:"exitCode,omitempty"`
27 // pipeline: ATURI of the pipeline
28 Pipeline string `json:"pipeline" cborgen:"pipeline"`
29 // status: status of the workflow
30 Status string `json:"status" cborgen:"status"`
31 // workflow: name of the workflow within this pipeline
32 Workflow string `json:"workflow" cborgen:"workflow"`
33}