{"modulePath":"github.com/operator-framework/operator-lifecycle-manager","version":"v0.46.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package operators\n\n## Constants\n\n```go\nconst (\n\tOperatorConditionEnvVarKey = \"OPERATOR_CONDITION_NAME\"\n)\n```\n\n## Variables\n\n```go\nvar (\n\n\t// AddToScheme adds all types necessary for the controller to operate.\n\tAddToScheme = localSchemeBuilder.AddToScheme\n)\n```\n\n## Types\n\n```go\ntype AdoptionReconciler struct {\n\tclient.Client\n\t// contains filtered or unexported fields\n}\n```\nAdoptionReconciler automagically associates Operator components with their respective operator resource.\n\n```go\nfunc NewAdoptionReconciler(cli client.Client, log logr.Logger, scheme *runtime.Scheme) (*AdoptionReconciler, error)\n```\nNewAdoptionReconciler constructs and returns an AdoptionReconciler. As a side effect, the given scheme has operator discovery types added to it.\n\n```go\nfunc (r *AdoptionReconciler) ReconcileClusterServiceVersion(ctx context.Context, req ctrl.Request) (reconcile.Result, error)\n```\nReconcileClusterServiceVersion projects the component labels of a given CSV onto all resources owned by it.\n\n```go\nfunc (r *AdoptionReconciler) ReconcileSubscription(ctx context.Context, req ctrl.Request) (reconcile.Result, error)\n```\nReconcileSubscription labels the CSVs installed by a Subscription as components of an operator named after the subscribed package and install namespace.\n\n```go\nfunc (r *AdoptionReconciler) SetupWithManager(mgr ctrl.Manager) error\n```\nSetupWithManager adds the operator reconciler to the given controller manager.\n\n```go\ntype OperatorConditionGeneratorReconciler struct {\n\tClient client.Client\n\t// contains filtered or unexported fields\n}\n```\nOperatorConditionGeneratorReconciler reconciles a ClusterServiceVersion object and creates an OperatorCondition.\n\n```go\nfunc NewOperatorConditionGeneratorReconciler(cli client.Client, log logr.Logger, scheme *runtime.Scheme) (*OperatorConditionGeneratorReconciler, error)\n```\nNewOperatorConditionGeneratorReconciler constructs and returns an OperatorConditionGeneratorReconciler. As a side effect, the given scheme has operator discovery types added to it.\n\n```go\nfunc (r *OperatorConditionGeneratorReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)\n```\n\n```go\nfunc (r *OperatorConditionGeneratorReconciler) SetupWithManager(mgr ctrl.Manager) error\n```\nSetupWithManager adds the OperatorCondition Reconciler reconciler to the given controller manager.\n\n```go\ntype OperatorConditionReconciler struct {\n\tclient.Client\n\t// contains filtered or unexported fields\n}\n```\nOperatorConditionReconciler reconciles an OperatorCondition object.\n\n```go\nfunc NewOperatorConditionReconciler(cli client.Client, log logr.Logger, scheme *runtime.Scheme) (*OperatorConditionReconciler, error)\n```\nNewOperatorConditionReconciler constructs and returns an OperatorConditionReconciler. As a side effect, the given scheme has operator discovery types added to it.\n\n```go\nfunc (r *OperatorConditionReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)\n```\n\n```go\nfunc (r *OperatorConditionReconciler) SetupWithManager(mgr ctrl.Manager) error\n```\nSetupWithManager adds the OperatorCondition Reconciler reconciler to the given controller manager.\n\n```go\ntype OperatorReconciler struct {\n\tclient.Client\n\t// contains filtered or unexported fields\n}\n```\nOperatorReconciler reconciles a Operator object.\n\n```go\nfunc NewOperatorReconciler(cli client.Client, log logr.Logger, scheme *runtime.Scheme) (*OperatorReconciler, error)\n```\nNewOperatorReconciler constructs and returns an OperatorReconciler. As a side effect, the given scheme has operator discovery types added to it.\n\n```go\nfunc (r *OperatorReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)\n```\n\n```go\nfunc (r *OperatorReconciler) SetupWithManager(mgr ctrl.Manager) error\n```\nSetupWithManager adds the operator reconciler to the given controller manager.\n\n","path":"github.com/operator-framework/operator-lifecycle-manager/pkg/controller/operators","name":"operators","synopsis":"","isRedistributable":true}
