Documentation ¶
Index ¶
- func NewController(ctx context.Context, cmw configmap.Watcher) *controller.Impl
- type PipelineRunFuncs
- func (prf *PipelineRunFuncs) Delete(ctx context.Context, namespace, name string) error
- func (prf *PipelineRunFuncs) Get(ctx context.Context, namespace, name string) (metav1.Object, error)
- func (prf *PipelineRunFuncs) GetCompletionTime(resource metav1.Object) (metav1.Time, error)
- func (prf *PipelineRunFuncs) GetDefaultLabelKey() string
- func (prf *PipelineRunFuncs) GetFailedHistoryLimitCount(namespace, name string) *int32
- func (prf *PipelineRunFuncs) GetSuccessHistoryLimitCount(namespace, name string) *int32
- func (prf *PipelineRunFuncs) GetTTLSecondsAfterFinished(namespace, pipelineName string) *int32
- func (prf *PipelineRunFuncs) Ignore(resource metav1.Object) bool
- func (prf *PipelineRunFuncs) IsCompleted(resource metav1.Object) bool
- func (prf *PipelineRunFuncs) IsFailed(resource metav1.Object) bool
- func (prf *PipelineRunFuncs) IsSuccessful(resource metav1.Object) bool
- func (prf *PipelineRunFuncs) List(ctx context.Context, namespace, label string) ([]metav1.Object, error)
- func (prf *PipelineRunFuncs) Type() string
- func (prf *PipelineRunFuncs) Update(ctx context.Context, resource metav1.Object) error
- type Reconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
NewController creates a Reconciler and returns the result of NewImpl.
Types ¶
type PipelineRunFuncs ¶
type PipelineRunFuncs struct {
// contains filtered or unexported fields
}
func (*PipelineRunFuncs) Delete ¶
func (prf *PipelineRunFuncs) Delete(ctx context.Context, namespace, name string) error
func (*PipelineRunFuncs) GetCompletionTime ¶
func (*PipelineRunFuncs) GetDefaultLabelKey ¶
func (prf *PipelineRunFuncs) GetDefaultLabelKey() string
func (*PipelineRunFuncs) GetFailedHistoryLimitCount ¶
func (prf *PipelineRunFuncs) GetFailedHistoryLimitCount(namespace, name string) *int32
func (*PipelineRunFuncs) GetSuccessHistoryLimitCount ¶
func (prf *PipelineRunFuncs) GetSuccessHistoryLimitCount(namespace, name string) *int32
func (*PipelineRunFuncs) GetTTLSecondsAfterFinished ¶
func (prf *PipelineRunFuncs) GetTTLSecondsAfterFinished(namespace, pipelineName string) *int32
func (*PipelineRunFuncs) IsCompleted ¶
func (prf *PipelineRunFuncs) IsCompleted(resource metav1.Object) bool
func (*PipelineRunFuncs) IsFailed ¶
func (prf *PipelineRunFuncs) IsFailed(resource metav1.Object) bool
func (*PipelineRunFuncs) IsSuccessful ¶
func (prf *PipelineRunFuncs) IsSuccessful(resource metav1.Object) bool
func (*PipelineRunFuncs) Type ¶
func (prf *PipelineRunFuncs) Type() string
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler
func (*Reconciler) ReconcileKind ¶
func (r *Reconciler) ReconcileKind(ctx context.Context, pr *pipelinev1.PipelineRun) reconciler.Event
ReconcileKind implements Interface.ReconcileKind.
Click to show internal directories.
Click to hide internal directories.