Documentation

Overview

    Package state defines the model for a Run state.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type RunState

    type RunState struct {
    	Run run.Run
    }

      RunState represents the current state of a Run.

      It consists of the Run entity and its child entities (could be partial depending on the event received).

      func (*RunState) RefreshCLs

      func (rs *RunState) RefreshCLs(ctx context.Context) error

        RefreshCLs submits tasks for refresh all CLs involved in this Run.

        func (*RunState) RemoveRunFromCLs

        func (rs *RunState) RemoveRunFromCLs(ctx context.Context) error

          RemoveRunFromCLs removes the Run from the IncompleteRuns list of all CL entities associated with this Run.

          func (*RunState) ShallowCopy

          func (rs *RunState) ShallowCopy() *RunState

            ShallowCopy returns a shallow copy of run state

            Source Files