controller

package
v0.0.0-...-53bbf1f Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SSHTimeout = 10 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildReconciler

type BuildReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	Logger logr.Logger

	// WatchFilterValue is the label value used to filter events prior to reconciliation.
	WatchFilterValue string
	// contains filtered or unexported fields
}

BuildReconciler reconciles a Build object

func (*BuildReconciler) Reconcile

func (r *BuildReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*BuildReconciler) SetupWithManager

func (r *BuildReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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