package
0.1.10
Repository: https://github.com/netw-device-driver/ndd-core.git
Documentation: pkg.go.dev

# Functions

NewAPIEstablisher creates a new APIEstablisher.
NewImageBackend creates a new image backend.
NewNopHooks creates a hook that does nothing.
NewPackageDependencyManager creates a new PackageDependencyManager.
NewProviderHooks creates a new ProviderHooks.
NewReconciler creates a new package revision reconciler.
PackageRevision sets the package revision for ImageBackend.
SetupProviderRevision adds a controller that reconciles ProviderRevisions.
WithCache specifies how the Reconcile should cache package contents.
WithClientApplicator specifies how the Reconciler should interact with the Kubernetes API.
WithDependencyManager specifies how the Reconciler should manage dependencies.
WithEstablisher specifies how the Reconciler should establish package resources.
WithFinalizer specifies how the Reconciler should finalize package revisions.
WithHooks specifies how the Reconciler should perform pre and post object establishment operations.
WithLinter specifies how the Reconciler should lint a package.
WithLogger specifies how the Reconciler should log messages.
WithNewPackageRevisionFn determines the type of package being reconciled.
WithParser specifies how the Reconciler should parse a package.
WithParserBackend specifies how the Reconciler should parse a package.
WithRecorder specifies how the Reconciler should record Kubernetes events.
WithVersioner specifies how the Reconciler should fetch the current Ndd version.

# Structs

APIEstablisher establishes control or ownership of resources in the API server for a parent.
ImageBackend is a backend for parser.
NopHooks performs no operations.
PackageDependencyManager is a resolver for packages.
ProviderHooks performs operations for a provider package that requires a controller before and after the revision establishes objects.
Reconciler reconciles packages.

# Interfaces

DependencyManager is a lock on packages.
An Establisher establishes control or ownership of a set of resources in the API server by checking that control or ownership can be established for all resources and then establishing it.
A Hooks performs operations before and after a revision establishes objects.

# Type aliases

ReconcilerOption is used to configure the Reconciler.