buildrun

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL