Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
Adapter holds the objects needed to reconcile a build PipelineRun.
func NewAdapter ¶
func NewAdapter(pipelineRun *tektonv1.PipelineRun, component *applicationapiv1alpha1.Component, application *applicationapiv1alpha1.Application, logger h.IntegrationLogger, loader loader.ObjectLoader, client client.Client, context context.Context) *Adapter
NewAdapter creates and returns an Adapter instance.
func (*Adapter) EnsurePipelineIsFinalized ¶
func (a *Adapter) EnsurePipelineIsFinalized() (controller.OperationResult, error)
func (*Adapter) EnsureSnapshotExists ¶
func (a *Adapter) EnsureSnapshotExists() (result controller.OperationResult, err error)
EnsureSnapshotExists is an operation that will ensure that a pipeline Snapshot associated to the build PipelineRun being processed exists. Otherwise, it will create a new pipeline Snapshot.
type AdapterInterface ¶
type AdapterInterface interface { EnsurePipelineIsFinalized() (controller.OperationResult, error) EnsureSnapshotExists() (controller.OperationResult, error) }
AdapterInterface is an interface defining all the operations that should be defined in an Integration adapter.
type Reconciler ¶
Reconciler reconciles a build PipelineRun object
func NewIntegrationReconciler ¶
func NewIntegrationReconciler(client client.Client, logger *logr.Logger, scheme *runtime.Scheme) *Reconciler
NewIntegrationReconciler creates and returns a Reconciler.
Click to show internal directories.
Click to hide internal directories.