Documentation ¶
Overview ¶
Package resolver implements the Crossplane Package Lock controller.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler reconciles packages.
func NewReconciler ¶
func NewReconciler(mgr manager.Manager, opts ...ReconcilerOption) *Reconciler
NewReconciler creates a new package revision reconciler.
type ReconcilerOption ¶
type ReconcilerOption func(*Reconciler)
ReconcilerOption is used to configure the Reconciler.
func WithDefaultRegistry ¶ added in v1.15.0
func WithDefaultRegistry(registry string) ReconcilerOption
WithDefaultRegistry sets the default registry to use.
func WithFetcher ¶
func WithFetcher(f xpkg.Fetcher) ReconcilerOption
WithFetcher specifies how the Reconciler should fetch package tags.
func WithFinalizer ¶
func WithFinalizer(f resource.Finalizer) ReconcilerOption
WithFinalizer specifies how the Reconciler should finalize package revisions.
func WithLogger ¶
func WithLogger(log logging.Logger) ReconcilerOption
WithLogger specifies how the Reconciler should log messages.
func WithNewDagFn ¶
func WithNewDagFn(f dag.NewDAGFn) ReconcilerOption
WithNewDagFn specifies how the Reconciler should build its dependency graph.
Click to show internal directories.
Click to hide internal directories.