Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
Add creates a new Build Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.
func NewReconciler ¶
func NewReconciler(ctx context.Context, c *config.Config, mgr manager.Manager, ownerRef setOwnerReferenceFunc) reconcile.Reconciler
NewReconciler returns a new reconcile.Reconciler
Types ¶
type ReconcileBuild ¶
type ReconcileBuild struct {
// contains filtered or unexported fields
}
ReconcileBuild reconciles a Build object
func (*ReconcileBuild) Reconcile ¶
Reconcile reads that state of the cluster for a Build object and makes changes based on the state read and what is in the Build.Spec
func (*ReconcileBuild) UpdateBuildStatusAndRetreat ¶
func (r *ReconcileBuild) UpdateBuildStatusAndRetreat(ctx context.Context, b *build.Build) (reconcile.Result, error)
UpdateBuildStatusAndRetreat returns an error if an update fails, this should force a new reconcile until the API call succeeds. If return is nil, no further reconciliations will take place
Click to show internal directories.
Click to hide internal directories.