Documentation
¶
Index ¶
- func FetchPipelineRunTemplates() (*mf.Manifest, error)
- func InjectNamespaceOwnerForPACWebhook(kubeClient kubernetes.Interface, targetNamespace string) mf.Transformer
- func NewController(ctx context.Context, cmw configmap.Watcher) *controller.Impl
- func NewExtendedController(generator common.ExtensionGenerator) injection.ControllerConstructor
- func OpenShiftExtension(ctx context.Context) common.Extension
- type Reconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchPipelineRunTemplates ¶ added in v0.80.0
FetchPipelineRunTemplates loads kodata PipelineRun templates into a manifest (shared by OpenShift and Kubernetes extensions).
func InjectNamespaceOwnerForPACWebhook ¶ added in v0.80.0
func InjectNamespaceOwnerForPACWebhook(kubeClient kubernetes.Interface, targetNamespace string) mf.Transformer
InjectNamespaceOwnerForPACWebhook adds namespace ownerReference to PAC webhook to ensure proper cleanup when namespace is deleted (SRVKP-8901)
func NewController ¶
NewController initializes the controller and is called by the generated code Registers event handlers to enqueue events
func NewExtendedController ¶
func NewExtendedController(generator common.ExtensionGenerator) injection.ControllerConstructor
NewExtendedController returns a controller extended to a specific platform
Types ¶
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler implements controller.Reconciler for OpenShiftPipelinesAsCode resources.
func (*Reconciler) ReconcileKind ¶
func (r *Reconciler) ReconcileKind(ctx context.Context, pac *v1alpha1.OpenShiftPipelinesAsCode) pkgreconciler.Event
ReconcileKind compares the actual state with the desired, and apacempts to converge the two.
Click to show internal directories.
Click to hide internal directories.