Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var (
// AddToScheme adds all types necessary for the controller to operate.
AddToScheme = localSchemeBuilder.AddToScheme
)
Functions ¶
This section is empty.
Types ¶
type AdoptionReconciler ¶
AdoptionReconciler automagically associates Operator components with their respective operator resource.
func NewAdoptionReconciler ¶
func NewAdoptionReconciler(cli client.Client, log logr.Logger, scheme *runtime.Scheme) (*AdoptionReconciler, error)
NewAdoptionReconciler constructs and returns an AdoptionReconciler. As a side effect, the given scheme has operator discovery types added to it.
func (*AdoptionReconciler) ReconcileClusterServiceVersion ¶
func (r *AdoptionReconciler) ReconcileClusterServiceVersion(req ctrl.Request) (reconcile.Result, error)
ReconcileClusterServiceVersion projects the component labels of a given CSV onto all resources owned by it.
func (*AdoptionReconciler) ReconcileSubscription ¶
ReconcileSubscription labels the CSVs installed by a Subscription as components of an operator named after the subscribed package and install namespace.
func (*AdoptionReconciler) SetupWithManager ¶
func (r *AdoptionReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager adds the operator reconciler to the given controller manager.
type OperatorReconciler ¶
OperatorReconciler reconciles a Operator object.
func NewOperatorReconciler ¶
func NewOperatorReconciler(cli client.Client, log logr.Logger, scheme *runtime.Scheme) (*OperatorReconciler, error)
NewOperatorReconciler constructs and returns an OperatorReconciler. As a side effect, the given scheme has operator discovery types added to it.
func (*OperatorReconciler) SetupWithManager ¶
func (r *OperatorReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager adds the operator reconciler to the given controller manager.