Documentation
¶
Index ¶
- type PipelineRun
- func (p *PipelineRun) CompletedAtNotEqual(other *PipelineRun) bool
- func (p *PipelineRun) GetCompletedAtString() string
- func (p *PipelineRun) GetStartedAtString() string
- func (p *PipelineRun) NotEqual(other *PipelineRun) bool
- func (p *PipelineRun) StartedAtNotEqual(other *PipelineRun) bool
- func (p *PipelineRun) StatusNotEqual(other *PipelineRun) bool
- func (p *PipelineRun) String() string
- type PipelineStatus
- type TaskRun
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PipelineRun ¶
type PipelineRun struct { UUID string `json:"uuid"` Name string `json:"name"` Namespace string `json:"namespace"` Labels map[string]string `json:"labels,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` CompletedAt *time.Time `json:"completedAt,omitempty"` StartedAt *time.Time `json:"startedAt,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` Status PipelineStatus `json:"status,omitempty"` Tasks []*TaskRun `json:"status,tasks"` }
func NewPipelineRun ¶
func NewPipelineRun(uns *unstructured.Unstructured) (*PipelineRun, error)
func (*PipelineRun) CompletedAtNotEqual ¶
func (p *PipelineRun) CompletedAtNotEqual(other *PipelineRun) bool
func (*PipelineRun) GetCompletedAtString ¶
func (p *PipelineRun) GetCompletedAtString() string
func (*PipelineRun) GetStartedAtString ¶
func (p *PipelineRun) GetStartedAtString() string
func (*PipelineRun) NotEqual ¶
func (p *PipelineRun) NotEqual(other *PipelineRun) bool
func (*PipelineRun) StartedAtNotEqual ¶
func (p *PipelineRun) StartedAtNotEqual(other *PipelineRun) bool
func (*PipelineRun) StatusNotEqual ¶
func (p *PipelineRun) StatusNotEqual(other *PipelineRun) bool
func (*PipelineRun) String ¶
func (p *PipelineRun) String() string
type PipelineStatus ¶
type PipelineStatus int16
const ( Undefined PipelineStatus = iota PipelineRunPending NotStarted Running Success Failed )
func (PipelineStatus) String ¶
func (p PipelineStatus) String() string
type TaskRun ¶ added in v0.0.10
type TaskRun struct {
Status PipelineStatus `json:"status,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.