 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KonfigurationHealthCheck ¶
type KonfigurationHealthCheck struct {
	// contains filtered or unexported fields
}
    KonfigurationHealthCheck is able to assess whether the configured health checks for a Konfiguration are all ready.
func NewHealthCheck ¶
func NewHealthCheck(konfiguration *konfigurationv1.Konfiguration, statusPoller *polling.StatusPoller) *KonfigurationHealthCheck
NewHealthCheck returns a new KonfigurationHealthCheck.
type KonfigurationReconciler ¶
type KonfigurationReconciler struct {
	client.Client
	Scheme                *runtime.Scheme
	EventRecorder         kuberecorder.EventRecorder
	ExternalEventRecorder *events.Recorder
	MetricsRecorder       *metrics.Recorder
	HTTPLog               logr.Logger
	// contains filtered or unexported fields
}
    KonfigurationReconciler reconciles a Konfiguration object
func (*KonfigurationReconciler) DryRunFunc ¶
func (r *KonfigurationReconciler) DryRunFunc() http.Handler
DryRunFunc returns the http handler for checking what a given Konfiguration would produce.
func (*KonfigurationReconciler) Reconcile ¶
func (r *KonfigurationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, 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.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.8.3/pkg/reconcile
func (*KonfigurationReconciler) SetupWithManager ¶
func (r *KonfigurationReconciler) SetupWithManager(log logr.Logger, mgr ctrl.Manager, opts *ReconcilerOptions) error
SetupWithManager sets up the controller with the Manager.
type ReconcilerOptions ¶
type ReconcilerOptions struct {
	MaxConcurrentReconciles   int
	HTTPRetryMax              int
	DependencyRequeueInterval time.Duration
	JsonnetCacheDirectory     string
	DryRunRequestTimeout      time.Duration
}
    ReconcilerOptions are the configuration options that can be passed to a controller when setting it up with a manager instance.
type SourceRevisionChangePredicate ¶
SourceRevisionChangePredicate is a predicate that determines if the source revision has changed.
func (SourceRevisionChangePredicate) Update ¶
func (SourceRevisionChangePredicate) Update(e event.UpdateEvent) bool
Update implements the predicate interface.