Documentation ¶
Index ¶
- func Add(_ context.Context, c *config.Config, mgr manager.Manager) error
- func NewReconciler(c *config.Config, mgr manager.Manager, ownerRef setOwnerReferenceFunc) reconcile.Reconciler
- type ReconcileBuildRun
- func (r *ReconcileBuildRun) GetBuildRunObject(ctx context.Context, objectName string, objectNS string, ...) error
- func (r *ReconcileBuildRun) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
- func (r *ReconcileBuildRun) VerifyRequestName(ctx context.Context, request reconcile.Request, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
Add creates a new BuildRun 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(c *config.Config, mgr manager.Manager, ownerRef setOwnerReferenceFunc) reconcile.Reconciler
NewReconciler returns a new reconcile.Reconciler
Types ¶
type ReconcileBuildRun ¶
type ReconcileBuildRun struct {
// contains filtered or unexported fields
}
ReconcileBuildRun reconciles a BuildRun object
func (*ReconcileBuildRun) GetBuildRunObject ¶
func (r *ReconcileBuildRun) GetBuildRunObject(ctx context.Context, objectName string, objectNS string, buildRun *buildv1beta1.BuildRun) error
GetBuildRunObject retrieves an existing BuildRun based on a name and namespace
func (*ReconcileBuildRun) Reconcile ¶
func (r *ReconcileBuildRun) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
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 (*ReconcileBuildRun) VerifyRequestName ¶
func (r *ReconcileBuildRun) VerifyRequestName(ctx context.Context, request reconcile.Request, buildRun *buildv1beta1.BuildRun)
VerifyRequestName parse a Reconcile request name and looks for an associated BuildRun name If the BuildRun object exists and is not yet completed, it will update it with an error.
Click to show internal directories.
Click to hide internal directories.