mirror of
https://github.com/coder/coder.git
synced 2025-07-08 11:39:50 +00:00
19 lines
440 B
Go
19 lines
440 B
Go
package prebuilds
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type noopReconciler struct{}
|
|
|
|
func NewNoopReconciler() Reconciler {
|
|
return &noopReconciler{}
|
|
}
|
|
|
|
func (noopReconciler) RunLoop(context.Context) {}
|
|
func (noopReconciler) Stop(context.Context, error) {}
|
|
func (noopReconciler) ReconcileAll(context.Context) error { return nil }
|
|
func (noopReconciler) ReconcileTemplate() error { return nil }
|
|
|
|
var _ Reconciler = noopReconciler{}
|