Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GCPodUpdated ¶
GCPodUpdated handles GC pod update. If GC pod is terminated, it will be deleted.
Types ¶
type Operator ¶
type Operator struct {
// contains filtered or unexported fields
}
Operator ...
func NewOperator ¶
NewOperator ...
func (*Operator) DetermineStatus ¶
func (p *Operator) DetermineStatus(wfrOperator workflowrun.Operator)
DetermineStatus determines status of a stage and update WorkflowRun status accordingly. Because coordinator container is the last container running in the pod (it performs collect logs, artifacts, notify resource resolver to push resource), when the coordinator container have been finished (no matter Succeed or Failed), we need to update stage status, and take necessary actions to stop the pod.
Click to show internal directories.
Click to hide internal directories.