MCPcopy
hub / github.com/operator-framework/operator-sdk / ManagerFactory

Interface ManagerFactory

internal/helm/release/manager_factory.go:35–37  ·  view source on GitHub ↗

ManagerFactory creates Managers that are specific to custom resources. It is used by the HelmOperatorReconciler during resource reconciliation, and it improves decoupling between reconciliation logic and the Helm backend components used to manage releases.

Source from the content-addressed store, hash-verified

33// improves decoupling between reconciliation logic and the Helm backend
34// components used to manage releases.
35type ManagerFactory interface {
36 NewManager(r *unstructured.Unstructured, overrideValues map[string]string, dryRunOption string) (Manager, error)
37}
38
39type managerFactory struct {
40 mgr crmanager.Manager

Callers 5

mainFunction · 0.65
mainFunction · 0.65
ReconcileMethod · 0.65

Implementers 1

managerFactoryinternal/helm/release/manager_factory.

Calls

no outgoing calls

Tested by

no test coverage detected