forked from
tangled.org/core
Monorepo for Tangled
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// DEPRECATED: use sh.tangled.ci.pipeline instead
19//
20// RECORDTYPE: PipelineStatus
21type PipelineStatus struct {
22 LexiconTypeID string `json:"$type,const=sh.tangled.pipeline.status" cborgen:"$type,const=sh.tangled.pipeline.status"`
23 // createdAt: time of creation of this status update
24 CreatedAt string `json:"createdAt" cborgen:"createdAt"`
25 // error: error message if failed
26 Error *string `json:"error,omitempty" cborgen:"error,omitempty"`
27 // exitCode: exit code if failed
28 ExitCode *int64 `json:"exitCode,omitempty" cborgen:"exitCode,omitempty"`
29 // pipeline: ATURI of the pipeline
30 Pipeline string `json:"pipeline" cborgen:"pipeline"`
31 // status: status of the workflow
32 Status string `json:"status" cborgen:"status"`
33 // workflow: name of the workflow within this pipeline
34 Workflow string `json:"workflow" cborgen:"workflow"`
35}