Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller processes PipelineRun resources
func NewController ¶
func NewController(factory k8s.ClientFactory, metrics metrics.Metrics) *Controller
NewController creates new Controller
func (*Controller) Run ¶
func (c *Controller) Run(threadiness int, stopCh <-chan struct{}) error
Run runs the controller
type Run ¶
type Run interface { GetStartTime() *metav1.Time IsFinished() (bool, steward.Result) GetSucceededCondition() *knativeapis.Condition GetContainerInfo() *corev1.ContainerState }
Run represents a pipeline run
type RunManager ¶
type RunManager interface { Start(pipelineRun k8s.PipelineRun) error GetRun(pipelineRun k8s.PipelineRun) (Run, error) Cleanup(pipelineRun k8s.PipelineRun) error }
RunManager manages runs
func NewRunManager ¶
func NewRunManager(factory k8s.ClientFactory, secretProvider secrets.SecretProvider, namespaceManager k8s.NamespaceManager) RunManager
NewRunManager creates a new RunManager.
Click to show internal directories.
Click to hide internal directories.